__phy_ethtool_get_phy_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the __phy_ethtool_get_phy_stats(9) page from the Kernel API Manual πŸ’– β€” this is the one about retrieving standardized PHY statistics.

__phy_ethtool_get_phy_stats β€” retrieve standardized PHY statistics. slay. ✨

✨ SYNOPSIS ✨

void __phy_ethtool_get_phy_stats (struct phy_device *phydev , struct
       ethtool_eth_phy_stats *phy_stats , struct ethtool_phy_stats
       *phydev_stats );

🌸 ARGUMENTS 🌸

  • phydev β€” pointer to the PHY device. iconic.
  • phy_stats β€” pointer to the ethtool_eth_phy_stats structure.
  • phydev_stats β€” pointer to the ethtool_phy_stats structure. no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

So this function fetches PHY statistics using a kernel-defined interface, all for consistent diagnostics. Unlike phy_ethtool_get_stats, which allows custom stats, __phy_ethtool_get_phy_stats enforces a standardized format for better interoperability. it’s giving standardized, bestie. πŸ’…

πŸ’… SEE ALSO πŸ’…

Kernel file: ./drivers/net/phy/phy.c


mwah πŸ’‹ that’s the whole page, bestie. source/version path: ./drivers/net/phy; date: October 2026; page: __phy_ethtool_get_phy_stats(9). 🫢

πŸ“¦ where this page comes from