1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2019 Marvell International Ltd.
5 sources = files('otx2_rx.c',
24 'otx2_ethdev_debug.c',
25 'otx2_ethdev_devargs.c'
28 deps += ['bus_pci', 'cryptodev', 'eventdev', 'security']
29 deps += ['common_octeontx2', 'mempool_octeontx2']
31 extra_flags = ['-flax-vector-conversions']
32 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
33 if not dpdk_conf.get('RTE_ARCH_64')
34 extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
37 foreach flag: extra_flags
38 if cc.has_argument(flag)
43 includes += include_directories('../../common/cpt')
44 includes += include_directories('../../crypto/octeontx2')