iavf_set_ethtool_ops(9)
π iavf_set_ethtool_ops(9) π
okay so this is a page from the Kernel API Manual and bestie, it's short but it's mighty. it's literally about handing ethtool the keys to the whole iavf operation. no cap.
β¨ SYNOPSIS β¨
void iavf_set_ethtool_ops (struct net_device *netdev );
it returns void, so likeβ¦ it gives nothing back emotionally π but it does the job.
π«Ά ARGUMENTS π«Ά
netdevβ the network interface device structure. that's the netdev, the one, the main character. this is the struct we're about to decorate.
πΈ DESCRIPTION πΈ
okay so here's the tea β β this function sets the ethtool ops struct in our netdev, so that ethtool can call our functions. that's it. that's the whole vibe.
it's giving "handing over the aux cord" π§ β like, hey ethtool, here's the ops struct, call our functions whenever you need, we trust you, iykyk.
fr fr that's the entire description. sometimes the most iconic baddies are the shortest ones. periodt. π
π¦ SEE ALSO π¦
the friend group is huge, so buckle up bestie, we're going through the whole roster π:
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_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)
like i said. huge. 43 siblings and every single one of them is invited to the function call π
also lowkey the kernel file lives right here:
./drivers/net/ethernet/intel/iavf/iavf_ethtool.c
that's where the struct squad actually hangs out π¦
and that's the whole page bestie, love that for us. written in the ./drivers/net/ethernet/intel/iavf directory-namespace era, dated October 2026 β future girl summer πβ¨ mwah, go set those ops ππ
π¦ 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