patch 'net/ice: fix silent drop of MAC addresses in ACL rules' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:06:36 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/0df710e9de9b7ae61e9322acc48a1f0613ee7664
Thanks.
Kevin
---
>From 0df710e9de9b7ae61e9322acc48a1f0613ee7664 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Wed, 18 Nov 2026 11:57:24 +0000
Subject: [PATCH] net/ice: fix silent drop of MAC addresses in ACL rules
[ upstream commit 125e2e3c586b3a3c0c4367c374c4bb21fdc6c3c3 ]
For devices with 4 or more ports, the size of the ACL rules supported is
narrower, so MAC addresses are not handled there (see function
acl_add_prof_prepare()). Reject such rules in the ACL block rather than
silently accepting them with missing filter fields. Those rules can then
be passed to other engines which may be able to accept and correctly
implement them.
Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Ciara Loftus <ciara.loftus at intel.com>
---
drivers/net/intel/ice/ice_acl_filter.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/net/intel/ice/ice_acl_filter.c b/drivers/net/intel/ice/ice_acl_filter.c
index dbbc18000e..8bde9ebd01 100644
--- a/drivers/net/intel/ice/ice_acl_filter.c
+++ b/drivers/net/intel/ice/ice_acl_filter.c
@@ -1001,4 +1001,13 @@ ice_acl_parse(struct ice_adapter *ad,
}
+ /* MAC fields are only in the ACL profile with fewer than 4 PFs */
+ if (ad->hw.dev_caps.num_funcs >= 4 &&
+ (input_set & (ICE_INSET_SMAC | ICE_INSET_DMAC)) != 0) {
+ ret = rte_flow_error_set(error, EINVAL,
+ RTE_FLOW_ERROR_TYPE_ITEM_SPEC, pattern,
+ "MAC address match not supported by ACL on this device");
+ goto error;
+ }
+
ret = ice_acl_parse_action(ad, actions, error, filter);
if (ret)
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:52.467096035 +0000
+++ 0470-net-ice-fix-silent-drop-of-MAC-addresses-in-ACL-rule.patch 2026-12-03 12:52:39.356384608 +0000
@@ -1 +1 @@
-From 125e2e3c586b3a3c0c4367c374c4bb21fdc6c3c3 Mon Sep 17 00:00:00 2001
+From 0df710e9de9b7ae61e9322acc48a1f0613ee7664 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 125e2e3c586b3a3c0c4367c374c4bb21fdc6c3c3 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 0f913126de..931c5469d2 100644
+index dbbc18000e..8bde9ebd01 100644
@@ -26 +27 @@
-@@ -999,4 +999,13 @@ ice_acl_parse(struct ice_adapter *ad,
+@@ -1001,4 +1001,13 @@ ice_acl_parse(struct ice_adapter *ad,
@@ -38 +39 @@
- ret = ice_acl_parse_action(&parsed_actions, filter, error);
+ ret = ice_acl_parse_action(ad, actions, error, filter);
More information about the stable
mailing list