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

Function rte_graph_id_to_name

dpdk/lib/graph/graph.c:628–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628char *
629rte_graph_id_to_name(rte_graph_t id)
630{
631 struct graph *graph;
632
633 if (graph_from_id(id) == NULL)
634 goto fail;
635 STAILQ_FOREACH(graph, &graph_list, next)
636 if (graph->id == id)
637 return graph->name;
638
639fail:
640 return NULL;
641}
642
643struct rte_node *
644rte_graph_node_get(rte_graph_t gid, uint32_t nid)

Callers 4

_graph_perf_wrapperFunction · 0.85
measure_perf_getFunction · 0.85
test_graph_cloneFunction · 0.85

Calls 1

graph_from_idFunction · 0.85

Tested by 3

_graph_perf_wrapperFunction · 0.68
measure_perf_getFunction · 0.68
test_graph_cloneFunction · 0.68