iavf_get_rxnfc(9)
๐ iavf_get_rxnfc โ the kernel manpage, but make it iconic
okay so bestie, welcome to iavf_get_rxnfc, a kernel API page from the iavf fam (that's the Intelยฎ Ethernet Adaptive Virtual Function driver situation, iykyk). this one's all about getting your RX flow classification rules โ like, literally fetching the tea on how incoming packets get sorted. no cap, it's a whole vibe. let's get into it ๐ซถ
โจ NAME โจ
iavf_get_rxnfc โ the command to get RX flow classification rules ๐
like, it goes and asks "hey bestie, what flow rules do we have going on in here?" and comes back with the answers. periodt.
๐ SYNOPSIS ๐
int iavf_get_rxnfc (struct net_device *netdev, struct ethtool_rxnfc *cmd, u32 *rule_locs);
that's the whole signature, bestie โ three little arguments, one int coming back. she's compact, she's efficient, she's giving main character energy ๐ฅ
๐ธ ARGUMENTS ๐ธ
netdevโ the network interface device structure. this is the whole device vibe check, the thing that represents your network interface. she's the main character of the network stack, fr fr ๐ฆcmdโ theethtool rxnfccommand. this is the actual request you're asking for, the instructions, the "what do you want to know" energy. it's giving very much the group-chat question ๐rule_locsโ a pointer to store rule locations. so like, you hand it a place to put the locations and it fills that in. it's the "here's a lil basket, put the rule locations in it" moment ๐ง
โญ RETURN โญ
0on success โ slay, it worked ๐-EOPNOTSUPPif the command is not supported. which, okay, sometimes the vibe is just not there, and that's what this means. no drama, just not supported ๐
๐ SEE ALSO ๐
okay this is the part where the page goes full "let me introduce you to my entire friend group" energy ๐ญ and honestly? iconic behaviour. here's the whole crew:
Kernel file ./drivers/net/ethernet/intel/iavf/iavf_ethtool.c โ where all this magic lives, bestie, go read it if you want the lore ๐
and the struct/functions:
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_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)
like, look at that roster. that's a whole friend group right there ๐ซถ๐
quick vibe note: the page lives in./drivers/net/ethernet/intel/iavf, and this whole thing is dated October 2026. source/version vibes:iavf_get_rxnfc(9). okay that's the sign-off bestie, 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