patch 'graph: fix xstats description allocation' has been queued to stable release 24.11.4
Kevin Traynor
ktraynor at redhat.com
Fri Nov 21 12:20:40 CET 2025
Hi,
FYI, your patch has been queued to stable release 24.11.4
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/26/25. 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/175fc1ccd8c3aa88bc26eb15278938e786c3626a
Thanks.
Kevin
---
>From 175fc1ccd8c3aa88bc26eb15278938e786c3626a Mon Sep 17 00:00:00 2001
From: Christophe Fontaine <cfontain at redhat.com>
Date: Tue, 28 Oct 2025 12:09:20 +0100
Subject: [PATCH] graph: fix xstats description allocation
[ upstream commit cdeb35313438f6a99c6c9233c89746b9bd86f9f6 ]
Fix the extended stats name allocation size: instead of allocating
RTE_NODE_XSTAT_DESC_SIZE (64 bytes), only sizeof(RTE_NODE_XSTAT_DESC_SIZE)
were allocated for each xstat name.
Fixes: 070db97e017b ("graph: support node xstats")
Signed-off-by: Christophe Fontaine <cfontain at redhat.com>
Acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
lib/graph/graph_stats.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/graph/graph_stats.c b/lib/graph/graph_stats.c
index 80f6d1eae3..180afe7fd4 100644
--- a/lib/graph/graph_stats.c
+++ b/lib/graph/graph_stats.c
@@ -302,5 +302,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats,
cluster->stat.xstat_desc = rte_zmalloc_socket(NULL,
- sizeof(RTE_NODE_XSTAT_DESC_SIZE) * graph_node->node->xstats->nb_xstats,
+ RTE_NODE_XSTAT_DESC_SIZE * graph_node->node->xstats->nb_xstats,
RTE_CACHE_LINE_SIZE, stats->socket_id);
if (cluster->stat.xstat_desc == NULL) {
--
2.51.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2025-11-21 11:05:11.365189770 +0000
+++ 0056-graph-fix-xstats-description-allocation.patch 2025-11-21 11:05:09.534202122 +0000
@@ -1 +1 @@
-From cdeb35313438f6a99c6c9233c89746b9bd86f9f6 Mon Sep 17 00:00:00 2001
+From 175fc1ccd8c3aa88bc26eb15278938e786c3626a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit cdeb35313438f6a99c6c9233c89746b9bd86f9f6 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -20 +21 @@
-index e0fc8fd25c..b87b5707f7 100644
+index 80f6d1eae3..180afe7fd4 100644
@@ -23 +24 @@
-@@ -303,5 +303,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats,
+@@ -302,5 +302,5 @@ stats_mem_populate(struct rte_graph_cluster_stats *stats,
More information about the stable
mailing list