patch 'net/nfp: fix flow rule freeing' has been queued to stable release 24.11.3

Kevin Traynor ktraynor at redhat.com
Fri Jul 18 21:29:42 CEST 2025


Hi,

FYI, your patch has been queued to stable release 24.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 07/23/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://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/c0e26e76eca88e3098aacc429d3e3d3128face51

Thanks.

Kevin

---
>From c0e26e76eca88e3098aacc429d3e3d3128face51 Mon Sep 17 00:00:00 2001
From: Long Wu <long.wu at corigine.com>
Date: Mon, 14 Apr 2025 14:02:26 +0800
Subject: [PATCH] net/nfp: fix flow rule freeing

[ upstream commit 80209fe2a03b900e3b5e97ea98f487aec01adecc ]

The flow number limit is stored in `priv->flow_limit` now, so
the free index should be calculated based on it, or there will
be coredump problem.

Fixes: 66df893f2fef ("net/nfp: support different flow steering rules limit")

Signed-off-by: Long Wu <long.wu at corigine.com>
Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
---
 drivers/net/nfp/nfp_net_flow.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/nfp/nfp_net_flow.c b/drivers/net/nfp/nfp_net_flow.c
index 7f3fff2186..0e5003ebe3 100644
--- a/drivers/net/nfp/nfp_net_flow.c
+++ b/drivers/net/nfp/nfp_net_flow.c
@@ -129,5 +129,5 @@ nfp_net_flow_position_free(struct nfp_net_priv *priv,
 	uint32_t index;
 
-	index = NFP_NET_FLOW_LIMIT - 1 - nfp_flow->position;
+	index = priv->flow_limit - 1 - nfp_flow->position;
 
 	priv->flow_position[index] = false;
-- 
2.50.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2025-07-18 20:29:12.777852095 +0100
+++ 0048-net-nfp-fix-flow-rule-freeing.patch	2025-07-18 20:29:10.930907331 +0100
@@ -1 +1 @@
-From 80209fe2a03b900e3b5e97ea98f487aec01adecc Mon Sep 17 00:00:00 2001
+From c0e26e76eca88e3098aacc429d3e3d3128face51 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 80209fe2a03b900e3b5e97ea98f487aec01adecc ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list