Step 6
Install the RoCE driver in the directory where the RoCE driver package is stored.
l
On the CentOS, SUSE, EulerOS, or RHEL:
Run the
rpm -Uvh
<
name of the driver software package
command to upgrade the driver
package.
The following commands use RHEL 7.3 as an example:
[root@localhost driver]# rpm -Uvh
hiroce-2.3.1.0_3.10.0_514.el7.x86_64-1.el7.x86_64.rpm
Preparing... #################################
[100%]
Updating / installing...
1:hiroce-2.3.1.0_3.10.0_514.el7.x86################################# [100%]
l
On the Ubuntu:
Run the
dpkg -i
<
name of the driver software package
command to upgrade the RoCE
driver.
The following commands use Ubuntu 18.04.1 as an example:
root@ubuntu18041:/home/ubuntu #
dpkg -i
hiroce-2.3.0.2-4.15.0_29_generic.ubuntu.amd64.deb
Selecting previously unselected package hiroce.
(Reading database ... 80445 files and directories currently installed.)
Preparing to unpack hiroce-2.3.0.2-4.15.0_29_generic.ubuntu.amd64.deb ...
Unpacking hiroce (2.3.0.2) ...
Setting up hiroce (2.3.0.2) ...
Installing... Please wait for a moment.
Install hiroce driver package successfully.
Step 7
Make the driver take effect.
Run the following commands on the OS.
rmmod hiroce
modprobe hiroce
NOTE
This method takes effect temporarily. If you require the OS to automatically load the driver upon startup,
add the preceding two commands to the automatic startup script of the OS.
----End
2.3.4 Uninstalling the Driver
Prerequisites
The RoCE driver already exists on the OS.
Impact
During the uninstallation, the OS cannot be restarted. Otherwise, the OS may be abnormal or
cannot be started.
Huawei IN200 NIC
User Guide
2 Installation and Maintenance
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
26