agent-enviroments/builder/libs/seastar/dpdk/lib/node/meson.build
2024-09-10 17:06:08 +03:00

34 lines
780 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(C) 2020 Marvell International Ltd.
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
sources = files(
'ethdev_ctrl.c',
'ethdev_rx.c',
'ethdev_tx.c',
'ip4_lookup.c',
'ip4_rewrite.c',
'ip6_lookup.c',
'ip6_rewrite.c',
'kernel_rx.c',
'kernel_tx.c',
'log.c',
'null.c',
'pkt_cls.c',
'pkt_drop.c',
)
headers = files(
'rte_node_eth_api.h',
'rte_node_ip4_api.h',
'rte_node_ip6_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']