| 121 | } |
| 122 | |
| 123 | struct rte_node * |
| 124 | graph_node_name_to_ptr(const struct rte_graph *graph, const char *name) |
| 125 | { |
| 126 | rte_node_t count; |
| 127 | rte_graph_off_t off; |
| 128 | struct rte_node *node; |
| 129 | |
| 130 | rte_graph_foreach_node(count, off, graph, node) |
| 131 | if (strncmp(name, node->name, RTE_NODE_NAMESIZE) == 0) |
| 132 | return node; |
| 133 | |
| 134 | return NULL; |
| 135 | } |
| 136 | |
| 137 | static int |
| 138 | graph_node_nexts_populate(struct graph *_graph) |
no test coverage detected