i40e_add_del_fdir_ip(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 i40e_add_del_fdir_ip 🌸

ok so this is a page from the Kernel API Manual β€” yes, the kernel has lore and yes it has man pages, we love a documented king πŸ’…

✨ NAME ✨

i40e_add_del_fdir_ip β€” bestie, this is the one that adds or removes IPv4 Flow Director filters for a specific flow spec. that's the whole vibe. filter in, filter out, no cap πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_add_del_fdir_ip (struct i40e_vsi *vsi , struct i40e_fdir_filter
*fd_data , bool add , bool ipv4 );

literally just four lil things and it does the thing ✨

πŸ“ ARGUMENTS πŸ“

  • vsi β€” pointer to the targeted VSI. it's giving "which interface are we doing this to" energy 🫢
  • fd_data β€” the flow director data required for the FDir descriptor. the whole payload, the main character honestly πŸ‘‘
  • add β€” true adds a filter, false removes it. binary queen, two moods only πŸ’€
  • ipv4 β€” true is v4, false is v6. (yes, on an _ip function. we don't ask questions, we just pass the bool πŸ™ˆ)

πŸ”₯ DESCRIPTION πŸ”₯

Returns 0 if the filters were successfully added or removed. that's it. 0 = slay, we ate, everyone's fine 🌈

ngl bestie, the doc is short but the meaning is deep β€” 0 back means the add or the remove went through, depending on what you passed in add.

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c β€” go read the source, iykyk πŸ“–βœ¨

and now the friend-group, the whole entire extended cast, in order, no one left out, because we don't do that here:

that's the whole roster, i counted, don't come for me πŸ˜­πŸ’–


ok and for the sign-off 🫢 this one lives in the kernel tree at ./drivers/net/ethernet/intel/i40e, it's dated October 2026, and you're reading it in the Kernel API Manual. mwah, go add some filters bestie πŸ’…βœ¨

πŸ“¦ where this page comes from