> > 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: [email protected]
> > Signed-off-by: Andrey Yudin <[email protected]>
> Acked-by: Kiran Kumar Kokkilagadda <[email protected]>
Reviewed-by: Robin Jarry <[email protected]>Applied, thanks.

