1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(C) 2020 Marvell International Ltd. 3 */ 4 5 #include <rte_graph.h> 6 7 static uint16_t 8 null(struct rte_graph *graph, struct rte_node *node, void **objs, 9 uint16_t nb_objs) 10 { 11 RTE_SET_USED(node); 12 RTE_SET_USED(objs); 13 RTE_SET_USED(graph); 14 15 return nb_objs; 16 } 17 18 static struct rte_node_register null_node = { 19 .name = "null", 20 .process = null, 21 }; 22 23 RTE_NODE_REGISTER(null_node); 24