ice_tcam_write_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

Okay so welcome to ice_tcam_write_entry(9) in the Kernel API Manual, bestie πŸ’–. This function does one iconic thing: write TCAM entry. That's the whole name, no cap, and yes it's giving very specific kernel-energy.


✨ SYNOPSIS ✨

The signature is literally right here, every token present and accounted for:

int ice_tcam_write_entry (struct ice_hw *hw , enum ice_block blk , u16 idx , u8 prof_id , u8 ptg , u16 vsig , u8 cdid , u16 flags , u8 vl_msk[ICE_TCAM_KEY_VAL_SZ] , u8 dc_msk[ICE_TCAM_KEY_VAL_SZ] , u8 nm_msk[ICE_TCAM_KEY_VAL_SZ] );

πŸŽ€ ARGUMENTS πŸŽ€

Here is the whole cast, and we are not skipping a single one πŸ’…:

  • hw β€” pointer to the HW struct
  • blk β€” the block in which to write profile ID to
  • idx β€” the entry index to write to
  • prof_id β€” profile ID
  • ptg β€” packet type group (PTG) portion of key
  • vsig β€” VSIG portion of key
  • cdid β€” CDID portion of key
  • flags β€” flag portion of key
  • vl_msk β€” valid mask
  • dc_msk β€” don't care mask
  • nm_msk β€” never match mask

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file for this one is ./drivers/net/ethernet/intel/ice/ice_flex_pipe.c, and then there's the whole extended friend group β€” every single reference is here, exactly as listed, no missing besties 🫢:


Byeee bestie πŸŽ€βœ¨ β€” this one comes from ./drivers/net/ethernet/intel/ice, stamped October 2026, and it's still the ice_tcam_write_entry(9) page, periodt πŸ’–πŸ«Ά.

πŸ“¦ where this page comes from