i40e_ptp_set_increment(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_ptp_set_increment ✨

okay so bestie, welcome to the kernel API manual page for i40e_ptp_set_increment β€” yes it's a mouthful, no you don't have to say it out loud πŸ’…


πŸ’– NAME πŸ’–

i40e_ptp_set_increment β€” a lil utility function that goes and updates the clock increment rate πŸ•°οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

void i40e_ptp_set_increment (struct i40e_pf *pf );

🌸 ARGUMENTS 🌸

  • pf β€” the board private structure 🫢 (yes, that's really all it says, she's a simple girlie)

πŸŽ€ DESCRIPTION πŸŽ€

okay so picture this: a link change happens, right? and when that goes down, the DMA frequency that drives the 1588 logic also changes πŸ”₯

and because we are absolutely not about to let the PRTTSYN_TIME registers lose their nanoseconds units (iconic of them btw, keeping it consistent), we must update the increment value per clock tick. that's literally the whole job. no cap. πŸ’€


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, bestie:

./drivers/net/ethernet/intel/i40e/i40e_ptp.c

and here's the whole extended fam β€” every single one of them, no skipping, iykyk 🌈:


ok that's the whole page bestie, go forth and keep those nanoseconds accurate πŸ§šπŸ’œ

and finally, the cute lil sign-off: this one comes from ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” mwah, periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from