[PATCH] graph: fix xstats of cloned nodes
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 22 20:20:46 CEST 2026
On Wed, 8 Jul 2026 11:14:19 +0300
Andrey Yudin <Andrey.Yudin at infotecs.ru> wrote:
> 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")
> Cc: stable at dpdk.org
> Signed-off-by: Andrey Yudin <Andrey.Yudin at infotecs.ru>
> ---
This patch is technically correct, and I have no issues with the code itself.
However, the submitter's mail domain (infotecs.ru) belongs to JSC
InfoTeCS, which is on the EU consolidated sanctions list. Whether a
contribution from a sanctioned entity can be accepted is a legal
question, and not one a maintainer has the authority to decide.
Holding off on merging this patch until there is direction from LF
legal and/or the DPDK governing board.
More information about the dev
mailing list