i40e_add_fdir_ethtool(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_add_fdir_ethtool(9) πŸ’–

okay bestie, welcome to i40e_add_fdir_ethtool β€” that's section 9 of the Kernel API Manual, and she's living her best life in the Intel i40e driver's ethtool era. no cap, this one's a small page but she does exactly what her name says. πŸ¦‹


✨ NAME ✨

i40e_add_fdir_ethtool β€” literally the function that Add/Removes Flow Director filters πŸŽ€


🌈 SYNOPSIS 🌈

int i40e_add_fdir_ethtool (struct i40e_vsi *vsi , struct ethtool_rxnfc
*cmd );

that's it. two args, one int coming back at you. short and iconic. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • vsi β€” a pointer to the targeted VSI. that's the VSI we're aiming at, bestie. 🎯
  • cmd β€” the command to get or set RX flow classification rules. she's the one carrying the actual instructions. ✨

πŸ’œ DESCRIPTION πŸ’œ

okay so the whole vibe here: this function adds Flow Director filters for a specific flow spec based on their protocol. that's the assignment, and she ate. πŸ”₯

and the return situation? it returns 0 if the filters were successfully added. that's the success signal β€” anything else and you know something went sideways. ngl, 0 has never looked so good. πŸ’€


🫢 SEE ALSO 🫢

the friend group is huge, i'm not even exaggerating β€” everyone in this list is family:

like i said. a whole squad. πŸŒˆπŸ‘‘


bestie reminder: this page lives in ./drivers/net/ethernet/intel/i40e β€” that's the source directory, that's the version vibe β€” and it's dated October 2026. πŸ—“οΈπŸ’–

later, legend β€” go add (or remove) some filters, and remember: 0 means slay. βœ¨πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from