i40e_ptp_adjtime(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 i40e_ptp_adjtime(9) β€” the Kernel API Manual glow-up πŸŽ€

okay so bestie, you're in the Kernel API Manual and this page is all about i40e_ptp_adjtime, which is genuinely one of the most satisfying little functions in the i40e PTP universe. it's giving "small function, big responsibility" energy. let's go πŸ’…


✨ NAME ✨

i40e_ptp_adjtime β€” adjust the PHC time. that's it, that's the whole vibe. nudge the clock, slay.


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_ptp_adjtime (struct ptp_clock_info *ptp , s64 delta );

πŸ’– ARGUMENTS πŸ’–

  • ptp β€” the PTP clock structure, aka the main character of this whole operation πŸ‘‘
  • delta β€” the offset in nanoseconds you wanna adjust the PHC time by. it's literally a signed 64-bit number so yeah, you can go backwards too, we don't judge πŸ™ˆ

🌈 DESCRIPTION 🌈

so here's the tea: this function adjusts the current clock time by a delta that you specify in nanoseconds. that's the whole bit. no cap, no extra steps β€” you hand it a ptp clock and a delta, and it shifts the PHC time by exactly that much. tiny function, enormous "i'm the reason your timestamps line up" energy ⭐

ngl, the units matter β€” delta is in nanoseconds, so if you're thinking in seconds you're gonna have a bad time πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

the whole i40e PTP friend group, no one gets left out 🫢

iykyk, that's the full set β€” every single one of them, periodt πŸ’œ


and that's the page! this one lives under ./drivers/net/ethernet/intel/i40e and it's dated October 2026, so like… future icon behavior fr fr 🧚 mwah, go adjust some clocks bestie πŸ’…βœ¨

πŸ“¦ where this page comes from