f-stack/dpdk/app/test-pmd/meson.build

77 lines
1.7 KiB
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
# override default name to drop the hyphen
name = 'testpmd'
cflags += '-Wno-deprecated-declarations'
2022-09-06 04:00:10 +00:00
sources = files(
'5tswap.c',
'cmdline.c',
'cmdline_flow.c',
'cmdline_mtr.c',
'cmdline_tm.c',
'cmd_flex_item.c',
'config.c',
'csumonly.c',
'flowgen.c',
'icmpecho.c',
'ieee1588fwd.c',
'iofwd.c',
'macfwd.c',
'macswap.c',
'noisy_vnf.c',
'parameters.c',
'rxonly.c',
'shared_rxq_fwd.c',
'testpmd.c',
'txonly.c',
'util.c',
)
2019-06-25 11:12:58 +00:00
2022-09-06 04:00:10 +00:00
if dpdk_conf.has('RTE_HAS_JANSSON')
ext_deps += jansson_dep
endif
deps += ['ethdev', 'cmdline', 'bus_pci']
2022-09-02 04:40:05 +00:00
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
2022-09-06 04:00:10 +00:00
deps += 'crypto_scheduler'
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
2022-09-06 04:00:10 +00:00
deps += 'bitratestats'
2021-01-28 17:08:59 +00:00
endif
2022-09-02 04:40:05 +00:00
if dpdk_conf.has('RTE_LIB_BPF')
sources += files('bpf_cmd.c')
deps += 'bpf'
endif
2022-09-06 04:00:10 +00:00
if dpdk_conf.has('RTE_LIB_GRO')
deps += 'gro'
endif
if dpdk_conf.has('RTE_LIB_GSO')
deps += 'gso'
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
2022-09-06 04:00:10 +00:00
deps += 'latencystats'
endif
if dpdk_conf.has('RTE_LIB_METRICS')
deps += 'metrics'
2021-01-28 17:08:59 +00:00
endif
2022-09-02 04:40:05 +00:00
if dpdk_conf.has('RTE_LIB_PDUMP')
2022-09-06 04:00:10 +00:00
deps += 'pdump'
2021-01-28 17:08:59 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_BOND')
2022-09-06 04:00:10 +00:00
deps += 'net_bond'
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_BNXT')
2022-09-06 04:00:10 +00:00
deps += 'net_bnxt'
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_I40E')
2022-09-06 04:00:10 +00:00
deps += 'net_i40e'
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_IXGBE')
2023-09-11 06:58:14 +00:00
cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
2022-09-06 04:00:10 +00:00
deps += 'net_ixgbe'
2019-06-25 11:12:58 +00:00
endif
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_DPAA')
2022-09-06 04:00:10 +00:00
deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
2019-06-25 11:12:58 +00:00
endif