patch 'graph: fix xstats of cloned node' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:02:29 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/508798f954d857931ecbec41f84d2b6247ff03bc

Thanks.

Kevin

---
>From 508798f954d857931ecbec41f84d2b6247ff03bc Mon Sep 17 00:00:00 2001
From: Andrey Yudin <andrey.yudin at infotecs.ru>
Date: Wed, 8 Jul 2026 11:14:19 +0300
Subject: [PATCH] graph: fix xstats of cloned node

[ upstream commit 32d07e65e0c447442c43b0a2ba4f1000ef50b157 ]

When cloning a node with xstats enabled, xstat_desc entries are copied
into the rte_node_register structure, but the nb_xstats field is not.

As a result, the cloned node reports zero available xstats,
making xstats unusable.

Copy the nb_xstats field when cloning the node so that cloned nodes
preserve the xstats configuration of the original node.

Fixes: 070db97e017b ("graph: support node xstats")

Signed-off-by: Andrey Yudin <andrey.yudin at infotecs.ru>
Reviewed-by: Robin Jarry <rjarry at redhat.com>
Acked-by: Kiran Kumar K <kirankumark at marvell.com>
---
 .mailmap         | 1 +
 lib/graph/node.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.mailmap b/.mailmap
index 8d5c1268c3..b42b82e6b7 100644
--- a/.mailmap
+++ b/.mailmap
@@ -124,4 +124,5 @@ Andrey Ignatov <rdna at apple.com>
 Andrey Nikolaev <gentoorion at gmail.com>
 Andrey Vesnovaty <andreyv at nvidia.com>
+Andrey Yudin <andrey.yudin at infotecs.ru>
 Andrii Pypchenko <andrii.pypchenko at intel.com>
 Andrius Sirvys <andrius.sirvys at intel.com>
diff --git a/lib/graph/node.c b/lib/graph/node.c
index e3359fe490..7e06ee4eaa 100644
--- a/lib/graph/node.c
+++ b/lib/graph/node.c
@@ -209,4 +209,5 @@ node_clone(struct node *node, const char *name)
 		}
 
+		reg->xstats->nb_xstats = node->xstats->nb_xstats;
 		for (i = 0; i < node->xstats->nb_xstats; i++)
 			if (rte_strscpy(reg->xstats->xstat_desc[i], node->xstats->xstat_desc[i],
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:45.590028366 +0000
+++ 0223-graph-fix-xstats-of-cloned-node.patch	2026-12-03 12:52:39.190453969 +0000
@@ -1 +1 @@
-From 32d07e65e0c447442c43b0a2ba4f1000ef50b157 Mon Sep 17 00:00:00 2001
+From 508798f954d857931ecbec41f84d2b6247ff03bc Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 32d07e65e0c447442c43b0a2ba4f1000ef50b157 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -27 +28 @@
-index 6b81952a55..6d9e262cfb 100644
+index 8d5c1268c3..b42b82e6b7 100644
@@ -30 +31 @@
-@@ -126,4 +126,5 @@ Andrey Ignatov <rdna at apple.com>
+@@ -124,4 +124,5 @@ Andrey Ignatov <rdna at apple.com>
@@ -37 +38 @@
-index 1fce3e6632..bb39c616de 100644
+index e3359fe490..7e06ee4eaa 100644



More information about the stable mailing list