| 45 | } |
| 46 | |
| 47 | static void |
| 48 | graph_header_popluate(struct graph *_graph) |
| 49 | { |
| 50 | struct rte_graph *graph = _graph->graph; |
| 51 | |
| 52 | graph->tail = 0; |
| 53 | graph->head = (int32_t)-_graph->src_node_count; |
| 54 | graph->cir_mask = _graph->cir_mask; |
| 55 | graph->nb_nodes = _graph->node_count; |
| 56 | graph->cir_start = RTE_PTR_ADD(graph, _graph->cir_start); |
| 57 | graph->nodes_start = _graph->nodes_start; |
| 58 | graph->socket = _graph->socket; |
| 59 | graph->id = _graph->id; |
| 60 | memcpy(graph->name, _graph->name, RTE_GRAPH_NAMESIZE); |
| 61 | graph->fence = RTE_GRAPH_FENCE; |
| 62 | } |
| 63 | |
| 64 | static void |
| 65 | graph_nodes_populate(struct graph *_graph) |
no test coverage detected