iavf_add_one_ethtool_stat(9)
Bestie, this is the Kernel API Manual page for iavf_add_one_ethtool_stat(9) β yes, the whole manual entry is about one tiny stat-copying function, and she's lowkey iconic π
β¨
β¨ NAME β¨
iavf_add_one_ethtool_stat β copy the stat into the supplied buffer π«Ά
π SYNOPSIS π
void iavf_add_one_ethtool_stat (u64 *data , void *pointer , const struct
iavf_stats *stat );
πΈ ARGUMENTS πΈ
dataβ the location where the stat value gets stored, bestie π₯pointerβ the basis for where to copy from, like the starting point of the vibe check πstatβ the stat definition itself, periodt π
π¦ DESCRIPTION π¦
So here's the tea: this function copies the stat data defined by the pointer and stat structure pair into the memory supplied as data. It's used to implement iavf_add_ethtool_stats and iavf_add_queue_stats β no cap, those two are literally the main-character callers π
And important caveat, bestie: if the pointer is null, data will be zero'd. Not me warning you about the null case β it's giving "handle it" energy ππ
π SEE ALSO π
The whole crossover-episode cast is right here, fr fr:
- Kernel file:
./drivers/net/ethernet/intel/iavf/iavf_ethtool.c struct iavf_stats(9)__iavf_add_ethtool_stats(9)iavf_add_ethtool_stats(9)iavf_add_queue_stats(9)__iavf_add_stat_strings(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)
mwah π source/version: ./drivers/net/ethernet/intel/iavf β’ date: October 2026 β’ page: iavf_add_one_ethtool_stat(9) β bye bestie, go copy those stats responsibly ππ¦
π¦ 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