configure: Enable MLX5 AES_XTS on DPDK >= 21.11.0
Tested MLX5 AES_XTS on DPDK 21.11.0, it works fine and this version of DPDK can be used as the minimal required version for MLX5 AES_XTS. Signed-off-by: Yuriy Umanets <yumanets@nvidia.com> Change-Id: Ib7fd57695c51f3e10f5ec443ade06091e741414a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12147 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
872e0e4690
commit
8a2fc789f2
@ -142,8 +142,8 @@ function build_native_dpdk() {
|
|||||||
DPDK_DRIVERS+=("crypto/qat")
|
DPDK_DRIVERS+=("crypto/qat")
|
||||||
DPDK_DRIVERS+=("compress/qat")
|
DPDK_DRIVERS+=("compress/qat")
|
||||||
DPDK_DRIVERS+=("common/qat")
|
DPDK_DRIVERS+=("common/qat")
|
||||||
# 22.03.0 is version of DPDK with stable support for mlx5 crypto.
|
# 21.11.0 is version of DPDK with stable support for mlx5 crypto.
|
||||||
if ge "$dpdk_ver" 22.03.0; then
|
if ge "$dpdk_ver" 21.11.0; then
|
||||||
# SPDK enables CRYPTO_MLX in case supported version of DPDK is detected
|
# SPDK enables CRYPTO_MLX in case supported version of DPDK is detected
|
||||||
# so make sure proper libs are built.
|
# so make sure proper libs are built.
|
||||||
DPDK_DRIVERS+=("bus/auxiliary")
|
DPDK_DRIVERS+=("bus/auxiliary")
|
||||||
|
4
configure
vendored
4
configure
vendored
@ -957,8 +957,8 @@ if [[ "${CONFIG[CRYPTO]}" = "y" ]]; then
|
|||||||
if [[ $dpdk_ver = "none" ]]; then
|
if [[ $dpdk_ver = "none" ]]; then
|
||||||
echo "Cannot get DPDK version, so disabling DPDK mlx5_pci crypto PMD"
|
echo "Cannot get DPDK version, so disabling DPDK mlx5_pci crypto PMD"
|
||||||
CONFIG[CRYPTO_MLX5]="n"
|
CONFIG[CRYPTO_MLX5]="n"
|
||||||
elif [[ -n $dpdk_ver ]] && lt "$dpdk_ver" 22.03.0; then
|
elif [[ -n $dpdk_ver ]] && lt "$dpdk_ver" 21.11.0; then
|
||||||
# mlx5_pci for crypto is supported by DPDK >- 22.03.0
|
# mlx5_pci for crypto is supported by DPDK >- 21.11.0
|
||||||
echo "DPDK version ${dpdk_ver} doesn't support mlx5_pci crypto PMD"
|
echo "DPDK version ${dpdk_ver} doesn't support mlx5_pci crypto PMD"
|
||||||
CONFIG[CRYPTO_MLX5]="n"
|
CONFIG[CRYPTO_MLX5]="n"
|
||||||
elif [[ -n ${CONFIG[DPDK_LIB_DIR]} ]] && [ ! -f "${CONFIG[DPDK_LIB_DIR]}"/librte_crypto_mlx5.so ]; then
|
elif [[ -n ${CONFIG[DPDK_LIB_DIR]} ]] && [ ! -f "${CONFIG[DPDK_LIB_DIR]}"/librte_crypto_mlx5.so ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user