ice_flow_assoc_fdir_prof(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_flow_assoc_fdir_prof(9) β€” like, the kernel API manual page, bestie ✨

okay so you found your way into the ice driver docs, iconic of you honestly 🫢 this one's from the Kernel API Manual, section 9 β€” buckle up, it's a short one but it matters.


🌸 NAME 🌸

ice_flow_assoc_fdir_prof β€” adds an FDIR profile for the main/ctrl VSI. that's the whole vibe. no cap πŸ’–


⭐ SYNOPSIS ⭐

int ice_flow_assoc_fdir_prof (struct ice_hw *hw , enum ice_block blk ,
       u16 dest_vsi , u16 fdir_vsi , u64 hdl );

literally just copy that exactly, don't @ me πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW struct. yes the big one. the hardware-y one πŸ’…
  • blk β€” HW block. which block? the block. (enum ice_block, bestie, it's typed)
  • dest_vsi β€” dest VSI. the destination virtual station interface, the one getting the glow-up ✨
  • fdir_vsi β€” fdir programming VSI. this is the VSI doing the FDIR programming, lowkey the main character here πŸ‘‘
  • hdl β€” profile handle. it's a u64, it's a handle, it points at a profile. iykyk

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do? it updates the hardware tables to enable the FDIR profile indicated by hdl for the VSI specified by dest_vsi. and on success, the flow will be enabled. that's it. that's the tea πŸ“

like β€” profile goes in, tables get updated, flow comes out enabled. slay πŸ”₯


πŸ’€ RETURN πŸ’€

0 on success or negative errno on failure. so if you get a negative number back, that's your sign, it's giving error, check your errno bestie 😭


🌈 SEE ALSO 🌈

first up, the source file lives right here:

Kernel file ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c

and now the entire friend group β€” every single one of these, no skipping, we don't do that here πŸ’œ:

like, that's a lot of friends. they all ate. periodt 🧚


ngl, this is a kernel internal, so don't go calling it from userspace and acting surprised when it doesn't work πŸ™ˆ

okay that's the page!! and since we're being thorough, the cute little sign-off at the bottom of the original says this all comes from ./drivers/net/ethernet/intel/ice and it's dated October 2026 β€” so yeah, mark your calendar, bestie, that's the version era πŸ’–βœ¨πŸŽ€ see u in section 9 πŸ¦‹

πŸ“¦ where this page comes from