Upgrade mellanox drivers to 4.7-3.2.9.0 to support CentOS 8.1

(cherry picked from commit e14efd21d02f9d2fd2290625107958a84c29f713)

2 modules are upgraded: rdma-core and libibverbs.
driver sign method is updated to align with 4.18 kernel.

Change-Id: I446a319d682d50f7e6f08b53b902f31309eb8ecf
Story: 2007308
Task: 38805
Task: 38806
Depends-On: https://review.opendev.org/720325
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Signed-off-by: Dongqi Chen <chen.dq@neusoft.com>
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Dongqi Chen
2020-04-16 15:13:20 +08:00
committed by Scott Little
parent aeb5ec6649
commit b23443c0e3
6 changed files with 50 additions and 36 deletions

View File

@@ -2,17 +2,20 @@ From 70c67a459f94f65e33e6eaf5ca2120dd2dc8de78 Mon Sep 17 00:00:00 2001
Message-Id: <70c67a459f94f65e33e6eaf5ca2120dd2dc8de78.1527783193.git.Jim.Somerville@windriver.com>
From: eric zhang <eric.zhang@windriver.com>
Date: Wed, 14 Mar 2018 14:56:21 -0400
Subject: [PATCH 1/1] Add build dependencies and package versioning for TiS
format
Subject: [PATCH] Add build dependencies and package versioning for TiS format
Force disable python3 to avoid random build failure due to go to
python3 path.
Signed-off-by: eric zhang <eric.zhang@windriver.com>
Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
---
SPECS/rdma-core.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
SPECS/rdma-core.spec | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/SPECS/rdma-core.spec b/SPECS/rdma-core.spec
index 7f9cd5b..6d81a28 100644
index 1f8af03..bd0e7a5 100644
--- a/SPECS/rdma-core.spec
+++ b/SPECS/rdma-core.spec
@@ -1,3 +1,9 @@
@@ -23,28 +26,38 @@ index 7f9cd5b..6d81a28 100644
+%endif
+
%{!?cmake: %global cmake cmake}
%{!?_udevrulesdir: %global _udevrulesdir /etc/udev/rules.d}
@@ -8,7 +14,7 @@
%{!?make_jobs: %global make_jobs make VERBOSE=1 %{?_smp_mflags}}
%{!?cmake_install: %global cmake_install DESTDIR=%{buildroot} make install}
@@ -15,7 +21,7 @@
Name: rdma-core
Version: 45mlnx1
-Release: 1%{?dist}.45101
+Release: 1.45101%{?_tis_dist}.%{tis_patch_ver}
Version: 47mlnx1
-Release: 1%{?dist}.47329
+Release: 1.47329%{?_tis_dist}.%{tis_patch_ver}
Summary: RDMA core userspace libraries and daemons
Group: System Environment/Libraries
@@ -26,7 +32,9 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: binutils
BuildRequires: gcc
BuildRequires: python
-
@@ -62,6 +68,9 @@ BuildRequires: python
%if 0%{?fedora} >= 21
BuildRequires: perl-generators
%endif
+BuildRequires: cmake
+BuildRequires: libnl3-devel
+BuildRequires: mlnx-ofa_kernel%{?bt_ext}-devel
Requires: dracut, kmod, systemd
# Red Hat/Fedora previously shipped redhat/ as a stand-alone
# package called 'rdma', which we're supplanting here.
Provides: rdma = %{version}-%{release}
@@ -351,10 +360,6 @@ easy, object-oriented access to IB verbs.
-DENABLE_STATIC=1 \
%endif
%{EXTRA_CMAKE_FLAGS} \
-%if %{defined __python3}
- -DPYTHON_EXECUTABLE:PATH=%{__python3} \
- -DCMAKE_INSTALL_PYTHON_ARCH_LIB:PATH=%{python3_sitearch} \
-%endif
%if %{with_pyverbs}
-DNO_PYVERBS=0
%else
--
1.8.3.1
2.7.4

View File

@@ -1 +1 @@
repo:stx/downloads/rdma-core-45mlnx1-1.45101.src.rpm
repo:stx/downloads/rdma-core-47mlnx1-1.47329.src.rpm