ice_set_tcam_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so we're flipping through the Kernel API Manual, section 9, and today's main character is ice_set_tcam_flags β€” yes bestie, the little function that sets the TCAM flag don't-care mask. tiny name, huge responsibilities. let's get into it πŸ’…

✨ NAME ✨

ice_set_tcam_flags β€” set TCAM flag don't care mask

like literally that's the whole job description and honestly? she ate. it sets the flag don't-care mask for TCAM, periodt. πŸŽ€


🌸 SYNOPSIS 🌸

void ice_set_tcam_flags (u16 mask , u8 dc_mask[ICE_TCAM_KEY_VAL_SZ] );

it returns void, so no exit-status drama, no "did it work" suspense β€” it just does the thing and moves on. main character energy fr fr ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mask β€” the mask for flags. that's the vibe check for which flags we're talking about, u16 style. πŸ’–
  • dc_mask β€” a pointer to the don't care mask. yes, the don't care mask β€” she's literally named for not caring and we respect her for it. it's typed as u8 dc_mask[ICE_TCAM_KEY_VAL_SZ], so ICE_TCAM_KEY_VAL_SZ is the size of that array, iykyk. 🫢
heads up bestie: dc_mask is a pointer, so whatever it points at is what gets written β€” this is not a "pass a nice safe copy" situation. πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

first off, the source of truth lives right here in the kernel tree:

  • ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c

and now the extended friend group β€” the whole ice_flex_pipe.c cast, no cap, every single one:

like, that's the whole group chat. πŸ’€ every single one is there, no gatekeeping, no skipped names.


and that's the page!! straight out of ./drivers/net/ethernet/intel/ice, dated October 2026, served up as ice_set_tcam_flags(9) in the Kernel API Manual. go set some don't-care masks, bestie β€” slay πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from