app/testpmd: add forwarding engine for shared Rx queue
[dpdk.git] / app / test-pmd / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 # override default name to drop the hyphen
5 name = 'testpmd'
6 cflags += '-Wno-deprecated-declarations'
7 sources = files(
8         '5tswap.c',
9         'cmdline.c',
10         'cmdline_flow.c',
11         'cmdline_mtr.c',
12         'cmdline_tm.c',
13         'cmd_flex_item.c',
14         'config.c',
15         'csumonly.c',
16         'flowgen.c',
17         'icmpecho.c',
18         'ieee1588fwd.c',
19         'iofwd.c',
20         'macfwd.c',
21         'macswap.c',
22         'noisy_vnf.c',
23         'parameters.c',
24         'rxonly.c',
25         'shared_rxq_fwd.c',
26         'testpmd.c',
27         'txonly.c',
28         'util.c',
29 )
30
31 deps += ['ethdev', 'gro', 'gso', 'cmdline', 'metrics', 'meter', 'bus_pci']
32 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
33     deps += 'bitratestats'
34 endif
35 if dpdk_conf.has('RTE_LIB_PDUMP')
36     deps += 'pdump'
37 endif
38 if dpdk_conf.has('RTE_LIB_BITRATESTATS')
39     deps += 'bitratestats'
40 endif
41 if dpdk_conf.has('RTE_LIB_LATENCYSTATS')
42     deps += 'latencystats'
43 endif
44 if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
45     deps += 'crypto_scheduler'
46 endif
47 if dpdk_conf.has('RTE_NET_BOND')
48     deps += 'net_bond'
49 endif
50 if dpdk_conf.has('RTE_NET_BNXT')
51     deps += 'net_bnxt'
52 endif
53 if dpdk_conf.has('RTE_NET_I40E')
54     deps += 'net_i40e'
55 endif
56 if dpdk_conf.has('RTE_NET_IXGBE')
57     deps += 'net_ixgbe'
58 endif
59 if dpdk_conf.has('RTE_NET_DPAA')
60     deps += ['bus_dpaa', 'mempool_dpaa', 'net_dpaa']
61 endif
62 if dpdk_conf.has('RTE_LIB_BPF')
63     sources += files('bpf_cmd.c')
64     deps += 'bpf'
65 endif
66 jansson_dep = dependency('jansson', required: false, method: 'pkg-config')
67 if jansson_dep.found()
68     dpdk_conf.set('RTE_HAS_JANSSON', 1)
69     ext_deps += jansson_dep
70 endif