7–iWARP Configuration
Configuring iWARP on Linux
92
AH0054601-00 B
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
transport: iWARP (1)
fw_ver: 8.14.7.0
node_guid: 020e:1eff:fec4:c06e
sys_image_guid: 020e:1eff:fec4:c06e
vendor_id: 0x1077
vendor_part_id: 5718
hw_ver: 0x0
phys_port_cnt: 1