idpf_add_qstat_strings(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the idpf_add_qstat_strings(9) page from the Kernel API Manual β€” this is the whole tea on copying queue stat strings into an ethtool buffer. πŸ’–βœ¨

🌸 NAME 🌸

idpf_add_qstat_strings β€” copy queue stat strings into ethtool buffer πŸŽ€


✨ SYNOPSIS ✨

idpf_add_qstat_strings (p , stats , type , idx );

πŸ’… ARGUMENTS πŸ’…

  • p β€” ethtool supplied buffer 🫢
  • stats β€” stat definitions array
  • type β€” stat type
  • idx β€” stat idx

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: format and copy the strings described by the const static stats value into the buffer pointed at by p. πŸ’–

Heads up though, bestie: the parameter stats is evaluated twice, so parameters with side effects should be avoided. No cap, that matters. 😭

Also, stats must be an array such that ARRAY_SIZE can be called on it. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/intel/idpf/idpf_ethtool.c

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), __idpf_add_qstat_strings(9), idpf_add_stat_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)


mwah πŸ’‹ that’s the idpf_add_qstat_strings(9) situation, signed off from ./drivers/net/ethernet/intel/idpf, dated October 2026 β€” periodt. 🫢🌈

πŸ“¦ where this page comes from