7–RoCE Configuration
Configuring RoCE on the Adapter for Linux
145
AH0054602-00 J
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
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.
To verify RoCE configuration on Linux:
1.
Stop firewall tables using
service/systemctl
commands.
2.
For RHEL only: If the RDMA service is installed (
yum install rdma
), verify
that the RDMA service has started.
On RHEL or CentOS: Use the
service rdma
status command to start
service:
If RDMA has not started, issue the following command:
#
service rdma start
If RDMA does not start, issue 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
[87910.988411] qedr: discovered and registered 2 RoCE funcs
4.
Verify that all of the modules have been loaded. For example:
#
lsmod|grep qedr
qedr 89871 0
qede 96670 1 qedr
qed 2075255 2 qede,qedr
ib_core 88311 16 qedr, rdma_cm, ib_cm,
ib_sa,iw_cm,xprtrdma,ib_mad,ib_srp,
NOTE
For RHEL 7.
x
and SLES 12 SP
x
and later, RDMA service starts itself
after reboot.