idpf_get_ts_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… idpf_get_ts_stats β€” Kernel API Manual, bestie edition

okay so this is a page from the Kernel API Manual, and the function we're stanning today is idpf_get_ts_stats(9). strap in πŸŽ€


✨ NAME ✨

idpf_get_ts_stats β€” literally just collecting HW tstamping statistics πŸ•°οΈβœ¨


🌸 SYNOPSIS 🌸

void idpf_get_ts_stats (struct net_device *netdev , struct
       ethtool_ts_stats *ts_stats );

no cap, that's the whole signature. it returns void, so it's giving "i do the work and i don't need applause" energy πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the network interface device structure, aka the whole personality of the NIC you're poking at 🫢
  • ts_stats β€” the HW timestamping stats structure, this is where all the juicy numbers get dropped πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so what does it do? it collects HW timestamping statistics, periodt. and the receipts it gathers are:

  • packets that got successfully timestamped ⭐
  • packets that got discarded because of illegal values πŸ’€
  • packets that got flushed during releasing PTP 🌊
  • packets that got skipped due to a lack of the free index πŸ™ˆ

like, it's a whole vibe check on your hardware timestamping, and every counter has main character energy πŸ”₯


🧚 SEE ALSO 🧚

the kernel file lives at ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c β€” go say hi πŸ‘‹

and here's the whole friend group, fr fr:


and that's the whole page, bestie 🌈 this one's from ./drivers/net/ethernet/intel/idpf, dated October 2026 β€” screenshot it, cite it, slay it πŸ’…βœ¨

πŸ“¦ where this page comes from