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
> -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
&
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
3 matches
Mail list logo