> -----Original Message----- > From: Jerin Jacob <[email protected]> > Sent: Monday, February 20, 2023 10:07 PM > To: Yan, Zhirun <[email protected]> > Cc: [email protected]; [email protected]; [email protected]; > [email protected]; Liang, Cunming <[email protected]>; Wang, > Haiyue <[email protected]> > Subject: Re: [PATCH v1 06/13] graph: introduce graph affinity API > > On Thu, Nov 17, 2022 at 10:40 AM Zhirun Yan <[email protected]> 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 <[email protected]> > > > 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 > >

