[PATCH] net/ice: fix ACL entry limit on devices with 8 ports
Bruce Richardson
bruce.richardson at intel.com
Mon Nov 9 19:03:26 CET 2026
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: stable at dpdk.org
>
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
> 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 <bruce.richardson at intel.com>
More information about the dev
mailing list