crypto/qat: fix cipher descriptor for ZUC and SNOW
[dpdk.git] / examples / ipsec-secgw / test / trs_aesgcm_inline_crypto_fallback_defs.sh
index 875a745..c00a5ba 100644 (file)
@@ -1,5 +1,10 @@
 #! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
 
 . ${DIR}/trs_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}"