99a2dd955f
There is no reason for the DPDK libraries to all have 'librte_' prefix on the directory names. This prefix makes the directory names longer and also makes it awkward to add features referring to individual libraries in the build - should the lib names be specified with or without the prefix. Therefore, we can just remove the library prefix and use the library's unique name as the directory name, i.e. 'eal' rather than 'librte_eal' Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
24 lines
421 B
C
24 lines
421 B
C
/* 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);
|