6–Configuring RoCE
Configuring RoCE on the Adapter for Linux
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 in-box 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:
3.
Install the Linux drivers, as described in
RoCE" on page
Verifying the RoCE Configuration on Linux
After installing OFED, installing the Linux driver, and loading the RoCE drivers,
verify that the RoCE devices were detected on all Linux operating systems:
1.
Stop firewall tables using service/systemctl commands.
2.
Verify that the RDMA services has started using the
service rdma status command. If RDMA has not started, type the
following command:
# service rdma start
If RDMA does not start, type either of the following alternative commands:
# /etc/init.d/rdma start
or
# systemctl start rdma.service
3.
Verify that the RoCE devices were detected by examining the dmesg logs.
# dmesg|grep qedr
4.
Verify that all of the modules have been loaded. For example:
# lsmod|grep qedr
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)
16.
[87910.988411] qedr: discovered and registered 2 RoCE funcs
qedr
qede
qed
ib_core
"Installing the Linux Drivers with
89871
0
96670
1 qedr
2075255
2 qede,qedr
88311
16
qedr, rdma_cm, ib_cm,
ib_sa,iw_cm,xprtrdma,ib_mad,ib_srp,
65
BC0154503-00 C