> -----Original Message----- > From: Jerin Jacob <jerinjac...@gmail.com> > Sent: Monday, February 20, 2023 10:07 PM > To: Yan, Zhirun <zhirun....@intel.com> > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; Liang, Cunming <cunming.li...@intel.com>; Wang, > Haiyue <haiyue.w...@intel.com> > Subject: Re: [PATCH v1 06/13] graph: introduce graph affinity API > > On Thu, Nov 17, 2022 at 10:40 AM Zhirun Yan <zhirun....@intel.com> wrote: > > > > Add lcore_id for graph to hold affinity core id where graph would run on. > > Add bind/unbind API to set/unset graph affinity attribute. lcore_id > > will be set as MAX by default, it means not enable this attribute. > > > > Signed-off-by: Zhirun Yan <zhirun....@intel.com> > > > diff --git a/lib/graph/version.map b/lib/graph/version.map index > > 33ff055be6..1c599b5b47 100644 > > --- a/lib/graph/version.map > > +++ b/lib/graph/version.map > > @@ -18,6 +18,8 @@ EXPERIMENTAL { > > rte_graph_node_get_by_name; > > rte_graph_obj_dump; > > rte_graph_walk; > > + rte_graph_bind_core; > > if it is not applicable to RTC, please change to > rte_graph_model_pipeline_core_bind() >
It could be used by RTC, and means to bind all nodes to the same core. But it's not necessary. I will change it with specific mode name. > > + rte_graph_unbind_core; > > > > rte_graph_cluster_stats_create; > > rte_graph_cluster_stats_destroy; > > -- > > 2.25.1 > >