ixgbe_ptp_se...mestamp_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ixgbe_ptp_se...mestamp_mode(9) β€” like, the whole page, bestie πŸ’–

okay so this is a page from the Kernel API Manual, and it's all about ixgbe_ptp_set_timestamp_mode, which lowkey is the function that sets your hardware up for whatever timestamp mode you asked for. yes bestie, PTP. hardware timestamps. we're doing this. πŸ•°οΈβœ¨


✨ NAME ✨

ixgbe_ptp_set_timestamp_mode β€” setup the hardware for the requested mode πŸŽ€


🌸 SYNOPSIS 🌸

int ixgbe_ptp_set_timestamp_mode (struct ixgbe_adapter *adapter , struct
       kernel_hwtstamp_config *config );

like, it returns an int, takes two things, that's the whole vibe. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the private ixgbe adapter structure. your very own adapter. she's private, she's ixgbe, she's everything. πŸ’…
  • config β€” the hwtstamp configuration requested. this is the ask. the dream. the configuration. ✨

πŸ”₯ DESCRIPTION πŸ”₯

okay so first up: outgoing time stamping can be enabled and disabled. play nice and disable it when it's requested, okay? even though like, it shouldn't cause any overhead when no packet actually needs it. no cap. and here's the rule that matters: at most one packet in the queue may be marked for time stamping. why?? because otherwise it'd be straight-up impossible to tell for sure which packet the hardware time stamp belongs to. 😭 one packet. one stamp. don't be greedy.

Incoming time stamping is a whole different situation β€” it has to be configured via the hardware filters. and ngl, not all combinations are supported. in particular, the event type has to be specified. also matching the kind of event packet? not supported. the one exception, the icon, the main character: "all V2 events regardless of level 2 or 4". periodt. πŸ‘‘

and here's a thing you need to know: since hardware always timestamps Path delay packets when timestamping V2 packets, regardless of the type specified in the register β€” only use V2 Event mode. seriously. this more accurately tells the user what the hardware is going to do anyways. it's giving honesty. it's giving transparency. slay 🌈


⭐ NOTE ⭐

this may modify the hwtstamp configuration towards a more general mode, if required to support the specifically requested mode. πŸ™ˆ like bestie, she might generalize your config to make your specific ask work. that's the deal.

πŸŽ€ SEE ALSO πŸŽ€

Kernel file ./drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c β€” the source, the origin, the mothership. 🧚

and now the whole friend group, in order, no skips, no cuts:

iykyk πŸ’œ


okay that's the page!! mwah πŸ’‹ this one came from ./drivers/net/ethernet/intel/i... and it's dated October 2026, and yeah the title's still ixgbe_ptp_se...mestamp_mode(9) because that's her full government name. bye bestie, go timestamp something πŸ“βœ¨πŸ«Ά

πŸ“¦ where this page comes from