6–RoCE Configuration
Configuring RoCE on the Adapter for Linux
71
AH0054601-00 B
#
make libqedr_install
Option 2:
#
cd fastlinq-X.X.X.X/libqedr-X.X.X.X/
#
./configure --prefix=/usr --libdir=${exec_prefix}/lib
--sysconfdir=/etc
#
make install
8.
Before loading the QLogic Ethernet and RDMA drivers, uninstall the existing
out-of-box or inbox drivers by issuing the following commands:
#
modprobe –r qede
#
depmod –a
#
modprobe -v qedr
9.
Load the RDMA modules by issuing the following commands. You must
perform this step whenever you reboot the system.
#
modprobe rdma_cm
#
modprobe ib_uverbs
#
modprobe rdma_ucm
#
modprobe ib_ucm
#
modprobe ib_umad
10.
To list RoCE devices, issue the
ibv_devinfo
command:
#
ibv_devinfo
11.
Assign IP addresses to the Ethernet interfaces:
To assign the static IP address, edit the
/etc/network/interfaces
file with the following entries:
auto eth0
iface eth0 inet static
address 192.168.10.5
netmask 255.255.255.0
gateway 192.168.10.254
To assign the DHCP IP address, edit the
/etc/network/interfaces
file with the following entries:
auto eth0
iface eth0 inet dhcp