Constraints
l
The target version must be later than the source version.
l
If the target driver version is earlier than or the same as the source driver version, the
new driver does not take effect after you run the
rpm -Uvh
command to upgrade the
driver.
l
To roll back to the earlier version, uninstall the driver by referring to
and then install the driver of the earlier version by referring to
Impact
The upgrade process cannot be interrupted. During the upgrade, the OS cannot be restarted.
Otherwise, the OS may be abnormal or cannot be started.
On the OS Supported by Huawei In-House OFED
Step 1
Log in to the server OS.
7.1 Logging In to the Real-Time Server Desktop
.
Step 2
Run the following command in the directory where the RoCE driver package is stored to
decompress the OFED package:
tar -xvf OFED-*.tar.gz
Step 3
Run the following command to go to the OFED package directory:
cd OFED-*
Step 4
Run the following commands to install the OFED package:
bash ofed_install.sh
The command output is as follows:
[root@localhost OFED]# bash ofed_install.sh
2019-07-10 09:30:43
2019-07-10 09:30:43
2019-07-10 09:30:43 [INSTALL] install OFED software start.
2019-07-10 09:30:43 [INSTALL] check RPMS/compat-rdma-devel*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/compat-rdma*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/rdma-core-devel*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/rdma-core*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibverbs*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibverbs-utils*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/libibumad*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/librdmacm*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/librdmacm-utils*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/perftest-debuginfo*rpm ok
2019-07-10 09:30:43 [INSTALL] check RPMS/perftest*rpm ok
This program will install the OFED package on your machine.
Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be
removed.
Those packages are removed due to conflicts with OFED, do not reinstall them.
Do you want to continue?[y/N]:y
……………………………………………………………………………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………………………………………………………………………….
Preparing... ################################# [100%]
Updating / installing...
1:perftest-debuginfo-4.4-0.5.g1ceab################################# [ 50%]
2:perftest-4.4-0.5.g1ceab48 ################################# [100%]
2019-07-10 09:33:26 [INSTALL] install_rpm perftest ok
Huawei IN200 NIC
User Guide
2 Installation and Maintenance
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
24