patch 'net/mlx5: fix aggregated affinity template validation' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:49:55 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/9375a77043c4fcd0dc893a5e3e6a6a438dc62296

Thanks.

Luca Boccassi

---
>From 9375a77043c4fcd0dc893a5e3e6a6a438dc62296 Mon Sep 17 00:00:00 2001
From: Rongwei Liu <rongweil at nvidia.com>
Date: Mon, 3 Aug 2026 12:05:52 +0300
Subject: [PATCH] net/mlx5: fix aggregated affinity template validation

[ upstream commit fcf6aaaf21aaa074acc1c4deb8da187058692f4d ]

The mlx5 PMD attempts to validate the pattern template
by creating an internal table under group non-zero.

Aggr_affinity is only supported under root table and skip
its validation. Table create still fails due to definer
translation error.

Fixes: 80c676259a04 ("net/mlx5: validate HWS template items")

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

diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 6a16388647e..df68c905645 100644
--- a/drivers/net/mlx5/mlx5_flow_hw.c
+++ b/drivers/net/mlx5/mlx5_flow_hw.c
@@ -9183,7 +9183,8 @@ flow_hw_pattern_template_create(struct rte_eth_dev *dev,
 		}
 	}
 	rte_atomic_fetch_add_explicit(&it->refcnt, 1, rte_memory_order_relaxed);
-	if (external) {
+	/* AGGR_AFFINITY only supports under group 0 */
+	if (external && !(it->item_flags & MLX5_FLOW_ITEM_AGGR_AFFINITY)) {
 		rc = pattern_template_validate(dev, &it, 1, error);
 		if (rc)
 			goto error;
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:57.638423700 +0000
+++ 0101-net-mlx5-fix-aggregated-affinity-template-validation.patch	2026-10-27 11:43:53.634063163 +0000
@@ -1 +1 @@
-From fcf6aaaf21aaa074acc1c4deb8da187058692f4d Mon Sep 17 00:00:00 2001
+From 9375a77043c4fcd0dc893a5e3e6a6a438dc62296 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fcf6aaaf21aaa074acc1c4deb8da187058692f4d ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index 1cffdcc54d..30ef2f1c2d 100644
+index 6a16388647e..df68c905645 100644
@@ -26 +27 @@
-@@ -9588,7 +9588,8 @@ flow_hw_pattern_template_create(struct rte_eth_dev *dev,
+@@ -9183,7 +9183,8 @@ flow_hw_pattern_template_create(struct rte_eth_dev *dev,


More information about the stable mailing list