mlnx-ofa_kernel: upgraded the related packages

This upgrades the OFED driver related packages to the ones that are
located in https://linux.mellanox.com/public/repo/mlnx_ofed/5.9-0.5.6.0/SRPMS/
That includes rdma-core and the mlnx-tools package that
mlnx-ofa_kernel depends on, and the firmware tool mstflint.

The new versions are:
    mlnx-ofa_kernel-5.9.tgz
    rdma-core-59mlnx44.tgz
    mstflint-4.16.1-2.tar.gz
    mlnx-tools-5.2.0.tar.gz

Verification:
- Install onto a StarlingX system with two controller and two compute
  nodes with network adapters Mellanox's OFED. The network adapters
  of controllers are Mellanox Technologies MT27710 Family
  [ConnectX-4 Lx], the network adapters of computes are Mellanox
  Technologies MT27800 Family [ConnectX-5].
- Use mstflint to query the firmware on the device.
- Use mstflint to verify firmware.
- Use mstconfig to query configurations.
- Use mstvpd to dump the on-card VPD.
- Use mstregdump to dump hardware registers from Mellanox hardware.
- RDMA/Infiniband over Ethernet functionalities of the Mellanox adapters
  were successfully tested using the Linux RDMA community's perftest
  package.

Story: 2010958
Task: 49056

Depends-On: https://review.opendev.org/c/starlingx/kernel/+/900742

Change-Id: I7811eb10682e204225933316cd45a0ea8e84fb96
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
This commit is contained in:
Jiping Ma 2023-11-07 00:03:47 -08:00 committed by M. Vefa Bicakci
parent 9f51fddb27
commit 5f3e3f5a52
7 changed files with 21 additions and 56 deletions

View File

