ixgbe_ptp_hwtstamp_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ixgbe_ptp_hwtstamp_get(9) πŸ’–

okay so this is a page straight out of the Kernel API Manual β€” yes, that manual β€” and it's all about the Intel ixgbe driver's hardware timestamping vibes. buckle up bestie, it's short but it slays πŸ•βœ¨


🌸 NAME 🌸

ixgbe_ptp_hwtstamp_get β€” get the current hardware timestamping configuration. that's it, that's the whole job πŸ’…


✨ SYNOPSIS ✨

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

like, it takes two things and hands you back an int. classic. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” pointer to the net device structure. the actual network device we're talking about, no cap πŸ¦‹
  • config β€” the timestamping configuration structure. this is where the answers go πŸ“

πŸ’œ DESCRIPTION πŸ’œ

so this function returns the current timestamping settings, right? and here's the iconic part: instead of trying to deconstruct registers to fill in the values (which sounds like an absolute nightmare, ngl 😭), it simply keeps a copy of the old settings around, and returns a copy when requested. lowkey genius, highkey efficient. the way that it just remembers things instead of doing register archaeology? obsessed. πŸ”₯


🌈 SEE ALSO 🌈

the whole friend group is here, bestie β€” every single one of them πŸ‘‘


πŸ’‘ friendly reminder: this page lives at ./drivers/net/ethernet/intel/i... in the kernel source tree β€” you'll find the whole saga there. it's giving "read the source, bestie" energy 🧚

that's the whole page, periodt. πŸ’€πŸ’– sourced from the kernel docs, version vibes dated October 2026, and honestly? iconic of them. stay timestamped, bestie πŸ•πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from