> -Original Message-
> From: Wu, Jingjing
> Sent: Thursday, March 21, 2024 11:39 AM
> To: Yan, Zhirun ; dev@dpdk.org
> Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org
> Subject: RE: [PATCH] graph: fix head move when graph walk
> -Original Message-
> From: Yan, Zhirun
> Sent: Wednesday, March 20, 2024 4:43 PM
> To: Wu, Jingjing ; dev@dpdk.org
> Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org
> Subject: RE: [PATCH] graph: fix head move when graph walk
> -Original Message-
> From: Wu, Jingjing
> Sent: Wednesday, March 20, 2024 2:25 PM
> To: Yan, Zhirun ; dev@dpdk.org
> Cc: jer...@marvell.com; pbhagavat...@marvell.com; sta...@dpdk.org
> Subject: RE: [PATCH] graph: fix head move when graph walk
> > /* skip the src nodes which not bind with current worker */
> > if ((int32_t)head < 0 && node->dispatch.lcore_id != graph-
> > >dispatch.lcore_id)
> > continue;
> > -
> > + head++;
> If current src node not bind with current core, It will
> -Original Message-
> From: Wu, Jingjing
> Sent: Tuesday, March 19, 2024 10:15 PM
> To: dev@dpdk.org
> Cc: Wu, Jingjing ; jer...@marvell.com;
> pbhagavat...@marvell.com; Yan, Zhirun ;
> sta...@dpdk.org
> Subject: [PATCH] graph: fix head move when graph walk in
Head move should happen after the core id check, otherwise
source node will be missed.
Fixes: 35dfd9b9fd85 ("graph: introduce graph walk by cross-core dispatch")
Cc: sta...@dpdk.org
Signed-off-by: Jingjing Wu
---
lib/graph/rte_graph_model_mcore_dispatch.h | 4 ++--
1 file changed, 2 insertions(
6 matches
Mail list logo