MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_graph_walk

Function rte_graph_walk

dpdk/lib/graph/rte_graph_worker.h:25–41  ·  view source on GitHub ↗

* Perform graph walk on the circular buffer and invoke the process function * of the nodes and collect the stats. * * @param graph * Graph pointer returned from rte_graph_lookup function. * * @see rte_graph_lookup() */

Source from the content-addressed store, hash-verified

23 * @see rte_graph_lookup()
24 */
25static inline void
26rte_graph_walk(struct rte_graph *graph)
27{
28#if defined(RTE_GRAPH_MODEL_SELECT) && (RTE_GRAPH_MODEL_SELECT == RTE_GRAPH_MODEL_RTC)
29 rte_graph_walk_rtc(graph);
30#elif defined(RTE_GRAPH_MODEL_SELECT) && (RTE_GRAPH_MODEL_SELECT == RTE_GRAPH_MODEL_MCORE_DISPATCH)
31 rte_graph_walk_mcore_dispatch(graph);
32#else
33 switch (rte_graph_worker_model_no_check_get(graph)) {
34 case RTE_GRAPH_MODEL_MCORE_DISPATCH:
35 rte_graph_walk_mcore_dispatch(graph);
36 break;
37 default:
38 rte_graph_walk_rtc(graph);
39 }
40#endif
41}
42
43#ifdef __cplusplus
44}

Callers 4

_graph_perf_wrapperFunction · 0.85
test_graph_walkFunction · 0.85
graph_walk_startFunction · 0.85
graph_main_loopFunction · 0.85

Calls 3

rte_graph_walk_rtcFunction · 0.85

Tested by 2

_graph_perf_wrapperFunction · 0.68
test_graph_walkFunction · 0.68