ixgbe_ptp_settime(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ixgbe_ptp_settime β€” the kernel-API-manual page, bestie edition

okay so this is ixgbe_ptp_settime, straight out of the Kernel API Manual, and it's lowkey one of those tiny-but-iconic functions that just does its one job and slays. Sit down, hydrate, let's go 🫢


✨ NAME ✨

ixgbe_ptp_settime β€” that's it, that's the name. The original page gives no extra blurb here, and honestly? Mysterious. Main character energy. We respect it πŸ’…


✨ SYNOPSIS ✨

Not me copying this exactly because it's literally the signature, no notes:

int ixgbe_ptp_settime (struct ptp_clock_info *ptp , const struct
       timespec64 *ts );

Return type int, two args, done. Chef's kiss πŸ”₯


✨ ARGUMENTS ✨

  • ptp β€” the ptp clock structure, aka the whole vibe container for the clock πŸŽ€
  • ts β€” the timespec holding the brand-new time for the cycle counter. This is the new base, the fresh start, the glow-up ⭐

✨ DESCRIPTION ✨

So what it actually does: it resets the timecounter to use a new base value instead of the kernel wall timer value. That's the whole thing. No cap πŸ¦‹

Like, instead of letting the kernel wall timer drive the counter, you hand it your own base value from ts and it happily switches over. Little clock, new foundation, we love to see it πŸ’–


✨ SEE ALSO ✨

Grab a snack, this list is long, and every single one of these is a real sibling you might wanna meet πŸ‘‘

iykyk β€” that's the entire ixgbe ptp friend group and they're all invited to the party 🌈


friendly reminder: this page came from ./drivers/net/ethernet/intel/i... (the source line got a lil truncated in the footer, and we're keeping it exactly as it is, fr fr) πŸ’€

and that's the page!! ty for reading, mwah πŸ’‹

β€” with love, from the Kernel API Manual, dated October 2026, page ixgbe_ptp_settime(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from