ixgbe_ptp_gettimex(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ixgbe_ptp_gettimex(9) β€” like, the kernel API manual bestie ✨

okay so this is a page from the Kernel API Manual, and the star of the show is ixgbe_ptp_gettimex πŸ’… buckle up.


🌸 NAME 🌸

ixgbe_ptp_gettimex β€”

ngl the original page literally just trails off after the dash πŸ™ˆ no one-liner, no description, just vibes. so mysterious of it. moving on bestie 🫢


✨ SYNOPSIS ✨

int ixgbe_ptp_gettimex (struct ptp_clock_info *ptp , struct timespec64
*ts , struct ptp_system_timestamp *sts );

that's the whole signature, exactly as written, no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • ptp β€” the ptp clock structure. that's the main character right there πŸ‘‘
  • ts β€” timespec to hold the PHC timestamp πŸ’–
  • sts β€” structure to hold the system time before and after reading the PHC. like, it's doing a little before-and-after photoshoot around the read πŸ“Έ

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: it reads the timecounter and returns the correct value in ns, after converting it into a struct timespec. that's it, that's the whole bit ✨ literally just: grab the counter, convert, hand you the right number. slay.


⭐ SEE ALSO ⭐

the kernel file lives at ./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c β€” go say hi 🧚

and then, bestie, the whole friend group πŸ’œ:


and that's the whole page, bestie!! πŸŽ€ mwah πŸ’‹

sign-off time: this one comes from the source <bold>./drivers/net/ethernet/intel/i...</bold> and it's dated October 2026 β€” so mark your calendar and page ixgbe_ptp_gettimex(9) again real soon ok?? πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from