iavf_get_rxnfc(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… 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 โ€” the ethtool rxnfc command. 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 โญ

  • 0 on success โ€” slay, it worked ๐Ÿ’…
  • -EOPNOTSUPP if 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:

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