igb_ptp_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… igb_ptp_hwtstamp_get(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so real talk, this is a page from the Kernel API Manual, and the star of the show is igb_ptp_hwtstamp_get β€” the function that gets you your hardware time stamping config. no cap, it's a whole vibe. let's get into it. ✨


🌸 NAME 🌸

igb_ptp_hwtstamp_get β€” get hardware time stamping config πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

int igb_ptp_hwtstamp_get (struct net_device *netdev , struct
       kernel_hwtstamp_config *config );

like, yes, it returns an int, and yes it takes those two things. iconic signature honestly. πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • netdev β€” the netdev struct 🫢
  • config β€” the timestamping configuration structure ⭐

✨ DESCRIPTION ✨

okay so what this does: it gets the hwtstamp_config settings and hands them back to the user. and here's the slay part β€” instead of trying to deconstruct the settings from the registers (which is giving chaos, giving "not me reading raw hardware"), it just returns a shadow copy of the last known settings. much simpler, much cuter, lowkey genius. πŸ’…


🧚 SEE ALSO 🧚

  • Kernel file ./drivers/net/ethernet/intel/igb/igb_ptp.c πŸ“

and the whole friend group, fr fr:


🫢 that's the whole page bestie β€” no hidden extras, no secret lore, just the timestamping config fetch. go off. πŸ”₯

mwah πŸ’‹ this one came from ./drivers/net/ethernet/intel/igb, dated October 2026, and it's the igb_ptp_hwtstamp_get(9) page β€” periodt. πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from