Configuring RDMA and InfiniBand drivers

Configure the RDMA and InfiniBand drivers so that LLT can use the RDMA capable hardware.

  1. Ensure that the following RDMA and InfiniBand drivers are loaded. Use the lsmod command to verify whether a driver is loaded.

    The InfiniBand interfaces are not visible by default until you load the InfiniBand drivers. This procedure is only required for initial configuration.

    # modprobe rdma_cm

    # modprobe rdma_ucm

    # modprobe mlx4_en

    # modprobe mlx4_ib

    # modprobe ib_mthca

    # modprobe ib_ipoib

    # modprobe ib_umad

  2. Load the drivers at boot time by appending the configuration file on the operating system.

    On RHEL and SUSE Linux, append the /etc/rdma/rdma.conf and /etc/infiniband/openib.conf files respectively with the following values:

    ONBOOT=yes

    RDMA_UCM_LOAD=yes

    MTHCA_LOAD=yes

    IPOIB_LOAD=yes

    SDP_LOAD=yes

    MLX4_LOAD=yes

    MLX4_EN_LOAD=yes

  3. Enable RDMA service on the Linux operating system.

    On RHEL Linux:

    # chkconfig --level 235 rdma on

    On SUSE Linux:

    # chkconfig --level 235 openibd on