Re: [PATCH v2] graph: fix head move when graph walk in mcore dispatch

2024-06-27 Thread Thomas Monjalon
28/03/2024 09:32, Yan, Zhirun: > From: Wu, Jingjing > > --- a/lib/graph/rte_graph_model_mcore_dispatch.h > > +++ b/lib/graph/rte_graph_model_mcore_dispatch.h > > @@ -100,9 +100,8 @@ rte_graph_walk_mcore_dispatch(struct rte_graph > > *graph) > > node = (struct rte_node *)RTE_PTR_ADD(gra

RE: [PATCH v2] graph: fix head move when graph walk in mcore dispatch

2024-03-28 Thread Yan, Zhirun
> -Original Message- > From: Wu, Jingjing > Sent: Friday, March 22, 2024 11:47 PM > To: dev@dpdk.org > Cc: Wu, Jingjing ; jer...@marvell.com; > pbhagavat...@marvell.com; Yan, Zhirun > Subject: [PATCH v2] graph: fix head move when graph walk in mcore dispatch &

[PATCH v2] graph: fix head move when graph walk in mcore dispatch

2024-03-22 Thread Jingjing Wu
Head move happens before the core id check, which will cause the last source node be executed even core id is not correct. This patch changes head check to less than 1 instead of 0 to fix this issue. Fixes: 35dfd9b9fd85 ("graph: introduce graph walk by cross-core dispatch") Signed-off-by: Jingjin