#
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
- build = false
- reason = 'only supported on 64-bit Linux'
- subdir_done()
+ 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']
+deps += ['bus_pci', 'common_cnxk', 'security', 'eventdev']
+
+includes += include_directories('../../../lib/net')
+
+if get_option('buildtype').contains('debug')
+ cflags += [ '-DLA_IPSEC_DEBUG' ]
+else
+ cflags += [ '-ULA_IPSEC_DEBUG' ]
+endif