I would like to test the performance of SR-IOV, so I create multiple VFs on a CX-5 adapter. Then I assigned each VF an IP address and tested the connection with another machine, each VF worked well for Ethernet (tested with ping
command). However, when I tested these VFs with rping
or ibv_pingpong
for RoCEv2, neither of them worked.
However, the VF that was passed through to a VM worked well on all tests (it can communicate with another server with both Ethernet and RoCEv2). I do not have any idea about how to debug this problem? Does anyone know the reason? Thank you.
For details, refer to https://forums.developer.nvidia.com/t/passthrough-the-whole-mlnx5-to-a-vm/273047/10?u=luckyoung