Michael S. Tsirkin wrote:
I'm fine with not requiring bind before connect.
However, CMA must *allow* bind before connect and it does not currently.

It does permit this, but requires using an IP address that matches with a local ipoib device.

So if I bind to a local port with ANY or loopback IP address,
connect fails with -EINVAL. Could you fix this please?

I can fix this, but I think that you're wanting more than just fixing the bug where rdma_resolve_addr() returns -EINVAL after calling rdma_bind_addr().

What behavior are you expected from rdma_bind_addr() if you specify a zero IP address? loopback IP address? What about zero for the port number?

Small correction: TCP always binds before connect - it does autobind for you if
you don't.

I should have said sockets instead of TCP.

- Sean


_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to