patch 'net/ice: fix DCF probing when ACL is unavailable' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:06:35 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/fcdd0cb7b08e034edb48fbfa9177e972d1a52bcb

Thanks.

Kevin

---
>From fcdd0cb7b08e034edb48fbfa9177e972d1a52bcb 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/intel/ice/ice_dcf_parent.c   | 2 ++
 drivers/net/intel/ice/ice_generic_flow.c | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/drivers/net/intel/ice/ice_dcf_parent.c b/drivers/net/intel/ice/ice_dcf_parent.c
index 1e60321985..e0677f95ae 100644
--- a/drivers/net/intel/ice/ice_dcf_parent.c
+++ b/drivers/net/intel/ice/ice_dcf_parent.c
@@ -498,4 +498,6 @@ 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/intel/ice/ice_generic_flow.c b/drivers/net/intel/ice/ice_generic_flow.c
index 4049157eab..04da0561a0 100644
--- a/drivers/net/intel/ice/ice_generic_flow.c
+++ b/drivers/net/intel/ice/ice_generic_flow.c
@@ -1845,4 +1845,12 @@ 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);
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:52.440522675 +0000
+++ 0469-net-ice-fix-DCF-probing-when-ACL-is-unavailable.patch	2026-12-03 12:52:39.356089161 +0000
@@ -1 +1 @@
-From 0ab74a82ec616dc2b24746d6d994a5ac32dd891b Mon Sep 17 00:00:00 2001
+From fcdd0cb7b08e034edb48fbfa9177e972d1a52bcb Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 0ab74a82ec616dc2b24746d6d994a5ac32dd891b ]
+
@@ -18 +19,0 @@
-Cc: stable at dpdk.org
@@ -28 +29 @@
-index 4d620fe8f5..39c88508ad 100644
+index 1e60321985..e0677f95ae 100644
@@ -39 +40 @@
-index 1602691b1c..6d8bf6a939 100644
+index 4049157eab..04da0561a0 100644
@@ -42 +43 @@
-@@ -2013,4 +2013,12 @@ ice_flow_init(struct ice_adapter *ad)
+@@ -1845,4 +1845,12 @@ ice_flow_init(struct ice_adapter *ad)



More information about the stable mailing list