iavf_ptp_set_ts_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iavf_ptp_set_ts_config(9) β€” like, the timestamping glow-up page

okay bestie, welcome to the Kernel API Manual ✨ this one's all about iavf_ptp_set_ts_config, and honestly? it's a shortie but a goodie. let's get into it πŸŽ€


🌸 NAME 🌸

iavf_ptp_set_ts_config β€” Set timestamping configuration πŸ’« that's literally the whole vibe. it sets the ts config. iconic.


✨ SYNOPSIS ✨

int iavf_ptp_set_ts_config (struct iavf_adapter *adapter , struct
       kernel_hwtstamp_config *config , struct netlink_ext_ack *extack );

three args, one int coming back atcha 🫢 no cap.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adapter β€” the private adapter structure πŸ’œ like, the main character of the whole driver ngl
  • config β€” pointer to a kernel_hwtstamp_config structure πŸŽ€ this is the config you're handing over
  • extack β€” pointer to a netlink_ext_ack structure ✨ the extack bestie, there for the netlink receipts

πŸ”₯ DESCRIPTION πŸ”₯

Program the requested timestamping configuration to the device. periodt. πŸ’… that's it, that's the whole job β€” you take the requested timestamping config and you program it into the device. no extra lore, no secret side quests, just straight-up config delivery 🚚✨


⭐ RETURN ⭐

  • 0 on success πŸŽ‰ slay
  • a negative error code otherwise 😭 it's giving "something went sideways", but at least it tells you with a negative number, iykyk

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file we're living in: ./drivers/net/ethernet/intel/iavf/iavf_ptp.c 🧚

and the whole friend group, fr fr β€” go say hi to:

like, the whole cast 🌈 and yes, they all get (9) because they're kernel-functions, we don't make the rules πŸ’€


mwah πŸ’‹ that's the page!! sourced straight from ./drivers/net/ethernet/intel/iavf, dated October 2026 β€” so you know it's fresh πŸ“ and it's all about iavf_ptp_set_ts_config(9), the one and only πŸ‘‘βœ¨πŸ’–

πŸ“¦ where this page comes from