hns_get_ethtool_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ hns_get_ethtool_stats(9) ✨

okay so bestie, welcome to the hns_get_ethtool_stats(9) page πŸ’– this is a Kernel API Manual moment, and it's giving "one tiny function that hands you The Numbers." let's get into it 🫢


🌸 NAME 🌸

hns_get_ethtool_stats β€” get detail statistics. that's it, that's the whole job. it gets you the detailed stats. slay πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void hns_get_ethtool_stats (struct net_device *netdev , struct ethtool_stats *stats , u64 *data );

heads up: it returns void β€” no return value era, it just does the thing and dips 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the net device. literally the network device we're talking about, main character energy πŸ‘‘
  • stats β€” statistics info. this is the stats struct carrying the info about the stats πŸ“
  • data β€” statistics data. the actual numbers land here, no cap πŸ”₯

πŸ’œ SEE ALSO πŸ’œ

the kernel file lives right here, go peek:

./drivers/net/ethernet/hisilicon/hns/hns_ethtool.c

and here's the whole friend group, all 19 of them, all iconic ✨


ngl bestie, if you're ever lost in a sea of hns_* ethtool functions, this list is your group chat. screenshot it πŸ“Έ

aaaand that's the page!! this one's from the Kernel API Manual, section 9, source path is that truncated li'l guy ./drivers/net/ethernet/hisilic... and it's dated October 2026 β€” so go forth and get those detail statistics, mwah πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from