patch 'net/ice: fix flow creation failure' has been queued to stable release 23.11.5
Xueming Li
xuemingl at nvidia.com
Thu Jun 26 14:00:34 CEST 2025
Hi,
FYI, your patch has been queued to stable release 23.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 06/28/25. 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://git.dpdk.org/dpdk-stable/log/?h=23.11-staging
This queued commit can be viewed at:
https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=f04f9ea7db2fb646e6c3e24b0e85a8f3f41be931
Thanks.
Xueming Li <xuemingl at nvidia.com>
---
>From f04f9ea7db2fb646e6c3e24b0e85a8f3f41be931 Mon Sep 17 00:00:00 2001
From: Dhanya Pillai <dhanya.r.pillai at intel.com>
Date: Thu, 15 May 2025 11:23:44 +0000
Subject: [PATCH] net/ice: fix flow creation failure
Cc: Xueming Li <xuemingl at nvidia.com>
[ upstream commit 1f332499adc57c86c46fdb26c923f8f56d4cb765 ]
In non-pipeline mode, priority is ignored, and a flow rule can be
created as a flow director rule or a switch rule depending only on its
pattern/action. Therefore, remove the priority field check from
ice_fdir_parse which is causing valid flow creation to return failure.
Fixes: 14b12c939f3a ("net/ice: remove pipeline mode")
Signed-off-by: Dhanya Pillai <dhanya.r.pillai at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/ice/ice_fdir_filter.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c
index dd9130ace3..0d7b3fe164 100644
--- a/drivers/net/ice/ice_fdir_filter.c
+++ b/drivers/net/ice/ice_fdir_filter.c
@@ -2434,7 +2434,7 @@ ice_fdir_parse(struct ice_adapter *ad,
uint32_t array_len,
const struct rte_flow_item pattern[],
const struct rte_flow_action actions[],
- uint32_t priority,
+ uint32_t priority __rte_unused,
void **meta,
struct rte_flow_error *error)
{
@@ -2449,9 +2449,6 @@ ice_fdir_parse(struct ice_adapter *ad,
item = ice_search_pattern_match_item(ad, pattern, array, array_len,
error);
- if (priority >= 1)
- return -rte_errno;
-
if (!item)
return -rte_errno;
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-06-26 19:59:18.306466706 +0800
+++ 0014-net-ice-fix-flow-creation-failure.patch 2025-06-26 19:59:17.218418051 +0800
@@ -1 +1 @@
-From 1f332499adc57c86c46fdb26c923f8f56d4cb765 Mon Sep 17 00:00:00 2001
+From f04f9ea7db2fb646e6c3e24b0e85a8f3f41be931 Mon Sep 17 00:00:00 2001
@@ -4,0 +5,3 @@
+Cc: Xueming Li <xuemingl at nvidia.com>
+
+[ upstream commit 1f332499adc57c86c46fdb26c923f8f56d4cb765 ]
@@ -12 +14,0 @@
-Cc: stable at dpdk.org
@@ -17 +19 @@
- drivers/net/intel/ice/ice_fdir_filter.c | 5 +----
+ drivers/net/ice/ice_fdir_filter.c | 5 +----
@@ -20,5 +22,5 @@
-diff --git a/drivers/net/intel/ice/ice_fdir_filter.c b/drivers/net/intel/ice/ice_fdir_filter.c
-index 2ff0090aca..d41d223d52 100644
---- a/drivers/net/intel/ice/ice_fdir_filter.c
-+++ b/drivers/net/intel/ice/ice_fdir_filter.c
-@@ -2446,7 +2446,7 @@ ice_fdir_parse(struct ice_adapter *ad,
+diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c
+index dd9130ace3..0d7b3fe164 100644
+--- a/drivers/net/ice/ice_fdir_filter.c
++++ b/drivers/net/ice/ice_fdir_filter.c
+@@ -2434,7 +2434,7 @@ ice_fdir_parse(struct ice_adapter *ad,
@@ -33 +35 @@
-@@ -2461,9 +2461,6 @@ ice_fdir_parse(struct ice_adapter *ad,
+@@ -2449,9 +2449,6 @@ ice_fdir_parse(struct ice_adapter *ad,
More information about the stable
mailing list