examples/ipsec-secgw: enable CPU crypto fallback
[dpdk.git] / examples / ipsec-secgw / test / tun_aesgcm_inline_crypto_fallback_defs.sh
index 97b9431..e098bd3 100644 (file)
@@ -3,4 +3,8 @@
 
 . ${DIR}/tun_aesgcm_defs.sh
 
-SGW_CFG_XPRM_IN='port_id 0 type inline-crypto-offload fallback lookaside-none'
+if [[ -z "${CRYPTO_FLBK_TYPE}" ]]; then
+       CRYPTO_FLBK_TYPE="fallback lookaside-none"
+fi
+
+SGW_CFG_XPRM_IN="port_id 0 type inline-crypto-offload ${CRYPTO_FLBK_TYPE}"