STRUCT ETHTOOL_TS_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct ethtool_ts_stats(9) πŸ’–

okay bestie, this page is from the Kernel API Manual, and it’s literally all about struct ethtool_ts_stats β€” the HW timestamping statistics situation. no cap, it’s giving kernel-header realness. ✨

🌸 NAME 🌸

struct ethtool_ts_stats β€” HW timestamping statistics. yep, that’s the whole vibe. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the struct in all its anonymous-struct glory:

       struct ethtool_ts_stats {
           struct {
             u64 pkts;
             u64 onestep_pkts_unconfirmed;
             u64 lost;
             u64 err;
           };
        };

πŸŽ€ Members πŸŽ€

  • {unnamed_struct} β€” anonymous. that’s it, that’s the whole note. πŸ™ˆ
  • pkts β€” Number of packets successfully timestamped by the hardware. the little success counter that could. πŸ’–
  • onestep_pkts_unconfirmed β€” Number of PTP packets with one-step TX timestamping that were sent, but for which the device offers no confirmation whether they made it onto the wire and the timestamp was inserted in the originTimestamp or correctionField, or not. literally the β€œsent, but did it land??” counter. 😭
  • lost β€” Number of hardware timestamping requests where the timestamping information from the hardware never arrived for submission with the skb. the timestamp ghosted the skb, fr fr. πŸ‘»
  • err β€” Number of arbitrary timestamp generation error events that the hardware encountered, exclusive of lost statistics. Cases such as resource exhaustion, unavailability, firmware errors, and detected illogical timestamp values not submitted with the skb are inclusive to this counter. yep, all of that goes here. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go peek at these, bestie β€” the kernel file and the whole extended ethtool friend group:

🫢 ok that’s the whole page β€” source vibes ./include/linux, date October 2026, and the title is struct ethtool_ts_stats(9). bye bestie! πŸ’–

πŸ“¦ where this page comes from