[openib-general] RDMA connection and address translation API

Roland Dreier rolandd at cisco.com
Wed Aug 24 09:03:48 PDT 2005


    Tom> The listen side, however, I think needs a little tweaking. It
    Tom> would be beneficial if the client can specify either an IP
    Tom> address and port to listen on (effectively selecting a
    Tom> particular device), or a wild card (all RDMA devices). An NFS
    Tom> server is an example of the later. This is trivial to do by
    Tom> providing an address to the listen call where a '0'
    Tom> represents a wild card.

I agree that it's useful to be able to pass a sockaddr to bind a
listen to (just like the bind() call in userspace).  However, the
problem is that in the IB world, an incoming connection request does
not come with a destination IP address in any standard way.  So I
don't know the right way to implement bind() in the IB case.

By the way, an IP address/port does not necessarily select a single
RDMA device.  It's a perfectly valid configuration to have 10 network
interfaces all with the same local IP address.

 - R.



More information about the general mailing list