idpf_get_ts_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– idpf_get_ts_info β€” get device PHC association πŸ’–

okay so this is a page straight out of the Kernel API Manual, and the star of the show is idpf_get_ts_info(9) β€” literally the function that gets you the device's PHC association. yes bestie, that's the whole vibe. it's a little guy with a big job and i'm obsessed πŸŽ€


✨ NAME ✨

idpf_get_ts_info β€” get device PHC association πŸ’…


🌸 SYNOPSIS 🌸

int idpf_get_ts_info (struct net_device *netdev , struct
kernel_ethtool_ts_info *info );

that's it. two args, one int coming back at you. no cap. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure 🫢 like, this is the net device we're talking about, bestie.
  • info β€” the ethtool timestamping info structure πŸ• this is the lil struct where the timestamping tea gets stored.

πŸ‘‘ RETURN πŸ‘‘

0 on success, -errno otherwise. so if it's zero you're slaying, and if it's negative it's giving error energy β€” check your errno, iykyk 😭


🌈 SEE ALSO 🌈

the whole friend group, fr fr πŸ’œ first up, the source:

  • Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c

and then the entire squad (yes, all of them, i'm not skipping a single one πŸ™ˆ):

go read them all, bestie, they're literally all in the same file and they all ate πŸ’€πŸ”₯

πŸŽ€ the cute lil sign-off πŸŽ€

source: ./drivers/net/ethernet/intel/idpf, dated October 2026, and the whole thing answers to the name idpf_get_ts_info(9). mwah, bye bestie, go get that PHC association πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from