From: Dmitriy Matveichev <matveichev.dmitriy@gmail.com>
To: erinj@marvell.com, kirankumark@marvell.com
Cc: dev@dpdk.org, Dmitriy Matveichev <matveichev.dmitriy@gmail.com>
Subject: [PATCH] graph: copy nb_xstats during node clone
Date: Mon, 31 Aug 2026 11:18:00 +0300 [thread overview]
Message-ID: <20260831081800.44771-1-matveichev.dmitriy@gmail.com> (raw)
Signed-off-by: Dmitriy Matveichev <matveichev.dmitriy@gmail.com>
---
lib/graph/node.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/graph/node.c b/lib/graph/node.c
index 1fce3e6632..bb39c616de 100644
--- a/lib/graph/node.c
+++ b/lib/graph/node.c
@@ -208,6 +208,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.53.0
reply other threads:[~2026-08-31 8:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260831081800.44771-1-matveichev.dmitriy@gmail.com \
--to=matveichev.dmitriy@gmail.com \
--cc=dev@dpdk.org \
--cc=erinj@marvell.com \
--cc=kirankumark@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox