Upgrading the NIC Driver
Procedure
- Download the NIC driver package.
- Upload the NIC driver package and decompress it.Figure 1 Uploading the NIC driver package
driver is the directory where the kmod driver is stored, firmware is the directory where the NIC firmware is stored, and tools is the directory where the hinicadm tool is stored.
When installing the driver, select the matching tool and driver package based on your requirements. In this example, select driver/linux/nic/CentOS7.6_arm/kmod-hinic-2.3.2.1_4.14.0_115-1.el7.aarch64.rpm.
- Install the NIC tool hinicadm. If the following information is displayed, the NIC tool is successfully installed.
1rpm -ivh tools/linux_arm/nic/hinicadm-2.3.2.1-1.aarch64.rpm
Figure 2 Installing the NIC tool
- Uninstall the built-in NIC driver package.
1rmmod hinic - Go to the directory where the driver package is stored.
1cd /driver/linux/nic/CentOS7.6_arm/
- Install the NIC driver. If the following information is displayed, the NIC driver has been installed:
1rpm -ivh kmod-hinic-2.3.2.1_4.14.0_115-1.el7.aarch64.rpm
Figure 3 Installing the NIC driver
- Load the driver package.
modprobe hinic
- View the driver version to check whether the driver is successfully installed.
hinicadm version -i hinic0
Figure 4 Viewing the version information
Parent topic: Common Operations