6–Configuring RoCE
Configuring RoCE on the Adapter for Linux
60
BC0154503-00 B
The following are examples of successful ping pong tests on the server and
the client:
Server:
root@captain:~#
ibv_rc_pingpong -d qedr0 -g 0
local address: LID 0x0000, QPN 0xff0000, PSN 0xb3e07e, GID
fe80::20e:1eff:fe50:c7c0
remote address: LID 0x0000, QPN 0xff0000, PSN 0x934d28, GID
fe80::20e:1eff:fe50:c570
8192000 bytes in 0.05 seconds = 1436.97 Mbit/sec
1000 iters in 0.05 seconds = 45.61 usec/iter
Client:
root@lambodar:~#
ibv_rc_pingpong -d qedr0 -g 0 192.168.10.165
local address: LID 0x0000, QPN 0xff0000, PSN 0x934d28, GID
fe80::20e:1eff:fe50:c570
remote address: LID 0x0000, QPN 0xff0000, PSN 0xb3e07e, GID
fe80::20e:1eff:fe50:c7c0
8192000 bytes in 0.02 seconds = 4211.28 Mbit/sec
1000 iters in 0.02 seconds = 15.56 usec/iter
To display RoCE statistics, type the following commands, where
X
is the
device number:
>
mount -t debugfs nodev /sys/kernel/debug
>
cat /sys/kernel/debug/qedr/qedr
X
/stats
Summary of Contents for QLogic QL45212
Page 100: ......