6–RoCE Configuration
Configuring RoCE on the Adapter for Linux
72
AH0054601-00 B
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,
ib_ucm,ib_iser,ib_srpt,ib_umad,
ib_uverbs,rdma_ucm,ib_ipoib,ib_isert
NOTE
For RHEL 6.x and SLES 11 SP4, you must start RDMA service after
reboot. For RHEL 7.
x
and SLES 12 SPX and later, RDMA service
starts itself after reboot. For Ubuntu, there are no RDMA service, so
the user must load each RDMA module.