summaryrefslogtreecommitdiffstats
path: root/VNFs
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@gmail.com>2023-07-01 13:12:31 +0200
committerLuc Provoost <luc.provoost@gmail.com>2023-07-01 13:12:31 +0200
commit809edd5270e8a22f2c29d711203d579fdf7addfb (patch)
tree1a346507af23ce13c074f90f6d0fbc0213f0e65e /VNFs
parent439ab3d170f1a41e127a904bc5cbab1df39104ff (diff)
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 <luc.provoost@gmail.com> Change-Id: Ida7f742cd3189437f25fc5e45cf48ba0d20ba7d1
Diffstat (limited to 'VNFs')
-rw-r--r--VNFs/DPPD-PROX/meson.build3
1 files changed, 2 insertions, 1 deletions
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')