6–RoCE Configuration
Configuring RoCE on the Adapter for Linux
69
AH0054601-00 B
RoCE Configuration for SLES
To configure RoCE on the adapter for an SLES host, OFED must be installed and
configured on the SLES host.
To install inbox OFED for SLES Linux:
1.
While installing or upgrading the operating system, select the InfiniBand
support packages.
2.
Install the following RPMs from the corresponding SLES SDK kit image:
libibverbs-devel-
x.x.x
.x86_64.rpm
(required for libqedr installation)
perftest-
x.x.x
.x86_64.rpm
(required for bandwidth and latency applications)
3.
Install the Linux drivers, as described in
“Installing the Linux Drivers with
RoCE Configuration for Ubuntu
To configure RoCE on the adapter for an Ubuntu host, RDMA must be installed
and configured on the Ubuntu host.
To configure and set up RoCE for Ubuntu 14.04.5/16.04.1 Linux:
1.
When you begin installing the Ubuntu server, verify if the basic packages,
modules, and tools are available for Ethernet and RDMA. Log in as a ROOT,
and install all required packages.
a.
Install the basic packages required for Ubuntu:
#
apt-get install -f build-essential pkg-config vlan
automake autoconf dkms git
b.
Install the following RDMA packages required for Ubuntu:
#
apt-get install –f libibverbs* librdma* libibcm.*
libibmad.* libibumad*
c.
Install RDMA user space tools and libraries required for Ubuntu:
#
apt-get install -f libtool ibutils ibverbs-utils
rdmacm-utils infiniband-diags perftest librdmacm-dev
libibverbs-dev numactl libnuma-dev libnl-3-200
libnl-route-3-200 libnl-route-3-dev libnl-utils