Bug 2166723

Summary: [RHEL-9.2] mstflint: update package
Product: Red Hat Enterprise Linux 9 Reporter: Kamal Heib <kheib>
Component: mstflintAssignee: Kamal Heib <kheib>
Status: CLOSED ERRATA QA Contact: Afom T. Michael <tmichael>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.2CC: hwkernel-mgr, mschmidt, rdma-dev-team, tmichael
Target Milestone: rcKeywords: Rebase, Triaged
Target Release: 9.2Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: mstflint-4.23.0-2.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:53:33 UTC Type: Component Upgrade
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kamal Heib 2023-02-02 18:22:20 UTC
1. Feature Overview
        a. Name of feature:
           mstflint: update package to 4.23.0

        b. Feature description:
            This feature request is for updating the mstflint package to include the latest bug fixes and features.

2. Feature Details
        a. Architectures: Intel / AMD (x86_64), POWER LE (ppc64le), IBM Z (s390x), 64-bit ARM (aarch64):
           x86_64, ppc64le, aarch64
        b. Bugzilla dependencies:
        c. Drivers or hardware dependencies, including a specific platform or CPU:
             Mellanox ConnectX network cards.
        d. Library or other software dependencies:
        e. Upstream acceptance information, including Linus' kernel version in which the         
           feature appears and the date on which this feature was accepted or is targeted
           for acceptance into Linus' kernel:
        f. External links:
        g. Severity (H,M,L): High (required for Hardware Enablement), Medium, Low:
            High
        h. Feature required by date (for example, the date on which hardware requiring this feature is planned for launch):
3. Business Justification
        a. Why is this feature needed?
            Required to support OEM platforms and customer environments running with Mellanox ConnectX network cards.
        b. What hardware or software does this enable?
            Mellanox ConnectX network cards.
        c. If hardware, is it on-board in a system (eg, LOM) or an add-on card?
            Add-on card.
        d. Business impact?
            OEM platforms and customer environments need this.
        e. What market problems / audience does it address?
4. QE Test Plan
5. Primary contact at Red Hat, email, phone (chat)
        a. Andre Beausoleil 
        b. abeausol
6. Primary contact at Partner, email, phone (chat)
        a. Amir Tzin
        b. atzin

Comment 1 Michal Schmidt 2023-02-03 18:52:49 UTC
mstflint-4.23.0-2.el9 is https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2358316

Comment 2 Afom T. Michael 2023-02-04 07:24:58 UTC
Marking "Verified: Tested" as test with mstflint-4.23.0-2.el9.x86_64 passed. Below is a test result table.

[root@rdma-dev-22 mstflint]$ uname -r
5.14.0-249.el9.x86_64
[root@rdma-dev-22 mstflint]$ rpm -q mstflint 
mstflint-4.23.0-2.el9.x86_64
[root@rdma-dev-22 mstflint]$ ibstatus 
Infiniband device 'mlx5_0' port 1 status:
	default gid:	 fe80:0000:0000:0000:268a:07ff:fe56:b834
	base lid:	 0x0
	sm lid:		 0x0
	state:		 4: ACTIVE
	phys state:	 5: LinkUp
	rate:		 100 Gb/sec (4X EDR)
	link_layer:	 Ethernet

Infiniband device 'mlx5_1' port 1 status:
	default gid:	 fe80:0000:0000:0000:248a:0703:0049:d75c
	base lid:	 0x13
	sm lid:		 0x3
	state:		 4: ACTIVE
	phys state:	 5: LinkUp
	rate:		 56 Gb/sec (4X FDR)
	link_layer:	 InfiniBand

Infiniband device 'mlx5_2' port 1 status:
	default gid:	 fe80:0000:0000:0001:248a:0703:0049:d75d
	base lid:	 0x2c
	sm lid:		 0x1
	state:		 4: ACTIVE
	phys state:	 5: LinkUp
	rate:		 100 Gb/sec (4X EDR)
	link_layer:	 InfiniBand

[root@rdma-dev-22 mstflint]$ lspci  | grep Mellanox
04:00.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
82:00.0 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]
82:00.1 Infiniband controller: Mellanox Technologies MT27700 Family [ConnectX-4]
[root@rdma-dev-22 mstflint]$ 


