Run the
dpkg -i
<
name of the driver software package
command to install 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 9
Make the driver take effect.
Run the following commands on the OS.
modprobe hiroce
service network restart
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
Follow-up Procedure
Check whether the driver has taken effect after the installation.
1.
Run the
lsmod | grep hiroce
command on the OS.
–
If no command output is displayed, the driver has not taken effect. Reinstall the
driver.
–
If the command output about the IN200 driver is displayed, the driver has taken
effect.
2.
Run the
hiroce gids
command, view the command output, and check whether the driver
takes effect.
–
If the command output is displayed, the driver has taken effect.
–
If no command output is displayed, the driver has not taken effect, and you need to
perform the operation again.
2.3.3 Upgrading the Driver
Prerequisites
l
The latest RoCE driver package has been downloaded.
The RoCE driver package is included in the IN200 software package. For details about
how to obtain the IN200 package, see
2.1 Obtaining Software Packages
l
The IN200 driver has been installed.
For details, see
2.2 Maintaining the NIC Driver
.
l
The RoCE driver to be upgraded has been installed.
l
The driver package has been uploaded to the server OS.
Huawei IN200 NIC
User Guide
2 Installation and Maintenance
Issue 06 (2019-07-27)
Copyright © Huawei Technologies Co., Ltd.
23