i40e_ptp_adjfine(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_ptp_adjfine β€” the Kernel API Manual, but make it make sense

okay bestie, welcome to the i40e_ptp_adjfine(9) page β€” yes it's a kernel API manual page, no you don't have to be scared, I literally got you 🫢


✨ NAME ✨

i40e_ptp_adjfine β€” adjust the PHC frequency. that's it. that's the whole vibe. it nudge-nudges the clock frequency by a teeny delta and honestly? iconic.


🌸 SYNOPSIS 🌸

int i40e_ptp_adjfine (struct ptp_clock_info *ptp , long scaled_ppm );

like, it takes two things and returns an int. we love a simple signature. no cap.


πŸŽ€ ARGUMENTS πŸŽ€

  • ptp β€” the PTP clock structure πŸ’– this is your clock bestie, the actual struct ptp_clock_info * you're messing with.
  • scaled_ppm β€” scaled parts per million adjustment from base. a long, and yes the "scaled" part matters, keep reading πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

so, what does it actually do? it adjusts the frequency of the PHC by the indicated delta from the base frequency. like a little fine-tuning knob for your hardware clock. obsessed. πŸ”₯

and here's the detail you cannot skip: scaled parts per million is ppm with a 16 bit binary fractional field. so scaled_ppm isn't just plain ppm β€” it's ppm with 16 extra bits of fractional goodness tacked on the end. write that down, iykyk ✨


🌈 SEE ALSO 🌈

the kernel file lives right here, for the curious girlies:

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

and now, the friend group. every single one of these, present and accounted for πŸ’… (i40e PTP family reunion, fr fr):

note that i40_ptp_reset_timing_events(9) really is spelled with one e in the i40 part β€” that's the original, don't come for me, i copied it exactly πŸ™ˆ

and that's the page, bestie πŸ’œ the whole thing comes from ./drivers/net/ethernet/intel/i40e and it's dated October 2026 β€” so yeah, future vibes only ⭐ go adjust some frequencies, you main character πŸ§šβ€β™€οΈπŸ’…

πŸ“¦ where this page comes from