mstflint test results on rdma-dev-21/rdma-dev-22 & Beaker job J:7497917:
5.14.0-249.el9.x86_64, rdma-core-44.0-2.el9, mlx5, roce, ConnectX-4 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | mstflint -d 04:00.0 q
      PASS |      0 | mstconfig -d 04:00.0 q
      PASS |      0 | lspci VPD query of 04:00.0
      PASS |      0 | mstregdump 04:00.0
      PASS |      0 | mstfwmanager -d 04:00.0 q
      PASS |      0 | mstfwreset -d 04:00.0 q
      PASS |      0 | mstflint -d 82:00.0 q
      PASS |      0 | mstconfig -d 82:00.0 q
      PASS |      0 | lspci VPD query of 82:00.0
      PASS |      0 | mstregdump 82:00.0
      PASS |      0 | mstfwmanager -d 82:00.0 q
      PASS |      0 | mstfwreset -d 82:00.0 q
      PASS |      0 | mstflint -d 82:00.1 q
      PASS |      0 | mstconfig -d 82:00.1 q
      PASS |      0 | lspci VPD query of 82:00.1
      PASS |      0 | mstregdump 82:00.1
      PASS |      0 | mstfwmanager -d 82:00.1 q
      PASS |      0 | mstfwreset -d 82:00.1 q
Checking for failures and known issues:
  no test failures

Comment 5 Afom T. Michael 2023-02-07 06:48:48 UTC
Moving to verified as mstflint tests have passed and below is a sample of test result.

DISTRO=RHEL-9.2.0-20230205.12
+ [23-02-06 14:43:15] cat /etc/redhat-release
Red Hat Enterprise Linux release 9.2 Beta (Plow)
[...snip...]
+ [23-02-06 14:43:15] rpm -q rdma-core linux-firmware
rdma-core-44.0-2.el9.x86_64
linux-firmware-20221214-129.el9.noarch
+ [23-02-06 14:43:15] tail /sys/class/infiniband/mlx5_0/fw_ver /sys/class/infiniband/mlx5_1/fw_ver
==> /sys/class/infiniband/mlx5_0/fw_ver <==
20.32.2004

==> /sys/class/infiniband/mlx5_1/fw_ver <==
20.32.2004
[...snip...]
+ [23-02-06 14:43:15] rpm -q mstflint
mstflint-4.23.0-2.el9.x86_64
[...snip...]
+ [23-02-06 14:43:15] lspci
+ [23-02-06 14:43:15] grep -i Mellanox
41:00.0 Infiniband controller: Mellanox Technologies MT28908 Family [ConnectX-6]
c4:00.0 Ethernet controller: Mellanox Technologies MT28908 Family [ConnectX-6]
++ [23-02-06 14:43:15]

+ [23-02-06 14:43:15] ibstatus
Infiniband device 'mlx5_0' port 1 status:
	default gid:	 fe80:0000:0000:0000:b8ce:f603:0079:d00e
	base lid:	 0x2c
	sm lid:		 0x3
	state:		 4: ACTIVE
	phys state:	 5: LinkUp
	rate:		 100 Gb/sec (4X EDR)
	link_layer:	 InfiniBand

Infiniband device 'mlx5_1' port 1 status:
	default gid:	 fe80:0000:0000:0000:bace:f6ff:fe79:cfce
	base lid:	 0x0
	sm lid:		 0x0
	state:		 4: ACTIVE
	phys state:	 5: LinkUp
	rate:		 100 Gb/sec (4X EDR)
	link_layer:	 Ethernet


mstflint test results on rdma-qe-36/rdma-qe-37 & Beaker job J:7505648:
5.14.0-252.el9.x86_64, rdma-core-44.0-2.el9, mlx5, roce, ConnectX-7 & mlx5_0
    Result | Status | Test
  ---------+--------+------------------------------------
      PASS |      0 | mstflint -d 3b:00.0 q
      PASS |      0 | mstconfig -d 3b:00.0 q
      PASS |      0 | mstvpd 3b:00.0
      PASS |      0 | mstregdump 3b:00.0
      PASS |      0 | mstfwmanager -d 3b:00.0 q
      PASS |      0 | mstfwreset -d 3b:00.0 q
      PASS |      0 | mstflint -d 3b:00.1 q
      PASS |      0 | mstconfig -d 3b:00.1 q
      PASS |      0 | mstvpd 3b:00.1
      PASS |      0 | mstregdump 3b:00.1
      PASS |      0 | mstfwmanager -d 3b:00.1 q
      PASS |      0 | mstfwreset -d 3b:00.1 q
Checking for failures and known issues:
  no test failures

Comment 7 errata-xmlrpc 2023-05-09 07:53:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (mstflint bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2407