Upgrading the NIC Driver
Upgrade the NIC driver to improve network performance, enhance compatibility, and fix known issues. You need to upgrade the NIC driver only for Mellanox NICs.
- Obtain the NIC driver file.
wget https://content.mellanox.com/ofed/MLNX_OFED-5.8-3.0.7.0/MLNX_OFED_LINUX-5.8-3.0.7.0-openeuler22.03-aarch64.tgz --no-check-certificate
- Install the required software dependency packages.
yum install createrepo python3-devel lsof tcsh pciutils-devel fuse-devel gdb-headless make kernel-devel-`uname -r` gcc python3-unversioned-command autoconf automake patch rpm-build -y
- Install the driver.
tar -xvf MLNX_OFED_LINUX-5.8-3.0.7.0-openeuler22.03-aarch64.tgz cd MLNX_OFED_LINUX-5.8-3.0.7.0-openeuler22.03-aarch64 unset GOMP_CPU_AFFINITY ./mlnxofedinstall --all --upstream-libs --add-kernel-support
- Update initramfs to ensure that the new driver is correctly loaded.
dracut -f
- Restart the server for the modification to take effect.
reboot
Parent topic: VM Network Tuning