[PATCH v9 08/17] graph: introduce graph clone API for other worker core

Jerin Jacob jerinjacobk at gmail.com
Wed Jun 7 10:04:08 CEST 2023


On Wed, Jun 7, 2023 at 9:30 AM Zhirun Yan <zhirun.yan at intel.com> wrote:
>
> This patch adds graph API for supporting to clone the graph object for
> a specified worker core. The new graph will also clone all nodes.
>
> Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
> Signed-off-by: Cunming Liang <cunming.liang at intel.com>
> Signed-off-by: Zhirun Yan <zhirun.yan at intel.com>
> ---

> +/**
> + * Clone Graph.
> + *
> + * Clone a graph from static graph (graph created from rte_graph_create()). And
> + * all cloned graphs attached to the parent graph MUST be destroyed together
> + * for fast schedule design limitation (stop ALL graph walk firstly).

Please plan to use reference count scheme to avoid this limitation in
next release.

With that,

Acked-by: Jerin Jacob <jerinj at marvell.com>


More information about the dev mailing list