[ofa-general] CM ID

Or Gerlitz ogerlitz at voltaire.com
Tue Apr 22 23:35:44 PDT 2008


Roland Dreier wrote:
> It doesn't really make sense to use any verbs before you have resolved
> the address, because you don't know which device will be used until the
> address is used.
Philip,

Re the passive side, if your listener binds to specific IP address, 
after rdma_bind_address() returns the verbs pointer is in place to use, 
and if you bind to IPADDR_ANY, then you would have to serve connection 
requests arriving from all active ports on this system, where for each 
one of them the rdma cm will create an ID which is associated with the 
(verbs) device through which this REQ arrived.

As for the active side, after rdma_resolve_addr returns you can create 
the PD,MR,CQ etc resources or attach this session to ones used by other 
sessions. In case you use the connected service of the rdma cm you must 
create a QP per connections.

Or.




More information about the general mailing list