i40e_program_fdir_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_program_fdir_filter β€” from the Kernel API Manual (kernel land's own little bible) πŸ’–

okay so bestie, gather round, because this one is a whole function and she does exactly one (1) job: programming a Flow Director filter. that's it, that's the vibe. no cap. πŸŽ€


✨ NAME ✨

i40e_program_fdir_filter β€” literally programs a Flow Director filter. that's the whole personality. πŸ’…


🌸 SYNOPSIS 🌸

int i40e_program_fdir_filter (struct i40e_fdir_filter *fdir_data , u8 *raw_packet , struct i40e_pf *pf , bool add );

like, she returns an int, she takes four things, and she is serving. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • fdir_data β€” the packet data that's gonna become your filter parameters. this is the main character of the operation, honestly. πŸ‘‘
  • raw_packet β€” the pre-allocated packet buffer for FDir. it's already sitting there waiting for you, no allocations needed, we love a prepared queen. ✨
  • pf β€” The PF pointer. yes, capital T capital P capital F, respect her. 🫢
  • add β€” True for add/update, False for remove. binary queen, two moods only: put it in or take it out. πŸ’€

🌈 SEE ALSO 🌈

okay this next part is long, so buckle up, bestie β€” she has a LOT of friends and she wants you to meet every single one of them. no skipping, we're doing the full roll call. 🧚

first up, the actual source file, living its best life at ./drivers/net/ethernet/intel/i40e/i40e_txrx.c, plus:

that's the whole crew. every single one. don't leave anyone on read. πŸ˜­πŸ’œ


mwah, that's the page! 🫢 this lil beauty comes from ./drivers/net/ethernet/intel/i40e, stamped October 2026, and she answers to the manual name Kernel API Manual. go forth and program those filters, bestie β€” periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from