Upversion Mellanox driver to ver 5.0

Subversion 2.1.8.1

Includes the associated components, namely
libibverbs and rdma-core.

Passed platform sanity tests on a Wind River lab equipped with
Mellanox cards.

Partial-Bug: 1887556
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
(cherry picked from commit 888ab31e94)

Change-Id: I715b9ac1ce23feb69f21f5988ef2ac0c10f7ebb0
This commit is contained in:
Jim Somerville 2020-07-17 15:40:40 -04:00
parent 98af31dbf8
commit edd694f01a

View File

@ -297,7 +297,7 @@ for line in $(cat $tarball_file); do
popd > /dev/null # pushd $output_tarball
continue
fi
elif [[ "$tarball_name" = 'MLNX_OFED_SRC-4.7-3.2.9.0.tgz' ]]; then
elif [[ "$tarball_name" = 'MLNX_OFED_SRC-5.0-2.1.8.0.tgz' ]]; then
srpm_path="${directory_name}/SRPMS/"
download_package "$tarball_name" "$tarball_url"
if [ $? -ne 0 ]; then
@ -307,9 +307,9 @@ for line in $(cat $tarball_file); do
fi
tar -xf "$tarball_name"
cp "${srpm_path}/mlnx-ofa_kernel-4.7-OFED.4.7.3.2.9.1.g457f064.src.rpm" .
cp "${srpm_path}/rdma-core-47mlnx1-1.47329.src.rpm" .
cp "${srpm_path}/libibverbs-41mlnx1-OFED.4.7.0.0.2.47329.src.rpm" .
cp "${srpm_path}/mlnx-ofa_kernel-5.0-OFED.5.0.2.1.8.1.g5f67178.src.rpm" .
cp "${srpm_path}/rdma-core-50mlnx1-1.50218.src.rpm" .
cp "${srpm_path}/libibverbs-41mlnx1-OFED.5.0.0.0.9.50218.src.rpm" .
# Don't delete the original MLNX_OFED_LINUX tarball.
# We don't use it, but it will prevent re-downloading this file.
# rm -f "$tarball_name"