diff --git a/autobuild.sh b/autobuild.sh index 4b8a55370..664c771de 100755 --- a/autobuild.sh +++ b/autobuild.sh @@ -142,8 +142,8 @@ function build_native_dpdk() { DPDK_DRIVERS+=("crypto/qat") DPDK_DRIVERS+=("compress/qat") DPDK_DRIVERS+=("common/qat") - # 22.03.0 is version of DPDK with stable support for mlx5 crypto. - if ge "$dpdk_ver" 22.03.0; then + # 21.11.0 is version of DPDK with stable support for mlx5 crypto. + if ge "$dpdk_ver" 21.11.0; then # SPDK enables CRYPTO_MLX in case supported version of DPDK is detected # so make sure proper libs are built. DPDK_DRIVERS+=("bus/auxiliary") diff --git a/configure b/configure index 8974820dc..0ca5c9c4c 100755 --- a/configure +++ b/configure @@ -957,8 +957,8 @@ if [[ "${CONFIG[CRYPTO]}" = "y" ]]; then if [[ $dpdk_ver = "none" ]]; then echo "Cannot get DPDK version, so disabling DPDK mlx5_pci crypto PMD" CONFIG[CRYPTO_MLX5]="n" - elif [[ -n $dpdk_ver ]] && lt "$dpdk_ver" 22.03.0; then - # mlx5_pci for crypto is supported by DPDK >- 22.03.0 + elif [[ -n $dpdk_ver ]] && lt "$dpdk_ver" 21.11.0; then + # mlx5_pci for crypto is supported by DPDK >- 21.11.0 echo "DPDK version ${dpdk_ver} doesn't support mlx5_pci crypto PMD" CONFIG[CRYPTO_MLX5]="n" elif [[ -n ${CONFIG[DPDK_LIB_DIR]} ]] && [ ! -f "${CONFIG[DPDK_LIB_DIR]}"/librte_crypto_mlx5.so ]; then