6–Configuring RoCE
Configuring RoCE on the Adapter for Linux
62
BC0154503-00 C
Client Configuration
#/sbin/ip link add link p4p1 name p4p1.101 type vlan id 101
#ifconfig p4p1.101 192.168.101.3/24 up
#ip route add 192.168.100.0/24 via 192.168.101.1 dev p4p1.101
2.
Set the switch settings using the following procedure.
Use any flow control method (Pause,DCBX-CEE/DCBX-IEEE), and enable
IP routing for RoCE v2. See
“Preparing the Ethernet Switch” on page 51
for
RoCE v2 configuration, or refer to the vendor switch documents.
If you are using PFC Configuration and L3 routing, run RoCE v2 traffic over
VLAN using a different subnet, and use RoCE v2 VLAN GID index.
Server# ib_send_bw -d qedr0 -F -x 5
Client# ib_send_bw -d qedr0 -F -x 5 192.168.100.3
Server:
Summary of Contents for QL45212
Page 111: ......