Mellanox RHEL 8.x User Manual

www.mellanox.com
Mellanox Technologies
Red Hat Enterprise Linux (RHEL) 8.x Driver
User Manual
RHEL 8.x
Doc #: MLNX-15-52996
Mellanox Technologies
2
Mellanox Technologies
350 Oakmead Parkway Suite 100 Sunnyvale, CA 94085
U.S.A.
www.mellanox.com
Tel: (408) 970-3400
Fax: (408) 970-3403
© Copyright 2020. Mellanox Technologies Ltd. All Rights Reserved.
Mellanox®, Mellanox logo, ASAP2 - Accelerated Switch and Packet Processing®, BlueField®, BlueOS®, CloudX logo, Connect-
IB®, ConnectX®, CORE-Direct®, GPUDirect®, HPC-X®, LinkX®, Mellanox CloudX®, Mellanox HostDirect®, Mellanox Multi-
Host®, Mellanox NEO®, Mellanox NVMEDirect®, Mellanox OpenCloud®, Mellanox OpenHPC®, Mellanox PeerDirect®,
Mellanox ScalableHPC®, Mellanox Socket Direct®, PeerDirect ASYNC®, SocketXtreme®, StoreX®, UCX®, UCX Unified
Communication X®, UFM®, Unbreakable-Link®, and Virtual Protocol Interconnect® are registered trademarks of Mellanox
Technologies, Ltd. For the complete and most updated list of Mellanox trademarks, visit http://www.mellanox.com/page/trademarks. All other trademarks are property of their respective owners.
NOTE:
THIS HARDWARE, SOFTWARE OR TEST SUITE PRODUCT PRODUCT(S) AND ITS RELATED
DOCUMENTATION ARE PROVIDED BY MELLANOX TECHNOLOGIES AS-IS WITH ALL FAULTS OF ANY
KIND AND SOLELY FOR THE PURPOSE OF AIDING THE CUSTOMER IN TESTING APPLICATIONS THAT
USE THE PRODUCTS IN DESIGNATED SOLUTIONS. THE CUSTOMER'S MANUFACTURING TEST
ENVIRONMENT HAS NOT MET THE STANDARDS SET BY MELLANOX TECHNOLOGIES TO FULLY
QUALIFY THE PRODUCT(S) AND/OR THE SYSTEM USING IT. THEREFORE, MELLANOX TECHNOLOGIES
CANNOT AND DOES NOT GUARANTEE OR WARRANT THAT THE PRODUCTS WILL OPERATE WITH THE
HIGHEST QUALITY. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL MELLANOX BE LIABLE TO CUSTOMER OR
ANY THIRD PARTIES FOR ANY DIRECT, INDIRECT, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES OF ANY KIND (INCLUDING, BUT NOT LIMITED TO, PAYMENT FOR PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY FROM THE USE OF THE
PRODUCT(S) AND RELATED DOCUMENTATION EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
3
Mellanox Technologies
RHEL 8.x
Table of Contents
1 Firmware Burning ........................................................................................................................... 4
2 Port Type Management .................................................................................................................. 5
3 Modules Loading and Unloading .................................................................................................. 6
4 Important Packages and Their Installation .................................................................................. 7
5 SR-IOV Configuration ..................................................................................................................... 8
5.1 Setting up SR-IOV .................................................................................................................. 8
6 Default RoCE Mode Setting ......................................................................................................... 10
7 PXE over InfiniBand Installation .................................................................................................. 11
RHEL 8.x
Mellanox Technologies
4

1 Firmware Burning

1. Check the device’s PCI address.
lspci | grep Mellanox
Example:
00:06.0 Infiniband controller: Mellanox Technologies MT27520 Family
[ConnectX-3 Pro]
2. Identify the adapter card's PSID.
# mstflint -d 81:00.0 q Image type: FS2 FW Version: 2.42.5000 FW Release Date: 26.7.2017 Rom Info: type=PXE version=3.4.752 devid=4103 Device ID: 4103 Description: Node Port1 Port2 Sys image GUIDs: e41d2d0300b3f590 e41d2d0300b3f591 e41d2d0300b3f592 e41d2d0300b3f593 MACs: e41d2db3f591 e41d2db3f592 VSD: PSID: MT_1090111019
3. Download the firmware BIN file from the Mellanox website that matches your card's
PSID. To download the firmware, go to www.mellanox.com (Firmware Downloads).
4. Burn the firmware.
# mstflint -d <lspci-device-id> -i <image-file> b
5. Reboot your machine after the firmware burning is completed.
Loading...
+ 7 hidden pages