[ofw] post send in kernel mode

Richard Frank richard.frank at oracle.com
Mon Aug 24 10:42:28 PDT 2009


Sean, if  QPs and CQs are created via librdmacm ala winverbs... assuming 
that the associated doorbells
and mailboxes created for these objects are mapped into user mode - can 
these objects (doorbells) also be directly accessed from kernel mode ?

Sean Hefty wrote:
>> Basically QP and CQ can be obtained in kernel mode winverbs driver  using
>> WvQpAcquire(..) and WvCqAcquire() respectively.
>>     
>
> These two calls lookup a handle given some integer ID.  The QP and CQ must have
> already been created.  They provide validation of the user space identifiers and
> protect against destruction while the underlying handles are in use.
>
> Winverbs doesn't really provide a clean interface for kernel clients.  I would
> like to see a kernel interface, but it really doesn't exist at the moment.  It
> shouldn't take that much to provide one for the verbs (non-CM calls).
>
>   
>> And post_send and poll_cq done using HCA verbs interface calls QP->pVerbs-
>>     
>>> post_send() and QP->pVerbs->poll_cq().
>>>       
>
> I think any kernel interface should be at most inline wrappers around these
> direct HCA calls, so I agree that kernel clients should be able to use them
> directly.
>
> - Sean
>
>
> _______________________________________________
> ofw mailing list
> ofw at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
>   



More information about the ofw mailing list