patch 'net/ice: fix silent drop of MAC addresses in ACL rules' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Nov 20 21:29:45 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/22/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/6ee4eb8cf7ba8efdf2477cdd1da59e592ee365d1
Thanks.
Luca Boccassi
---
>From 6ee4eb8cf7ba8efdf2477cdd1da59e592ee365d1 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/ice/ice_acl_filter.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c
index 827189e1a9..cc5999e8a2 100644
--- a/drivers/net/ice/ice_acl_filter.c
+++ b/drivers/net/ice/ice_acl_filter.c
@@ -947,6 +947,15 @@ ice_acl_parse(struct ice_adapter *ad,
goto error;
}
+ /* 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)
goto error;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-20 20:29:05.798224027 +0000
+++ 0016-net-ice-fix-silent-drop-of-MAC-addresses-in-ACL-rule.patch 2026-11-20 20:29:05.212110049 +0000
@@ -1 +1 @@
-From 125e2e3c586b3a3c0c4367c374c4bb21fdc6c3c3 Mon Sep 17 00:00:00 2001
+From 6ee4eb8cf7ba8efdf2477cdd1da59e592ee365d1 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 125e2e3c586b3a3c0c4367c374c4bb21fdc6c3c3 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
- drivers/net/intel/ice/ice_acl_filter.c | 9 +++++++++
+ drivers/net/ice/ice_acl_filter.c | 9 +++++++++
@@ -22,5 +23,5 @@
-diff --git a/drivers/net/intel/ice/ice_acl_filter.c b/drivers/net/intel/ice/ice_acl_filter.c
-index 0f913126de..931c5469d2 100644
---- a/drivers/net/intel/ice/ice_acl_filter.c
-+++ b/drivers/net/intel/ice/ice_acl_filter.c
-@@ -998,6 +998,15 @@ ice_acl_parse(struct ice_adapter *ad,
+diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c
+index 827189e1a9..cc5999e8a2 100644
+--- a/drivers/net/ice/ice_acl_filter.c
++++ b/drivers/net/ice/ice_acl_filter.c
+@@ -947,6 +947,15 @@ ice_acl_parse(struct ice_adapter *ad,
@@ -39 +40 @@
- 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