ef4_nic_describe_stats(9)
okay bestie, welcome to ef4_nic_describe_stats(9) from the Kernel API Manual β this one is giving βtell ethtool which stats are supportedβ energy β¨
π NAME π
ef4_nic_describe_stats β describe supported statistics for ethtool, periodt π
β¨ SYNOPSIS β¨
size_t ef4_nic_describe_stats (const struct ef4_hw_stat_desc *desc ,
size_t count , const unsigned long *mask , u8 **names );
π ARGUMENTS π
descβ Array ofstruct ef4_hw_stat_descdescribing the statistics. it's the main-character data, fr fr π«Άcountβ Length of thedescarray. literally how many entries we're working with π«maskβ Bitmask of which elements ofdescare enabled. the vibe check for what's on πnamesβ Buffer to copy names to, orNULL. The names are copied starting at intervals ofETH_GSTRING_LENbytes. no cap, that spacing matters π
πΈ DESCRIPTION πΈ
Returns the number of visible statistics, i.e. the number of set bits in the first count bits of mask for which a name is defined. that's the whole return-value moment, bestie β count the visible ones and slay β¨
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/sfc/falcon/nic.c ef4_nic_update_stats(9)
byeee π this page lives under ./drivers/net/ethernet/sfc/falcon, dated October 2026, and it's ef4_nic_describe_stats(9) from the Kernel API Manual β iconic, no notes π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms