7–RoCE Configuration
Configuring RoCE on the Adapter for Linux
150
AH0054602-00 J
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
Verifying RoCE v2
Run over the same subnet and use the RoCE v2 GID Index.
Server#
ib_send_bw -d qedr0 -F -x 1
Client#
ib_send_bw -d qedr0 -F -x 1 192.168.100.3
Verifying RoCE v2 Through Different Subnets
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.
NOTE
If you are running through a switch PFC configuration, use vLAN GIDs for
RoCE v1 or v2 through the same subnet.
NOTE
You must first configure the route settings for the switch and servers. On the
adapter, set the RoCE priority and DCBX mode using either the HII, UEFI
user interface, or one of the Cavium management utilities.