f-stack/dpdk/drivers/crypto/cnxk/meson.build

36 lines
926 B
Meson
Raw Normal View History

2022-09-06 04:00:10 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(C) 2021 Marvell.
#
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
sources = files(
'cn9k_cryptodev.c',
'cn9k_cryptodev_ops.c',
'cn9k_ipsec.c',
'cn10k_cryptodev.c',
'cn10k_cryptodev_ops.c',
'cn10k_ipsec.c',
'cnxk_cryptodev.c',
'cnxk_cryptodev_capabilities.c',
'cnxk_cryptodev_devargs.c',
'cnxk_cryptodev_ops.c',
'cnxk_cryptodev_sec.c',
)
deps += ['bus_pci', 'common_cnxk', 'security', 'eventdev']
2023-09-13 12:21:49 +00:00
includes += include_directories('../../../lib/net', '../../event/cnxk')
2022-09-06 04:00:10 +00:00
if get_option('buildtype').contains('debug')
2023-09-13 12:21:49 +00:00
cflags += [ '-DLA_IPSEC_DEBUG','-DCNXK_CRYPTODEV_DEBUG' ]
2022-09-06 04:00:10 +00:00
else
2023-09-13 12:21:49 +00:00
cflags += [ '-ULA_IPSEC_DEBUG','-UCNXK_CRYPTODEV_DEBUG' ]
2022-09-06 04:00:10 +00:00
endif
2023-09-13 12:21:49 +00:00
pmd_supports_disable_iova_as_pa = true