Users Guide
8–iWARP Configuration
Configuring iWARP on Linux
183 AH0054602-00 M
The RDMA protocol (p) values are as follows:
0—Accept the default (RoCE)
1—No RDMA
2—RoCE
3—iWARP
For example, to change the interface on the port given by 04:00.0 from
RoCE to iWARP, issue the following command:
# modprobe -v qed rdma_protocol_map=04:00.0-3
3. Load the RDMA driver by issuing the following command:
# modprobe -v qedr
The following example shows the command entries to change the RDMA protocol
to iWARP on multiple NPAR interfaces:
# modprobe qed rdma_protocol_map=04:00.1-3,04:00.3-3,04:00.5-3,
04:00.7-3,04:01.1-3,04:01.3-3,04:01.5-3,04:01.7-3
# modprobe -v qedr
# ibv_devinfo |grep iWARP
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
transport: iWARP (1)
Detecting the Device
To detect the device:
1. To verify whether RDMA devices are detected, view the
dmesg logs:
# dmesg |grep qedr
[10500.191047] qedr 0000:04:00.0: registered qedr0
[10500.221726] qedr 0000:04:00.1: registered qedr1
2. Issue the ibv_devinfo command, and then verify the transport type.
If the command is successful, each PCI function will show a separate
hca_id. For example (if checking the second port of the above dual-port
adapter):
[root@localhost ~]# ibv_devinfo -d qedr1
hca_id: qedr1