net/octeontx2: create security context
[dpdk.git] / drivers / net / octeontx2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
3 #
4
5 sources = files('otx2_rx.c',
6                 'otx2_tx.c',
7                 'otx2_tm.c',
8                 'otx2_rss.c',
9                 'otx2_mac.c',
10                 'otx2_ptp.c',
11                 'otx2_flow.c',
12                 'otx2_link.c',
13                 'otx2_vlan.c',
14                 'otx2_stats.c',
15                 'otx2_mcast.c',
16                 'otx2_lookup.c',
17                 'otx2_ethdev.c',
18                 'otx2_flow_ctrl.c',
19                 'otx2_flow_parse.c',
20                 'otx2_flow_utils.c',
21                 'otx2_ethdev_irq.c',
22                 'otx2_ethdev_ops.c',
23                 'otx2_ethdev_sec.c',
24                 'otx2_ethdev_debug.c',
25                 'otx2_ethdev_devargs.c'
26                 )
27
28 deps += ['bus_pci', 'cryptodev', 'security']
29 deps += ['common_octeontx2', 'mempool_octeontx2']
30
31 cflags += ['-flax-vector-conversions']
32
33 extra_flags = []
34 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
35 if not dpdk_conf.get('RTE_ARCH_64')
36         extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
37 endif
38
39 foreach flag: extra_flags
40         if cc.has_argument(flag)
41                 cflags += flag
42         endif
43 endforeach