idpf_add_stat_strings(9)
π idpf_add_stat_strings β the Kernel API Manual moment
okay so bestie, welcome to idpf_add_stat_strings(9), the Kernel API Manual page you didn't know you needed π. Short version: it copies port stat strings into an ethtool buffer. That's the whole vibe. No cap.
β¨ NAME β¨
idpf_add_stat_strings β Copy port stat strings into ethtool buffer π«Ά
Like, literally that's the job. Copy. Port stat strings. Into the ethtool buffer. Iconic of it.
π SYNOPSIS π
void idpf_add_stat_strings (u8 **p , const struct idpf_stats *stats ,
const unsigned int size );
Three args, returns void, does exactly one thing. Main character energy tbh π.
π¦ ARGUMENTS π¦
pβ the ethtool buffer π. This is where the strings go. Pointers to pointers, we love a double pointer moment.statsβ thestructto copy from πΈ. It'sconst struct idpf_stats *, so hands off, no touchy.sizeβ the size of the stats array you're copying from β¨. Gotta know how many, or you're just guessing, and guessing is not the vibe.
π§ SEE ALSO π§
Alright bestie, buckle up, this list is long and honestly kind of iconic π₯. Every single one, in order, no skipping:
- Kernel file
./drivers/net/ethernet/intel/idpf/idpf_ethtool.cβ the home base, the source of truth, the place where it all happens π idpf_get_rx_ring_count(9)πidpf_get_rxnfc(9)πidpf_add_flow_steer(9)πidpf_del_flow_steer(9)πidpf_get_rxfh_key_size(9)πidpf_get_rxfh_indir_size(9)πidpf_get_rxfh(9)πidpf_set_rxfh(9)πidpf_get_channels(9)πidpf_set_channels(9)πidpf_get_ringparam(9)πidpf_set_ringparam(9)πstruct idpf_stats(9)π (the struct itself! the onestatspoints at!)__idpf_add_qstat_strings(9)πidpf_add_qstat_strings(9)πidpf_get_stat_strings(9)πidpf_get_strings(9)πidpf_get_sset_count(9)πidpf_add_one_ethtool_stat(9)πidpf_add_queue_stats(9)πidpf_add_empty_queue_stats(9)πidpf_add_port_stats(9)πidpf_collect_queue_stats(9)πidpf_get_ethtool_stats(9)πidpf_find_rxq_vec(9)πidpf_find_txq_vec(9)π__idpf_get_q_coalesce(9)πidpf_get_q_coalesce(9)πidpf_get_coalesce(9)πidpf_get_per_q_coalesce(9)π__idpf_set_q_coalesce(9)πidpf_set_q_coalesce(9)πidpf_set_coalesce(9)πidpf_set_per_q_coalesce(9)πidpf_get_msglevel(9)πidpf_set_msglevel(9)πidpf_get_link_ksettings(9)πidpf_get_timestamp_filters(9)πidpf_get_ts_info(9)πidpf_get_ts_stats(9)πidpf_set_ethtool_ops(9)π
ngl if you made it to the bottom of that list you deserve a little treat π periodt.
kisses bestie, that's the page πβ¨ This one lives in ./drivers/net/ethernet/intel/idpf and the version stamp says October 2026 β go off, future queen ππ¦.
π¦ 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