__iavf_add_stat_strings(9)
π __iavf_add_stat_strings(9) β like, the Kernel API Manual one, bestie
okay so this is a kernel API page, no cap, and it's about copying stat strings into an ethtool buffer. it's giving "small helper, huge responsibility" energy and honestly? we're obsessed. π
β¨ SYNOPSIS β¨
void __iavf_add_stat_strings (u8 **p , const struct iavf_stats stats[] ,
const unsigned int size , ... );
like, yes, that's the whole thing. she's little but she's mighty πͺ
πΈ ARGUMENTS πΈ
pβ the buffer that ethtool was like "here u go" and handed over πstatsβ the stat definitions array, aka the lore of what counts as a statsizeβ how big the stats array is, fr fr, we need to know π...β variable arguments, the mysterious ones, main character energy honestly π¦
π DESCRIPTION π
so basically: format the strings that stats describes, then copy them into the buffer that p is pointing at. that's it. that's the job. she formats, she copies, she slays. periodt β¨
ngl it's a tiny function, but don't sleep on it β every single stat string you see came through here at some point π
π¦ SEE ALSO π¦
the whole friend group, in order, no one gets left behind π«Ά:
Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c and struct iavf_stats(9), iavf_add_one_ethtool_stat(9), __iavf_add_ethtool_stats(9), iavf_add_ethtool_stats(9), iavf_add_queue_stats(9), iavf_add_stat_strings(9), iavf_get_link_ksettings(9), iavf_get_sset_count(9), iavf_get_ethtool_stats(9), iavf_get_stat_strings(9), iavf_get_strings(9), iavf_get_msglevel(9), iavf_set_msglevel(9), iavf_get_drvinfo(9), iavf_get_ringparam(9), iavf_set_ringparam(9), __iavf_get_coalesce(9), iavf_get_coalesce(9), iavf_get_per_queue_coalesce(9), iavf_set_itr_per_queue(9), __iavf_set_coalesce(9), iavf_set_coalesce(9), iavf_set_per_queue_coalesce(9), iavf_fltr_to_ethtool_flow(9), iavf_ethtool_flow_to_fltr(9), iavf_is_mask_valid(9), iavf_parse_rx_flow_user_data(9), iavf_fill_rx_flow_ext_data(9), iavf_get_ethtool_fdir_entry(9), iavf_get_fdir_fltr_ids(9), iavf_add_fdir_fltr_info(9), iavf_add_fdir_ethtool(9), iavf_del_fdir_ethtool(9), iavf_set_rxnfc(9), iavf_get_rx_ring_count(9), iavf_get_rxnfc(9), iavf_get_channels(9), iavf_set_channels(9), iavf_get_rxfh_key_size(9), iavf_get_rxfh_indir_size(9), iavf_get_rxfh(9), iavf_set_rxfh(9), iavf_set_ethtool_ops(9)
like yeah that's a lot of friends but they're all iconic, iykyk ππ
π sign-off π
this page lives in ./drivers/net/ethernet/intel/iavf, and it's stamped October 2026 β so yeah, future-core of it all. go forth and copy those stat strings, bestie, you've got this π
πβ
π¦ 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