Upgrading the NIC Driver
Symptom
If NVIDIA Mellanox ConnectX series NICs are used in enabling Gazelle for the Redis service, select a proper driver version based on the official description. Otherwise, errors may be reported.
For example, if you use NIC of NVIDIA ConnectX-4 or later versions, you are advised to use the MLNX_OFED driver of the 5.8-x LTS version.
Key Process and Cause Analysis
The NIC does not match the NIC driver version, which requires to upgrade the driver.
Conclusion and Solution
To upgrade the driver for the NVIDIA Mellanox ConnectX series NICs, perform the following steps:
- Download the MLNX_OFED driver.
- Install Dependencies
1 2
yum install -y tk make tcsh pciutils-devel lsof gcc kernel-devel yum install -y python3-devel automake rpm-build autoconf createrepo elfutils-devel lsof libtool
- Upgrade the NIC driver.
- If rdma-core has been installed in the system, an error may occur. Therefore, uninstall rdma-core first.
1rpm -q rdma-core && yum remove -y rdma-core
- Decompress the downloaded driver package, go to the decompressed directory, and run the installation command.
1 2 3 4 5 6 7 8
tar xf /home/MLNX*.tgz -C /home rm -f /home/MLNX*.tgz cd /home/MLNX* ./mlnxofedinstall --dpdk --add-kernel-support --skip-unsupported-devices-check dracut -f rmmod rpcrdma ib_srpt ib_isert hns_roce_hw_v2 i40iw xprtrdma svcrdma /etc/init.d/openibd restart modprobe mlx5_core modinfo mlx5_core | grep "filename:"
- If rdma-core has been installed in the system, an error may occur. Therefore, uninstall rdma-core first.
Parent topic: Troubleshooting