Re: [PATCH v5] graph: mcore: optimize graph search

2024-12-13 Thread David Marchand
On Fri, Dec 13, 2024 at 3:22 AM Huichao Cai wrote: > diff --git a/lib/graph/rte_graph_worker_common.h > b/lib/graph/rte_graph_worker_common.h > index d3ec88519d..aef0f65673 100644 > --- a/lib/graph/rte_graph_worker_common.h > +++ b/lib/graph/rte_graph_worker_common.h > @@ -110,6 +110,7 @@ struct

[PATCH v5] graph: mcore: optimize graph search

2024-12-12 Thread Huichao Cai
In the function __rte_graph_mcore_dispatch_sched_node_enqueue, use a slower loop to search for the graph, modify the search logic to record the result of the first search, and use this record for subsequent searches to improve search speed. Signed-off-by: Huichao Cai --- doc/guides/rel_notes/rel