9–iWARP Configuration
Configuring iWARP on Linux
128
AH0054602-00 A
iWARP configuration on a Linux system includes the following:
Installing the Driver
To install the driver:
1.
Complete installation of the OS and OFED.
2.
Before installing the drivers, access the HII Menu and change the iWARP
personality.
3.
Install Ethernet drivers using either a FastLinQ source package or an RPM.
4.
When driver installation is complete, load NIC drivers into iWARP mode.
5.
Compile and install NIC drivers, RDMA drivers, and RDMA user libraries as
follows.
#
cd fastlinq-x.x.x
#
make install
#
make libqedr_install
6.
Load the NIC and RDMA drivers into iWARP mode by issuing the following
command:
#
modprobe qedr
Detecting the Device
To detect the device:
1.
To verify whether iWARP 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:
[root@localhost ~]#
ibv_devinfo -d qedr1