phy_ethtool_get_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this page is phy_ethtool_get_stats(9) from the Kernel API Manual, and the name is literally giving: phy_ethtool_get_stats β€” Get the statistic counters. No cap, that's the whole assignment bestie ✨

✨ SYNOPSIS ✨

Here's the signature, character-for-character:

int phy_ethtool_get_stats (struct phy_device *phydev , struct ethtool_stats *stats , u64 *data );

πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the phy_device struct. That's the PHY device bestie 🫢
  • stats β€” what counters to get. Vibe check for which stats we're pulling πŸ’…
  • data β€” where to store the counters. The counters go here, periodt πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/net/phy/phy.c. The whole squad, in order:


That's the whole page, bestie πŸ’– β€” source/version ./drivers/net/phy, dated October 2026, from the Kernel API Manual. Mwah, bye! πŸ’…πŸŒˆ

πŸ“¦ where this page comes from