[ofw] post send in kernel mode
Sean Hefty
sean.hefty at intel.com
Mon Aug 24 10:04:16 PDT 2009
>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
More information about the ofw
mailing list