6–Configuring RoCE
Configuring RoCE on the Adapter for Linux
59
BC0154503-00 C
Configuring RoCE on the Adapter for Linux
This section describes the RoCE configuration procedure for RHEL and SLES. It
also describes how to verify the RoCE configuration and provides some guidance
about using global IDs (GIDs) with VLAN interfaces.
RoCE v2 Configuring for Linux
To verify RoCE v2 functionality user needs to use RoCE v2 supported kernels. For
configuration, use the following procedure.
1.
Check and make sure you are using one of the following supported kernels:
SLES 12 SP2 GA
RHEL 7.3 GA
2.
Configure RoCEv2 using the following procedure:
a.
Identify GID index for RoCE v2.
b.
Configure routing address for server and client.
c.
Enable L3 routing on the switch.
Identifying RoCE v2 GID Index or Address
To find RoCE v1 and v2 specific GIDs, use either sys or class parameters, or run
RoCE scripts from the 45000 Series FastLinQ source package. To check the
default
RoCE GID Index
, and address, run the
ibv_devinfo
command and
compare it with the sys or class parameters.
#ibv_devinfo -d qedr0 -v|grep GID
GID[ 0]: fe80:0000:0000:0000:020e:1eff:fec4:1b20
GID[ 1]: fe80:0000:0000:0000:020e:1eff:fec4:1b20
GID[ 2]: 0000:0000:0000:0000:0000:ffff:1e01:010a
GID[ 3]: 0000:0000:0000:0000:0000:ffff:1e01:010a
GID[ 4]: 3ffe:ffff:0000:0f21:0000:0000:0000:0004
GID[ 5]: 3ffe:ffff:0000:0f21:0000:0000:0000:0004
GID[ 6]: 0000:0000:0000:0000:0000:ffff:c0a8:6403
GID[ 7]: 0000:0000:0000:0000:0000:ffff:c0a8:6403
NOTE
You can configure RoCE v1, and v2 by using RoCE v2 supported
kernels. These kernels allow you to run RoCE traffic over same
subnet, as well as different subnets such as RoCE v2, and any
routable environment. Only few settings are required for RoCE v2, and
all other switch and adapter settings are common for RoCE v1 and v2.
Summary of Contents for QL45212
Page 111: ......