phy_ethtool_get_sset_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– phy_ethtool_get_sset_count β€” a Kernel API Manual moment πŸ’–

okay so bestie, we're in the Kernel API Manual today and this page is genuinely a little celebrity. no cap, she's short, she's sweet, and she does exactly one thing. let's get into it πŸŽ€


🌸 NAME 🌸

phy_ethtool_get_sset_count β€” get the number of statistic counters ✨

like, that's the whole job. she counts the counters. iconic behavior honestly πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int phy_ethtool_get_sset_count (struct phy_device *phydev );

copy it exactly like that, spacing and all, i am not letting you get cute with it 🫢


🌈 ARGUMENTS 🌈

  • phydev β€” the phy_device struct πŸ’œ that's the one and only thing she wants from you. hand her the phy_device and she's happy.

⭐ SEE ALSO ⭐

the Kernel file ./drivers/net/phy/phy.c is where the lore lives, and here's the whole friend group (all of them are section 9, obviously). not me listing every single one because every detail stays, periodt πŸ”₯


lowkey the shortest manpage ever and i'm obsessed with her for it. no filler, just vibes and a return value πŸ’€πŸ’–

mwah πŸ’‹ that's the whole page β€” brought to you from ./drivers/net/phy, dated October 2026, in the Kernel API Manual. go forth and count those counters, bestie πŸŒΈπŸ¦‹βœ¨

πŸ“¦ where this page comes from