我要评分
获取效率
正确性
完整性
易理解

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.

  1. 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
  2. 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
  3. 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
  4. Update initramfs to ensure that the new driver is correctly loaded.
    dracut -f
  5. Restart the server for the modification to take effect.
    reboot