patch 'net/mlx5: fix suffix groups without default FDB rule' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:02:59 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/8a820e406ae5307833681f725accd11c8aa865aa

Thanks.

Kevin

---
>From 8a820e406ae5307833681f725accd11c8aa865aa Mon Sep 17 00:00:00 2001
From: Rongwei Liu <rongweil at nvidia.com>
Date: Fri, 16 Oct 2026 10:48:06 +0300
Subject: [PATCH] net/mlx5: fix suffix groups without default FDB rule

[ upstream commit 5108a6f229ffa1b4f79166315bdb94fc8fcb8a0b ]

With fdb_def_rule_en=0, mlx5 SWS still decrements meter and sampler
suffix groups, causing continuation rules to be installed in the
wrong tables.

Decrement these groups only when the default FDB rule is active,
keeping suffix placement consistent with group-to-table translation.

Fixes: 1939eb6f660c ("net/mlx5: support flow port action with HWS")

Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
---
 drivers/net/mlx5/mlx5_flow.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index 32f4a6ff00..1899c5692d 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -7049,5 +7049,5 @@ flow_create_split_meter(struct rte_eth_dev *dev,
 		}
 		/* Setting the sfx group atrr. */
-		sfx_attr.group = sfx_attr.transfer ?
+		sfx_attr.group = (sfx_attr.transfer && priv->fdb_def_rule) ?
 				(MLX5_FLOW_TABLE_LEVEL_METER - 1) :
 				 MLX5_FLOW_TABLE_LEVEL_METER;
@@ -7230,5 +7230,5 @@ flow_create_split_sample(struct rte_eth_dev *dev,
 						struct mlx5_flow_tbl_data_entry,
 						tbl);
-			sfx_attr.group = sfx_attr.transfer ?
+			sfx_attr.group = (sfx_attr.transfer && priv->fdb_def_rule) ?
 			(sfx_tbl_data->level - 1) : sfx_tbl_data->level;
 		} else {
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:46.408370439 +0000
+++ 0253-net-mlx5-fix-suffix-groups-without-default-FDB-rule.patch	2026-12-03 12:52:39.206938715 +0000
@@ -1 +1 @@
-From 5108a6f229ffa1b4f79166315bdb94fc8fcb8a0b Mon Sep 17 00:00:00 2001
+From 8a820e406ae5307833681f725accd11c8aa865aa Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5108a6f229ffa1b4f79166315bdb94fc8fcb8a0b ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index b0eac185b5..37654918b5 100644
+index 32f4a6ff00..1899c5692d 100644



More information about the stable mailing list