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

Function rte_graph_clone

dpdk/lib/graph/graph.c:601–614  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601rte_graph_t
602rte_graph_clone(rte_graph_t id, const char *name, struct rte_graph_param *prm)
603{
604 struct graph *graph;
605
606 if (graph_from_id(id) == NULL)
607 goto fail;
608 STAILQ_FOREACH(graph, &graph_list, next)
609 if (graph->id == id)
610 return graph_clone(graph, name, prm);
611
612fail:
613 return RTE_GRAPH_ID_INVALID;
614}
615
616rte_graph_t
617rte_graph_from_name(const char *name)

Calls 2

graph_from_idFunction · 0.85
graph_cloneFunction · 0.85