7–RoCE Configuration
Configuring RoCE on the Adapter for Linux
152
BC0154501-00 P
Option 2:
Use the scripts from the FastLinQ source package.
#
/../fastlinq-8.
x.x.x
/add-ons/roce/show_gids.sh
DEV PORT INDEX GID IPv4 VER DEV
--- ---- ----- --- ------------ --- ---
qedr0 1 0 fe80:0000:0000:0000:020e:1eff:fec4:1b20 v1 p4p1
qedr0 1 1 fe80:0000:0000:0000:020e:1eff:fec4:1b20 v2 p4p1
qedr0 1 2 0000:0000:0000:0000:0000:ffff:1e01:010a 30.1.1.10 v1 p4p1
qedr0 1 3 0000:0000:0000:0000:0000:ffff:1e01:010a 30.1.1.10 v2 p4p1
qedr0 1 4 3ffe:ffff:0000:0f21:0000:0000:0000:0004 v1 p4p1
qedr0 1 5 3ffe:ffff:0000:0f21:0000:0000:0000:0004 v2 p4p1
qedr0 1 6 0000:0000:0000:0000:0000:ffff:c0a8:6403 192.168.100.3 v1 p4p1.100
qedr0 1 7 0000:0000:0000:0000:0000:ffff:c0a8:6403 192.168.100.3 v2 p4p1.100
qedr1 1 0 fe80:0000:0000:0000:020e:1eff:fec4:1b21 v1 p4p2
qedr1 1 1 fe80:0000:0000:0000:020e:1eff:fec4:1b21 v2 p4p2
Verifying the RoCE v1 or RoCE v2 Function Through
perftest Applications
This section shows how to verify the RoCE v1 or RoCE v2 function through
perftest applications. In this example, the following server IP and client IP are
used:
Server IP: 192.168.100.3
Client IP: 192.168.100.4
Verifying RoCE v1
Run over the same subnet and use the RoCE v1 GID Index.
Server#
ib_send_bw -d qedr0 -F -x 0
Client#
ib_send_bw -d qedr0 -F -x 0 192.168.100.3
NOTE
You must specify the GID index values for RoCE v1- or
RoCE v2-based server or switch configuration (Pause/PFC). Use the
GID index for the link local IPv6 address, IPv4 address, or IPv6
address. To use vLAN tagged frames for RoCE traffic, you must
specify GID index values that are derived from the vLAN IPv4 or IPv6
address.