]> git.ipfire.org Git - thirdparty/linux.git/commit
ice: improve TCAM priority handling for RSS profiles
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>
Thu, 30 Oct 2025 13:59:48 +0000 (14:59 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 6 Nov 2025 22:19:43 +0000 (14:19 -0800)
commitf89e4e1512333fcb92474e0e8487929b352c50de
tree8a084be14719419aa5a84dd2b4c889c5552166ec
parent3a6d87e2eaaced60411b32c06191a5971c1303c2
ice: improve TCAM priority handling for RSS profiles

Enhance TCAM priority logic to avoid conflicts between RSS profiles
with overlapping PTGs and attributes.

Track used PTG and attribute combinations.
Ensure higher-priority profiles override lower ones.
Add helper for setting TCAM flags and masks.

Ensure RSS rule consistency and prevent unintended matches.

Co-developed-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Dan Nowlin <dan.nowlin@intel.com>
Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_flex_pipe.c
drivers/net/ethernet/intel/ice/ice_flex_type.h