i40e_add_del_fdir_sctp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ i40e_add_del_fdir_sctp ✨

okay so this is a page from the Kernel API Manual, section 9 β€” yes, the big serious kernel one β€” and it's literally just about one function that's lowkey the SCTP plug in the Intel i40e Flow Director pipeline 🫢


πŸ’… NAME πŸ’…

i40e_add_del_fdir_sctp β€” adds or removes SCTPv4 Flow Director filters for a specific flow spec. that's it, that's the whole job. add filter, delete filter, SCTPv4, flow spec. iconic behavior honestly 🌸


πŸŽ€ SYNOPSIS πŸŽ€

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

like, four args, one int back. no drama, no surprises, we love a clean signature ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • vsi β€” pointer to the targeted VSI. this is the vibe you're pointing at. your main character VSI πŸ‘‘
  • fd_data β€” the flow director data required for the FDir descriptor. basically the whole personality packet you're handing over 🎁
  • add β€” true adds a filter, false removes it. one bool, two destinies πŸ’€
  • ipv4 β€” true is v4, false is v6. yes bestie, despite the function name saying SCTPv4, this flag is fr fr down here being all "v4 or v6?" 🌈

⭐ DESCRIPTION ⭐

Returns 0 if the filters were successfully added or removed. that's the entire description and honestly? slay, no notes. zero means we ate πŸ”₯

ngl this is a very short DESCRIPTION section and i am not going to invent extra lore for it. the manpage said 0, we're saying 0, periodt πŸ’…

🌸 SEE ALSO 🌸

sooooo this part is long. like, unreasonably long. like the author just opened ./drivers/net/ethernet/intel/i40e/i40e_txrx.c and said "all of it." and you know what? we're listing all of it. every single one. no skipping, no summarizing, we don't do that here πŸ’–

Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_txrx.c

and the whole friend group:

(and yes, the two double-underscore girlies __i40e_maybe_stop_tx(9) and __i40e_chk_linearize(9) get their underscores preserved. we respect the prefix πŸ™ˆ)


okay bye bestie, go add or remove an SCTPv4 Flow Director filter for a specific flow spec responsibly πŸ§šπŸ’œ

this lil page came out of ./drivers/net/ethernet/intel/i40e and is dated October 2026 β€” so it's technically from the future, which is very main character of it ngl. stay hydrated, drink water, and remember that returning 0 is the goal πŸ“βœ¨


πŸ“¦ where this page comes from