patch 'net/ice: fix DCF probing when ACL is unavailable' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Fri Nov 20 21:29:44 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/eec23836e5a23bbffac820e126d7820a410840ff
Thanks.
Luca Boccassi
---
>From eec23836e5a23bbffac820e126d7820a410840ff Mon Sep 17 00:00:00 2001
From: Ciara Loftus <ciara.loftus at intel.com>
Date: Tue, 10 Nov 2026 15:15:39 +0000
Subject: [PATCH] net/ice: fix DCF probing when ACL is unavailable
[ upstream commit 0ab74a82ec616dc2b24746d6d994a5ac32dd891b ]
Currently, the DCF requests the ACL flow engine unconditionally and
fails the whole probe if its initialisation fails. The PF driver can
legitimately refuse the ACL capability to a DCF and in that case it
silently drops every ACL AdminQ command instead of returning an error.
The DCF then times out on the ACL table allocation and probe fails,
even though the switch and RSS engines would have worked.
Fix it by treating an ACL engine initialisation failure as non-fatal
when running as DCF. Log a warning, mark the engine disabled and continue
initialising the remaining engines.
Fixes: 40d466fa9f76 ("net/ice: support ACL filter in DCF")
Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/ice/ice_dcf_parent.c | 2 ++
drivers/net/ice/ice_generic_flow.c | 8 ++++++++
2 files changed, 10 insertions(+)
diff --git a/drivers/net/ice/ice_dcf_parent.c b/drivers/net/ice/ice_dcf_parent.c
index 1e60321985..e0677f95ae 100644
--- a/drivers/net/ice/ice_dcf_parent.c
+++ b/drivers/net/ice/ice_dcf_parent.c
@@ -497,6 +497,8 @@ ice_dcf_init_parent_adapter(struct rte_eth_dev *eth_dev)
ice_dcf_update_vf_vsi_map(parent_hw, hw->num_vfs, hw->vf_vsi_map);
+ /* Retry ACL initialization after reset unless disabled by devargs. */
+ parent_adapter->disabled_engine_mask &= ~BIT(ICE_FLOW_ENGINE_ACL);
if (ice_devargs_check(eth_dev->device->devargs, ICE_DCF_DEVARG_ACL))
parent_adapter->disabled_engine_mask |= BIT(ICE_FLOW_ENGINE_ACL);
diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net/ice/ice_generic_flow.c
index 4049157eab..04da0561a0 100644
--- a/drivers/net/ice/ice_generic_flow.c
+++ b/drivers/net/ice/ice_generic_flow.c
@@ -1844,6 +1844,14 @@ ice_flow_init(struct ice_adapter *ad)
ret = engine->init(ad);
if (ret) {
+ /* The PF may refuse the ACL capability to a DCF. Run without it. */
+ if (ad->hw.dcf_enabled && engine->type == ICE_FLOW_ENGINE_ACL) {
+ PMD_INIT_LOG(WARNING, "ACL engine not available, disabling it");
+ if (engine->uninit)
+ engine->uninit(ad);
+ ad->disabled_engine_mask |= BIT(ICE_FLOW_ENGINE_ACL);
+ continue;
+ }
PMD_INIT_LOG(ERR, "Failed to initialize engine %d",
engine->type);
return ret;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-20 20:29:05.764192582 +0000
+++ 0015-net-ice-fix-DCF-probing-when-ACL-is-unavailable.patch 2026-11-20 20:29:05.212110049 +0000
@@ -1 +1 @@
-From 0ab74a82ec616dc2b24746d6d994a5ac32dd891b Mon Sep 17 00:00:00 2001
+From eec23836e5a23bbffac820e126d7820a410840ff Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0ab74a82ec616dc2b24746d6d994a5ac32dd891b ]
+
@@ -18 +19,0 @@
-Cc: stable at dpdk.org
@@ -23,2 +24,2 @@
- drivers/net/intel/ice/ice_dcf_parent.c | 2 ++
- drivers/net/intel/ice/ice_generic_flow.c | 8 ++++++++
+ drivers/net/ice/ice_dcf_parent.c | 2 ++
+ drivers/net/ice/ice_generic_flow.c | 8 ++++++++
@@ -27,4 +28,4 @@
-diff --git a/drivers/net/intel/ice/ice_dcf_parent.c b/drivers/net/intel/ice/ice_dcf_parent.c
-index 4d620fe8f5..39c88508ad 100644
---- a/drivers/net/intel/ice/ice_dcf_parent.c
-+++ b/drivers/net/intel/ice/ice_dcf_parent.c
+diff --git a/drivers/net/ice/ice_dcf_parent.c b/drivers/net/ice/ice_dcf_parent.c
+index 1e60321985..e0677f95ae 100644
+--- a/drivers/net/ice/ice_dcf_parent.c
++++ b/drivers/net/ice/ice_dcf_parent.c
@@ -40,5 +41,5 @@
-diff --git a/drivers/net/intel/ice/ice_generic_flow.c b/drivers/net/intel/ice/ice_generic_flow.c
-index 1602691b1c..6d8bf6a939 100644
---- a/drivers/net/intel/ice/ice_generic_flow.c
-+++ b/drivers/net/intel/ice/ice_generic_flow.c
-@@ -2012,6 +2012,14 @@ ice_flow_init(struct ice_adapter *ad)
+diff --git a/drivers/net/ice/ice_generic_flow.c b/drivers/net/ice/ice_generic_flow.c
+index 4049157eab..04da0561a0 100644
+--- a/drivers/net/ice/ice_generic_flow.c
++++ b/drivers/net/ice/ice_generic_flow.c
+@@ -1844,6 +1844,14 @@ ice_flow_init(struct ice_adapter *ad)
More information about the stable
mailing list