autobuild: Enable mlx5 drivers for supported DPDK versions
Signed-off-by: Michal Berger <michalx.berger@intel.com> Change-Id: I224fa7d01286a68afecaca6e4afddcf7e966fed5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9559 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
c2de56b0a1
commit
bf988beba5
@ -118,6 +118,14 @@ function build_native_dpdk() {
|
||||
DPDK_DRIVERS+=("compress/isal")
|
||||
DPDK_DRIVERS+=("compress/qat")
|
||||
DPDK_DRIVERS+=("common/qat")
|
||||
if ge "$(< "$external_dpdk_base_dir/VERSION")" 21.02.0; then
|
||||
# SPDK enables REDUCE_MLX in case supported version of DPDK is detected
|
||||
# so make sure proper libs are built.
|
||||
DPDK_DRIVERS+=("bus/auxiliary")
|
||||
DPDK_DRIVERS+=("common/mlx5")
|
||||
DPDK_DRIVERS+=("common/mlx5/linux")
|
||||
DPDK_DRIVERS+=("compress/mlx5")
|
||||
fi
|
||||
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$isal_dir/build/lib/pkgconfig"
|
||||
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$isal_dir/build/lib"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user