703178f89c
Move related specific testpmd commands into this driver directory. While at it, fix checkpatch warnings. Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
78 lines
1.7 KiB
Meson
78 lines
1.7 KiB
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
# override default name to drop the hyphen
|
|
name = 'testpmd'
|
|
cflags += '-Wno-deprecated-declarations'
|
|
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',
|
|
)
|
|
|
|
if dpdk_conf.has('RTE_HAS_JANSSON')
|
|
ext_deps += jansson_dep
|
|
endif
|
|
|
|
deps += ['ethdev', 'cmdline', 'bus_pci']
|
|
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
|
|
deps += 'crypto_scheduler'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_BITRATESTATS')
|
|
deps += 'bitratestats'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_BPF')
|
|
sources += files('bpf_cmd.c')
|
|
deps += 'bpf'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_GRO')
|
|
deps += 'gro'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_GSO')
|
|
deps += 'gso'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
|
|
deps += 'latencystats'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_METRICS')
|
|
deps += 'metrics'
|
|
endif
|
|
if dpdk_conf.has('RTE_LIB_PDUMP')
|
|
deps += 'pdump'
|
|
endif
|
|
if dpdk_conf.has('RTE_NET_BNXT')
|
|
deps += 'net_bnxt'
|
|
endif
|
|
if dpdk_conf.has('RTE_NET_I40E')
|
|
deps += 'net_i40e'
|
|
endif
|
|
if dpdk_conf.has('RTE_NET_IXGBE')
|
|
deps += 'net_ixgbe'
|
|
endif
|
|
if dpdk_conf.has('RTE_NET_DPAA')
|
|
deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
|
|
endif
|
|
|
|
# Driver-specific commands are located in driver directories.
|
|
includes = include_directories('.')
|
|
sources += testpmd_drivers_sources
|
|
deps += testpmd_drivers_deps
|