在 2024/5/16 16:48, Konstantin Taranov 写道:
When attempting to call rdma_create_ep in active mode with the loopback
address obtained by rdma_getaddrinfo, -1 is returned with ENODEV errno().
What do you call a "loopback address"?
Note, you cannot use 127.0.0.1 as there is no RDMA device behind this IP.
You can run "ibv_devinfo -v" and use any IP listed in the GID table for a loopback experiment.
Exactly, 127.0.0.1 and 0.0.0.0 are used as private ip addresses in rdma
cma. As such, it had better not to use the 2 ip addresses.
Zhu Yanjun
- Konstantin