patch 'net/mlx5: fix external egress flow group translation' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:05:47 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/e9e303cc8d688c47e014f3a80025a9f1a6df05cd

Thanks.

Kevin

---
>From e9e303cc8d688c47e014f3a80025a9f1a6df05cd Mon Sep 17 00:00:00 2001
From: Maayan Kashani <mkashani at nvidia.com>
Date: Mon, 9 Nov 2026 11:23:47 +0200
Subject: [PATCH] net/mlx5: fix external egress flow group translation

[ upstream commit e08370a2254f3cdf43dddb18b9ad2054836880fd ]

Representor matching is always enabled on an E-Switch port, and the PMD
reserves egress group 0 for the default SQ tagging rule. Removing
repr_matching_en left the user group shift enabled only for extended
metadata mode. With any other dv_xmeta_en value, an external egress
group 0 rule is installed on the root table, where a jump to a non-root
group matches but does not continue.

Shift every external egress group when the E-Switch is enabled.
This restores the previous repr_matching_en=1 behavior.

Fixes: c41f621786ff ("net/mlx5: remove representor matching devarg")

Signed-off-by: Maayan Kashani <mkashani at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
---
 drivers/net/mlx5/mlx5_flow_hw.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 655edfaae1..e44b353173 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -5455,5 +5455,4 @@ __translate_group(struct rte_eth_dev *dev,
 		*table_group = group + 1;
 	} else if (config->dv_esw_en &&
-		   config->dv_xmeta_en == MLX5_XMETA_MODE_META32_HWS &&
 		   external &&
 		   flow_attr->egress) {
@@ -5464,7 +5463,6 @@ __translate_group(struct rte_eth_dev *dev,
 		 * for these purposes.
 		 *
-		 * As a result, if representor matching or extended metadata mode is enabled,
-		 * group provided by the user must be incremented to avoid inserting flow rules
-		 * in group 0.
+		 * Representor matching is always enabled, so the group provided by the user
+		 * must be incremented to avoid inserting flow rules in group 0.
 		 */
 		if (group > MLX5_HW_MAX_EGRESS_GROUP)
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:51.094616503 +0000
+++ 0421-net-mlx5-fix-external-egress-flow-group-translation.patch	2026-12-03 12:52:39.320938806 +0000
@@ -1 +1 @@
-From e08370a2254f3cdf43dddb18b9ad2054836880fd Mon Sep 17 00:00:00 2001
+From e9e303cc8d688c47e014f3a80025a9f1a6df05cd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e08370a2254f3cdf43dddb18b9ad2054836880fd ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 8b74f66770..1d73324bd2 100644
+index 655edfaae1..e44b353173 100644
@@ -29 +30 @@
-@@ -5592,5 +5592,4 @@ __translate_group(struct rte_eth_dev *dev,
+@@ -5455,5 +5455,4 @@ __translate_group(struct rte_eth_dev *dev,
@@ -35 +36 @@
-@@ -5601,7 +5600,6 @@ __translate_group(struct rte_eth_dev *dev,
+@@ -5464,7 +5463,6 @@ __translate_group(struct rte_eth_dev *dev,



More information about the stable mailing list