summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_node/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_node/meson.build')
-rw-r--r--src/spdk/dpdk/lib/librte_node/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_node/meson.build b/src/spdk/dpdk/lib/librte_node/meson.build
new file mode 100644
index 000000000..c8b70befb
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_node/meson.build
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(C) 2020 Marvell International Ltd.
+
+sources = files('null.c', 'log.c', 'ethdev_rx.c', 'ethdev_tx.c', 'ip4_lookup.c',
+ 'ip4_rewrite.c', 'pkt_drop.c', 'ethdev_ctrl.c')
+headers = files('rte_node_ip4_api.h', 'rte_node_eth_api.h')
+# Strict-aliasing rules are violated by uint8_t[] to context size casts.
+cflags += '-fno-strict-aliasing'
+deps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev']
+build = false
+reason = 'not needed by SPDK'