patch 'graph: fix xstats of cloned node' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:51:20 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/d3673cebb7ab67b276a37a226ff9c22ef92c396d
Thanks.
Luca Boccassi
---
>From d3673cebb7ab67b276a37a226ff9c22ef92c396d 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 ba40649399d..500028586fa 100644
--- a/.mailmap
+++ b/.mailmap
@@ -123,6 +123,7 @@ Andrey Chilikin <andrey.chilikin at intel.com>
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>
Andriy Berestovskyy <aber at semihalf.com> <andriy.berestovskyy at caviumnetworks.com>
diff --git a/lib/graph/node.c b/lib/graph/node.c
index 3e4793560bc..1fac8c6d1b9 100644
--- a/lib/graph/node.c
+++ b/lib/graph/node.c
@@ -159,6 +159,7 @@ node_clone(struct node *node, const char *name)
goto free;
}
+ 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],
RTE_NODE_XSTAT_DESC_SIZE) < 0)
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:44:00.829935188 +0000
+++ 0186-graph-fix-xstats-of-cloned-node.patch 2026-10-27 11:43:53.766067248 +0000
@@ -1 +1 @@
-From 32d07e65e0c447442c43b0a2ba4f1000ef50b157 Mon Sep 17 00:00:00 2001
+From d3673cebb7ab67b276a37a226ff9c22ef92c396d 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 ba40649399d..500028586fa 100644
@@ -30 +31 @@
-@@ -125,6 +125,7 @@ Andrey Chilikin <andrey.chilikin at intel.com>
+@@ -123,6 +123,7 @@ Andrey Chilikin <andrey.chilikin at intel.com>
@@ -39 +40 @@
-index 1fce3e6632..bb39c616de 100644
+index 3e4793560bc..1fac8c6d1b9 100644
@@ -42 +43 @@
-@@ -208,6 +208,7 @@ node_clone(struct node *node, const char *name)
+@@ -159,6 +159,7 @@ node_clone(struct node *node, const char *name)
More information about the stable
mailing list