From 809edd5270e8a22f2c29d711203d579fdf7addfb Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Sat, 1 Jul 2023 13:12:31 +0200 Subject: fix rte_crypto_ipsec_mb dependency In order to use the cryptodev API, the rte_crypto_ipsec_mb library needs to be installed. When that library is installed, the change in meson.build will now make sure that handle_esp.c is also compiled, and the 2 PROX modes (esp_enc & esp_dec) become available for use in the PROX config files. Signed-off-by: Luc Provoost Change-Id: Ida7f742cd3189437f25fc5e45cf48ba0d20ba7d1 --- VNFs/DPPD-PROX/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'VNFs') diff --git a/VNFs/DPPD-PROX/meson.build b/VNFs/DPPD-PROX/meson.build index 15a55691..48251e8d 100644 --- a/VNFs/DPPD-PROX/meson.build +++ b/VNFs/DPPD-PROX/meson.build @@ -178,7 +178,8 @@ sources = files( sources += files('rw_reg.c') # Include a couple of source files depending on DPDK support -if cc.find_library('rte_pmd_aesni', required: false).found() +if cc.find_library('rte_crypto_ipsec_mb', required: false).found() + add_project_arguments('-DRTE_LIBRTE_PMD_AESNI_MB', language: 'c') sources += files('handle_esp.c') else warning('Building w/o IPSEC support') -- cgit 1.2.3-korg