i40e_add_del_fdir_udp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_add_del_fdir_udp (9) β€” Kernel API Manual πŸ¦‹

okay bestie, welcome to the i40e_add_del_fdir_udp page ✨ this is the little kernel API beauty that handles Add/Remove UDP filters for you, and honestly? it's giving "small function, big responsibilities" πŸ’…


🌸 NAME 🌸

i40e_add_del_fdir_udp β€” Add/Remove UDP filters πŸŽ€


✨ SYNOPSIS ✨

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

🫢 ARGUMENTS 🫢

  • vsi β€” pointer to the targeted VSI, like… the VSI we're doing this whole thing for πŸ‘‘
  • fd_data β€” the flow director data required for the FDir descriptor πŸ¦‹ this is the actual filter lore
  • add β€” true adds a filter, false removes it ✨ yes it's literally that simple
  • ipv4 β€” true is v4, false is v6 🌈 pick your protocol era

πŸ’œ DESCRIPTION πŸ’œ

Returns 0 if the filters were successfully added or removed πŸŽ‰ that's the whole vibe check, no cap.

lowkey iconic that the return value is just sitting there being all "0 means we ate" πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_txrx.c β€” go read the source bestie, it's right there πŸ“–


that's the whole page bestie, you ate it up fr fr πŸ’…βœ¨

source: ./drivers/net/ethernet/intel/i40e 🌸 date: October 2026 πŸŽ€ later bestie, go add or remove those UDP filters responsibly πŸ‘‘

πŸ“¦ where this page comes from