iavf_get_ethtool_fdir_entry(9)
π iavf_get_ethtool_fdir_entry β the manual page, but make it make sense
okay so before we even start: this is iavf_get_ethtool_fdir_entry(9), straight out of the Kernel API Manual, and bestieβ¦ she's a short one, but she eats. β¨
πΈ NAME πΈ
iavf_get_ethtool_fdir_entry β fills the ethtool structure with Flow Director filter data π
like. that's the whole job. that's her whole personality. and honestly? iconic.
π¦ SYNOPSIS π¦
int iavf_get_ethtool_fdir_entry (struct iavf_adapter *adapter , struct
ethtool_rxnfc *cmd );
yes the line break in the middle of the parameter list is real, that's not me being chaotic, that's just how the page is laid out π«Ά. copy it exactly, no cap.
π ARGUMENTS π
adapterβ the VF adapter structure that contains the filter list. like okay so this is where all the filter deets are living, she's the one holding the list, main character energy tbh πcmdβ the ethtool command data structure that receives the filter data. lowkey she's just here to be filled up with the good stuff π
β¨ DESCRIPTION β¨
Returns 0 as expected for success by ethtool. that's it. that's the description. she's a one-liner and she knows it π
ngl this is the shortest DESCRIPTION section I've ever seen and I respect it SO much β no waffling, no yapping, just vibes and a return value π
π₯ SEE ALSO π₯
okay BESTIE this is where it gets real, because the list is LONG and I'm not skipping a single one of them. the kernel file lives at ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c and here's the full squad:
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_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)
forty-three of them. forty-three!! and yes I counted, because that's the kind of friend I am π read them, love them, that's the friend group, that's the group chat.
okay so wrapping up β the whole thing lives under ./drivers/net/ethernet/intel/iavf, it's dated October 2026, and it's filed as iavf_get_ethtool_fdir_entry(9) in the Kernel API Manual. slay, go read your kernel source bestie, and remember: it returns 0. periodt. πππ
π¦ 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