@ -1,9 +1,9 @@
From c41924f7bf26cef66ab1038e5723c56a3a070058 Mon Sep 17 00:00:00 2001
From 102c8648edf5271262c8488721f61182f0adca54 Mon Sep 17 00:00:00 2001
From: Jiping Ma <jiping.ma2@windriver.com>
Date: Mon, 11 Apr 2022 02:07:30 -0700
Date: Sun, 5 Nov 2023 18:51:31 -0800
Subject: [PATCH] mlnx-tools: Fix the build error.
This changes 5.2.0 from 5.2.0-OFED.5.5.1.0.3 in changelog to
This changes 5.2.0 from 5.2.0-OFED.5.9.0.5.5 in changelog to
fix the following build error.
debrepack - ERROR - dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
@ -19,22 +19,21 @@ debrepack - ERROR - dpkg-source: error: can't build with source format '3.0 (nat
debrepack - ERROR - dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25
debrepack - ERROR - dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25
debrepack - ERROR - [ Failed - "cd /localdisk/loadbuild/jma1/stx/std/mlnx-tools/mlnx-tools-5.2.0; dpkg-buildpackage -nc -us -uc -S -d" ]
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
---
debian/changelog | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c49bb20..c9b4370 100644
index 41fed5c..c9b4370 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mlnx-tools (5.2.0-OFED.5.5.1.0.3) UNRELEASED; urgency=medium
-mlnx-tools (5.2.0-OFED.5.9.0.5.5) UNRELEASED; urgency=medium
+mlnx-tools (5.2.0) UNRELEASED; urgency=medium
* Switched to a MLNX_OFED branch
* Native package
--
2.35.1
2.42.0

View File

@ -4,9 +4,8 @@ debname: mlnx-tools
dl_path:
name: mlnx-tools-5.2.0.tar.gz
url: "https://linux.mellanox.com/public/repo/mlnx_ofed/\
5.5-1.0.3.2/SRPMS/mlnx-tools-5.2.0.tar.gz"
md5sum: 57523d5944fb936dad4c76311629b04a
sha256sum: db0246a22ffe0e75f64dfb41736ea4a21931f4f67fb971f519834eeab9176932
5.9-0.5.6.0/SRPMS/mlnx-tools-5.2.0.tar.gz"
sha256sum: 98ce9bef16a3ad9a392015bffbf079efe3260519db14912a02f5db59f10bec2e
revision:
dist: $STX_DIST
GITREVCOUNT:

View File

@ -1,6 +1,6 @@
From 6a0f5be8d7e5fa84b37a6dacce4a412f51681e6c Mon Sep 17 00:00:00 2001
From 36bffae92e0589ba57b675d7c78ec4be127b4c5f Mon Sep 17 00:00:00 2001
From: Jiping Ma <jiping.ma2@windriver.com>
Date: Thu, 7 Apr 2022 02:31:29 -0700
Date: Sun, 5 Nov 2023 18:31:38 -0800
Subject: [PATCH] mstflint: Fix the build errors.
This adds the dependence libibmad-devel, zlib1g-dev, libssl-dev
@ -17,7 +17,7 @@ Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 65bf6c3..0075a1d 100644
index 65bf6c3..32cb1db 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: mstflint
@ -25,10 +25,10 @@ index 65bf6c3..0075a1d 100644
Priority: extra
Maintainer: Gal Sivan <gsivan@unknown>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, libibmad-devel, zlib1g-dev, libssl-dev
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, libibmad-dev, zlib1g-dev, libssl-dev
Standards-Version: 3.9.2
Homepage: http://www.mellanox.com
#Vcs-Git: git://git.debian.org/collab-maint/mstflint.git
--
2.35.1
2.42.0

View File

@ -1,30 +0,0 @@
From d4d1a5ece7ba37901f34a25b97f44119f5508954 Mon Sep 17 00:00:00 2001
From: Jiping Ma <jiping.ma2@windriver.com>
Date: Wed, 31 Aug 2022 21:56:56 -0700
Subject: [PATCH] mstflint: Rename libibmad-devel to libibmad-dev.
jenkins build failed with the error ": Depends: libibmad-devel
but it is not installable". As the error message indicates we
correct this error by renaming libibmad-devel to libibmad-dev.
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
---
debian/control | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/control b/debian/control
index 0075a1d..32cb1db 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: mstflint
Section: net
Priority: extra
Maintainer: Gal Sivan <gsivan@unknown>
-Build-Depends: debhelper (>= 8.0.0), autotools-dev, libibmad-devel, zlib1g-dev, libssl-dev
+Build-Depends: debhelper (>= 8.0.0), autotools-dev, libibmad-dev, zlib1g-dev, libssl-dev
Standards-Version: 3.9.2
Homepage: http://www.mellanox.com
#Vcs-Git: git://git.debian.org/collab-maint/mstflint.git
--
2.35.1

View File

@ -1,2 +1 @@
0001-mstflint-Fix-the-build-errors.patch
0001-mstflint-Rename-libibmad-devel-to-libibmad-dev.patch

View File

@ -1,12 +1,11 @@
---
debver: 4.16.0-1
debver: 4.16.1-2
debname: mstflint
dl_path:
name: mstflint-4.16.0-1.tar.gz
name: mstflint-4.16.1-2.tar.gz
url: "https://linux.mellanox.com/public/repo/mlnx_ofed/\
5.5-1.0.3.2/SRPMS/mstflint-4.16.0-1.tar.gz"
md5sum: 951e5feb94a1e5ac3e121d1d3f66fee0
sha256sum: d24ea5b2265ad6260e142add4b87ac869a2e4414c66a2922017b4ad11f4f1fed
5.9-0.5.6.0/SRPMS/mstflint-4.16.1-2.tar.gz"
sha256sum: 8930fd984b46f8a659ded60ed8ef09e537c9713c859af02803bfea4033cec24e
revision:
dist: $STX_DIST
GITREVCOUNT:

View File

@ -1,12 +1,11 @@
---
debver: 55mlnx37
debver: 59mlnx44
debname: rdma-core
dl_path:
name: rdma-core-55mlnx37.tgz
name: rdma-core-59mlnx44.tgz
url: "https://linux.mellanox.com/public/repo/mlnx_ofed/\
5.5-1.0.3.2/SRPMS/rdma-core-55mlnx37.tgz"
md5sum: 3ef7bc6e2e44029836c8731571cb219b
sha256sum: 865726dce11113b89d4563e5bc988dccf507d8f687ee6550dd2b0cede116465c
5.9-0.5.6.0/SRPMS/rdma-core-59mlnx44.tgz"
sha256sum: 49e8d5b95e35679ce01ad143ac39b23f01cc2499ec68d2a1556e349244f3fd95
revision:
dist: $STX_DIST
GITREVCOUNT: