[PATCH] graph: fix xstats of cloned nodes

Thomas Monjalon thomas at monjalon.net
Thu Oct 15 17:24:15 CEST 2026


> > 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>
> Acked-by: Kiran Kumar Kokkilagadda <kirankumark at marvell.com>
Reviewed-by: Robin Jarry <rjarry at redhat.com>

Applied, thanks.




More information about the dev mailing list