Closed EdwardZhang88 closed 4 years ago
Thanks for the reply. @moshe010
Do you think if sriov is correctly set up in my case?
regarding issue 2, how come you have diffrent ofed version in the container and in the host can you please make sure that both build with the same OFED driver ( in the container you just need to install the userspace packages not need for kernel package I think there is a flag --userspace when you install ofed) another questions:
I know what the problem is now. I simply forgot to reboot the server after the upgrade installation of OFED 4.4 from 4.2. Now that OFED 4.4 takes effect, both rping and ib_write_bw -R work fine now in the containers. Thanks for the help.
Based on the document, RDMA_CM should work in sriov mode. However, I am not able to run ib_write_bw -R test while the normal ib_write_bw test is OK. Below is the message I got when running ib_write_bw -R.
`
Container1
ib_write_bw -R
ethtool -i eth0
driver: mlx5_core version: 4.2-1.2.0 ...
Container2(on the same node as Container1's)
ib_write_bw -R 10.16.190.11(IP addr of eth0 in Container1) rdma_resolve_route failed Unable to perform rdma_client function Unable to init the socket connection`
What could be the cause?