Rate This Document
Findability
Accuracy
Completeness
Readability

Updating the NIC Firmware and Driver

  1. Download the firmware package and decompress it. The CX5 NIC is used as an example.
  2. Upgrade the firmware.
    1
    2
    cd NIC-SP382-CX5-FW-16.32.1010-ARM
    ./install.sh upgrade
    
  3. Install driver dependency packages.
    1
    yum install createrepo perl pciutils gcc-gfortran tcsh expat glib2 tcl libstdc++ bc tk gtk2 atk cairo numactl pkgconfig ethtool lsof rpm-build python3-libxml2 python autoconf automake libtool
    
  4. Click https://support.huawei.com/enterprise/en/management-software/computing-component-idriver-pid-259488843/software/262409128?idAbsPath=fixnode01|23710424|251364417|251364851|254884035|259488843 to download the NIC driver.

    The driver for openEuler-20.03-LTS-SP4 is not provided. You can use that for openEuler-20.03-LTS-SP3.

  5. Install the driver.
    1. Decompress the downloaded ISO file.
      1
      2
      3
      mkdir /mnt/iso
      mount -o loop ***.iso /mnt/iso
      cd /mnt/iso
      
    2. Install the driver.
      • Method 1: Decompress the package to install the driver.
        1
        2
        3
        tar xf MLX-*.tgz
        cd MLNX*
        ./mlnxofedinstall --force --without-depcheck --without-fw-update --add-kernel-support  --skip-distro-check
        
      • Method 2: Use the automatic installation script.
        1
        ./install.sh   (Refer to the readme_en.txt file in the same directory.)
        
  6. Reload the driver.
    1
    2
    dracut -f
    /etc/init.d/openibd restart
    
  7. Reboot the node.
    1
    reboot
    

The recommended versions are as follows:

  1. Firmware version: 16.32.1010 (HUA0000000024)
  2. Driver version:
    • openEuler 20.03 (Arm): 24.01-0.3.3
    • openEuler 20.03 (x86): 5.8-1.1.2