[ofa-general] CM ID

Philip Frey1 PHF at zurich.ibm.com
Tue Apr 22 10:02:17 PDT 2008


I have realised that the verbs of the rdma_cm_id are only valid after a 
call to rdma_resolve_addr().

How can I create a memory region before connecting to the remote host?
In order to create an ibv_mr, I need a protection domain (PD).
For creating a PD, I need an ibv_context which I get from cm_id->verbs but 
they are only valid after
resolving the address.

So what would be the correct way to call ibv_alloc_pd() and ibv_reg_mr() 
before resolving the address
which I might not yet know (especially on the server side).

Many thanks,
 Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20080422/2b441b01/attachment.html>


More information about the general mailing list