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

Function rte_node_clone

dpdk/lib/graph/node.c:159–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159rte_node_t
160rte_node_clone(rte_node_t id, const char *name)
161{
162 struct node *node;
163
164 NODE_ID_CHECK(id);
165 STAILQ_FOREACH(node, &node_list, next)
166 if (node->id == id)
167 return node_clone(node, name);
168
169fail:
170 return RTE_NODE_ID_INVALID;
171}
172
173rte_node_t
174rte_node_from_name(const char *name)

Callers 4

rte_node_eth_configFunction · 0.85
graph_node_getFunction · 0.85
test_node_cloneFunction · 0.85
test_create_graphFunction · 0.85

Calls 1

node_cloneFunction · 0.85

Tested by 3

graph_node_getFunction · 0.68
test_node_cloneFunction · 0.68
test_create_graphFunction · 0.68