crypto/cnxk: add max queue pairs limit option
[dpdk.git] / drivers / crypto / cnxk / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(C) 2021 Marvell.
3 #
4
5 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
6         build = false
7         reason = 'only supported on 64-bit Linux'
8         subdir_done()
9 endif
10
11 sources = files(
12         'cn9k_cryptodev.c',
13         'cn9k_cryptodev_ops.c',
14         'cn9k_ipsec.c',
15         'cn10k_cryptodev.c',
16         'cn10k_cryptodev_ops.c',
17         'cn10k_ipsec.c',
18         'cnxk_cryptodev.c',
19         'cnxk_cryptodev_capabilities.c',
20         'cnxk_cryptodev_devargs.c',
21         'cnxk_cryptodev_ops.c',
22         'cnxk_cryptodev_sec.c',
23 )
24
25 deps += ['bus_pci', 'common_cnxk', 'security', 'eventdev']
26
27 includes += include_directories('../../../lib/net')
28
29 if get_option('buildtype').contains('debug')
30     cflags += [ '-DLA_IPSEC_DEBUG' ]
31 else
32     cflags += [ '-ULA_IPSEC_DEBUG' ]
33 endif