Installing Mellanox OFED

Complete the following tasks to download and install Mellanox OFED package for Oracle Linux.

The supported networking cards are: Mellanox Technologies MT27800 Family [ConnectX-5].
Ensure that you have installed:
  • Oracle Linux 7.8
  • Session Monitor 4.4
  • DPDK Version 19.11
  1. Download the latest MLNX OFED driver (.iso) based on OS distribution and architecture from the MLNX_OFED Download Center page. Browse to Downloads - > Current Versions.
  2. Run the commands:

    1. mount -o ro,loop MLNX_OFED_LINUX-xxxx /mnt

    2. ./mnt/mlnx_add_kernel_support.sh -m /mnt --make-tgz

    3. Yum install rpm-build

      Note:

      The command may fail while building RPMs and may require the appropriate dependencies to be installed. Based on the dependency errors, the required packages must be installed.

      This would build the RPMs based on the underlying Kernel version and copy the RPMs to /tmp/xxx.tgz.

  3. Install the MLNX OFED with upstream-libs:
    cd /tmp
    tar -xzvf MLxxxxx.tgz
    cd /MLxxxxxxxx
    ./mlnxofedinstall --upstream-libs

    Note:

    For more information, see Installing Mellanox OFED.
  4. Load the MLNX driver module.
    modprobe mlx5_ib
  5. Make sure that the mlx kernel modules mlx5_ib, mlx5_core, ib_uverbs are loaded.
    lsmod | grep mlx5 
    lsmod | grep ib_uverbs