<br><font size=2 face="sans-serif">I have realised that the verbs of the
rdma_cm_id are only valid after a call to rdma_resolve_addr().</font>
<br><font size=2 face="sans-serif"><br>
How can I create a memory region before connecting to the remote host?</font>
<br><font size=2 face="sans-serif">In order to create an ibv_mr, I need
a protection domain (PD).</font>
<br><font size=2 face="sans-serif">For creating a PD, I need an ibv_context
which I get from cm_id->verbs but they are only valid after</font>
<br><font size=2 face="sans-serif">resolving the address.</font>
<br>
<br><font size=2 face="sans-serif">So what would be the correct way to
call ibv_alloc_pd() and ibv_reg_mr() before resolving the address</font>
<br><font size=2 face="sans-serif">which I might not yet know (especially
on the server side).</font>
<br>
<br><font size=2 face="sans-serif">Many thanks,</font>
<br><font size=2 face="sans-serif"> Philip</font>