Fine Sean.

Just one more clarification in the case of  *kernel* mode IBAL 'ib_create_cq', async call back is called from HCA DPC  or a dedicated wait thread  is created even for kernel mode.

Thanks,
Prasanna




Sean Hefty wrote:
I would like to know if  libibverbs   'ibv_create_cq'  supports
asynchronous callback  on completion of  post send transfer or only cq
polling is supported.
    

It does not support asynchronous callbacks.  This matches the behavior on Linux.

  
I observe IBAL 'ib_create_cq' supports asynchronous callback. So is the
winverbs 'ibv_create_cq' constrained to polling mechanism only due to
user mode mailbox  access to HCA.
    

IBAL supports asynchronous callbacks, but to do so, it allocates a thread that
waits for CQ events, then notifies the user in a callback.  The application can
achieve the same behavior by allocating a dedicated thread to wait for CQ
events, and invoking a notification function when a CQ event occurs.

Winverbs basically pushes the application threading model entirely into the
application, rather than automatically allocating threads in order to provide a
callback event model.

- Sean

  

_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw

Reply via email to