| 60 | }; |
| 61 | |
| 62 | static struct test_node_data * |
| 63 | graph_get_node_data(struct test_graph_perf *graph_data, rte_node_t id) |
| 64 | { |
| 65 | struct test_node_data *node_data = NULL; |
| 66 | int i; |
| 67 | |
| 68 | for (i = 0; i < graph_data->nb_nodes; i++) |
| 69 | if (graph_data->node_data[i].node_id == id) { |
| 70 | node_data = &graph_data->node_data[i]; |
| 71 | break; |
| 72 | } |
| 73 | |
| 74 | return node_data; |
| 75 | } |
| 76 | |
| 77 | static int |
| 78 | test_node_ctx_init(const struct rte_graph *graph, struct rte_node *node) |
no outgoing calls
no test coverage detected