2020-04-11 14:14:14 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(C) 2020 Marvell International Ltd.
|
|
|
|
|
2021-10-20 11:25:54 +00:00
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2021-04-20 10:22:24 +00:00
|
|
|
sources = files(
|
|
|
|
'ethdev_ctrl.c',
|
|
|
|
'ethdev_rx.c',
|
|
|
|
'ethdev_tx.c',
|
|
|
|
'ip4_lookup.c',
|
|
|
|
'ip4_rewrite.c',
|
|
|
|
'log.c',
|
|
|
|
'null.c',
|
|
|
|
'pkt_cls.c',
|
|
|
|
'pkt_drop.c',
|
|
|
|
)
|
2020-04-11 14:14:18 +00:00
|
|
|
headers = files('rte_node_ip4_api.h', 'rte_node_eth_api.h')
|
2020-04-11 14:14:14 +00:00
|
|
|
# Strict-aliasing rules are violated by uint8_t[] to context size casts.
|
|
|
|
cflags += '-fno-strict-aliasing'
|
2020-04-11 14:14:17 +00:00
|
|
|
deps += ['graph', 'mbuf', 'lpm', 'ethdev', 'mempool', 'cryptodev']
|