[ofa-general] implicit address binding by rdma_resolve_addr

Sean Hefty mshefty at ichips.intel.com
Mon Aug 6 10:14:49 PDT 2007


> We have noticed that when rdma_resolve_addr is provided with src
> address, the rdma cm does an implicit --address-- (=ip/port) binding,
> which for example has the side effect of disallowing two processes to
> call rdma_resolve_addr() with the same src port.
> 
> Does this implicit binding mimics the network stack behavior
> under similar flow when socket are used?

Specifying a source address with rdma_resolve_addr is similar to calling 
socket bind.  I can't think of a reason why an app would want to specify 
a source port when calling rdma_resolve_addr.  Specifying a source 
address (wild card port) allows binding to a specific RDMA device.

- Sean



More information about the general mailing list