]> git.droids-corp.org - dpdk.git/blobdiff - lib/graph/rte_graph_worker.h
ipc: end multiprocess thread during cleanup
[dpdk.git] / lib / graph / rte_graph_worker.h
index eef77f732adc1234dfce194cd68ff4ccbb88628b..0c0b9c095adfe50ba53244a59e738fb5c2fd3cf9 100644 (file)
@@ -155,7 +155,7 @@ rte_graph_walk(struct rte_graph *graph)
         *      +-----+ <= cir_start + mask
         */
        while (likely(head != graph->tail)) {
-               node = RTE_PTR_ADD(graph, cir_start[(int32_t)head++]);
+               node = (struct rte_node *)RTE_PTR_ADD(graph, cir_start[(int32_t)head++]);
                RTE_ASSERT(node->fence == RTE_GRAPH_FENCE);
                objs = node->objs;
                rte_prefetch0(objs);