net/cnxk: support all multicast
[dpdk.git] / drivers / net / cnxk / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2021 Marvell.
3 #
4
5 if not dpdk_conf.get('RTE_ARCH_64')
6     build = false
7     reason = 'only supported on 64-bit'
8     subdir_done()
9 endif
10
11 sources = files(
12         'cnxk_ethdev.c',
13         'cnxk_ethdev_devargs.c',
14         'cnxk_ethdev_ops.c',
15         'cnxk_link.c',
16         'cnxk_lookup.c',
17 )
18
19 # CN9K
20 sources += files(
21         'cn9k_ethdev.c',
22         'cn9k_rx.c',
23         'cn9k_rx_mseg.c',
24         'cn9k_rx_vec.c',
25         'cn9k_tx.c',
26         'cn9k_tx_mseg.c',
27         'cn9k_tx_vec.c',
28 )
29 # CN10K
30 sources += files(
31         'cn10k_ethdev.c',
32         'cn10k_rx.c',
33         'cn10k_rx_mseg.c',
34         'cn10k_rx_vec.c',
35         'cn10k_tx.c',
36         'cn10k_tx_mseg.c',
37         'cn10k_tx_vec.c',
38 )
39
40 deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
41 deps += ['common_cnxk', 'mempool_cnxk']
42
43 # Allow implicit vector conversions and strict aliasing warning
44 extra_flags = ['-flax-vector-conversions', '-Wno-strict-aliasing']
45 foreach flag: extra_flags
46     if cc.has_argument(flag)
47         cflags += flag
48     endif
49 endforeach