igb_ptp_set_timestamp_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igb_ptp_set_timestamp_mode β€” a whole little kernel API manual page, bestie

okay so this is the manual page for igb_ptp_set_timestamp_mode(9), straight out of the Kernel API Manual, and we're gonna get into it πŸ’–


🌸 NAME 🌸

igb_ptp_set_timestamp_mode β€” setup hardware for timestamping ✨


πŸŽ€ SYNOPSIS πŸŽ€

int igb_ptp_set_timestamp_mode (struct igb_adapter *adapter , struct
       kernel_hwtstamp_config *config );

like, that's the whole signature, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the networking device structure, aka the whole vibe of the NIC we're messing with 🫢
  • config β€” the hwtstamp configuration, aka the settings telling us what timestamping behaviour we actually want ✨

🌈 DESCRIPTION 🌈

So outgoing time stamping can be enabled and disabled, bestie. Play nice and disable it when requested β€” although ngl it shouldn't cause any overhead when no packet actually needs it 😌

At most one packet in the queue may be marked for time stamping. Why? Because otherwise it would be impossible to tell for sure which packet the hardware time stamp belongs to πŸ’€ like, imagine the chaos. Not the moment.

Incoming time stamping is a whole different thing β€” it has to be configured via the hardware filters. Not all combinations are supported, and in particular the event type has to be specified. Matching the kind of event packet is not supported, with one exception: "all V2 events regardless of level 2 or 4" πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

  • Kernel file ./drivers/net/ethernet/intel/igb/igb_ptp.c

And the whole friend group of related pages, fr fr:


🧚 that's the whole page, no cap. go forth and timestamp responsibly πŸ’–

and that's the sign-off, babes β€” this one lives at ./drivers/net/ethernet/intel/igb, dated October 2026, and yeah we kept every single reference bestie, you're welcome 😭🫢

πŸ“¦ where this page comes from