File: null.c

package info (click to toggle)
dpdk 25.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 127,892 kB
  • sloc: ansic: 2,358,479; python: 16,426; sh: 4,474; makefile: 1,713; awk: 70
file content (23 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: BSD-3-Clause
 * Copyright(C) 2020 Marvell International Ltd.
 */

#include <rte_graph.h>

static uint16_t
null(struct rte_graph *graph, struct rte_node *node, void **objs,
	uint16_t nb_objs)
{
	RTE_SET_USED(node);
	RTE_SET_USED(objs);
	RTE_SET_USED(graph);

	return nb_objs;
}

static struct rte_node_register null_node = {
	.name = "null",
	.process = null,
};

RTE_NODE_REGISTER(null_node);