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

Function graph_header_popluate

dpdk/lib/graph/graph_populate.c:47–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static void
48graph_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
64static void
65graph_nodes_populate(struct graph *_graph)

Callers 1

graph_fp_mem_populateFunction · 0.85

Calls 1

memcpyFunction · 0.50

Tested by

no test coverage detected