On Mon, Nov 09, 2026 at 03:32:45PM +0000, Ciara Loftus wrote:
> Currently, the ACL table depth is halved on devices with more than 4
> PFs, but the driver still assumes 256 entries are available. The base
> code reserves only 50% of the scenario for the NORMAL priority band,
> so on an 8-port device adding the 129th rule fails and the flow silently
> falls back to the switch engine.
> 
> Fix it by deriving the entry limit from the configured depth so the
> driver rejects rules beyond the NORMAL band with an explicit error.
> 
> Fixes: 17a8fc206178 ("net/ice: fix initialization with 8 ports")
> Cc: [email protected]
> 
> Signed-off-by: Ciara Loftus <[email protected]>
> ---
>  drivers/net/intel/ice/ice_acl_filter.c | 9 ++++++---
>  drivers/net/intel/ice/ice_ethdev.h     | 1 +
>  2 files changed, 7 insertions(+), 3 deletions(-)
> 
Acked-by: Bruce Richardson <[email protected]>

Reply via email to