iavf_get_channels(9)
π iavf_get_channels β Kernel API Manual, section 9 π
okay so bestie, we're in the iavf_get_channels(9) era and honestly? it's a little one. a tiny icon. she does exactly one thing and she does it cute, so let's get into it β¨
πΈ NAME πΈ
iavf_get_channels β literally just gets the number of channels the device can support. that's the whole job. main character energy, minimal plot π
β¨ SYNOPSIS β¨
void iavf_get_channels (struct net_device *netdev , struct
ethtool_channels *ch );
no return value, she just goes in there and fills stuff out. no cap π«Ά
π¦ ARGUMENTS π¦
netdevβ the network interface device structure, aka the whole vibe of the device itselfchβ the channel information structure, aka the little form she fills in for you
π DESCRIPTION π
so for the purposes of our device, we only use combined channels β like, a tx/rx queue pair, they're glued together, that's the whole thing, we don't do solo acts π
and then β plot twist β she reports one extra channel to match our "other" MSI-X vector. yes queen, one bonus channel, matching the vibe of that extra vector. it's giving "plus one" π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/intel/iavf/iavf_ethtool.c 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_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_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, the whole friend group showed up for this one. love that for her π
and that's the page!! brought to you by ./drivers/net/ethernet/intel/iavf, dated October 2026, sitting pretty in section 9 of the Kernel API Manual. mwah πβ¨πΈ
π¦ 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