7–RoCE Configuration
Configuring RoCE on the Adapter for Linux
146
BC0154501-00 P
KERNEL=="rdma_cm", NAME="infiniband/%k", MODE="0666"
3.
Edit the
/etc/security/limits.conf
file to increase the size of memory,
which can be locked by a non-root user. Add the following lines, and then log
out:
* soft memlock unlimited
* hard memlock unlimited
root soft memlock unlimited
root hard memlock unlimited
4.
Log into the system again, or verify after reboot. Then issue the following
command:
#
ulimit -l
You should get the output as
unlimited
.
5.
Reboot the system.
6.
To allow the device to be recognized as an InfiniBand device that can be
used by OFED, install the FastLinQ package by issuing the following
commands:
#
cd fastlinq-
X.X.X.X
#
make clean
#
make install
7.
Install the libqedr libraries to work with RDMA user space applications using
one of the following command options:
Option 1:
#
cd fastlinq-
X.X.X.X
#
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