[openib-general] Re: [PATCH 14/16] IB uverbs: add mthca user CQ support

Andrew Morton akpm at osdl.org
Tue Jun 28 17:10:46 PDT 2005


Roland Dreier <rolandd at cisco.com> wrote:
>
> Add support for userspace completion queues (CQs) to mthca.
> 

There are more interesting things happening here ;)

> @@ -177,6 +177,7 @@ struct mthca_cq {
>  	int                    cqn;
>  	u32                    cons_index;
>  	int                    is_direct;
> +	int                    is_kernel;
>  
>  	/* Next fields are Arbel only */
>  	int                    set_ci_db_index;

I assume we have one body of code which is capable of handling data
structures in either kenrel memory of user memory?  (guess).

If so, that's a fairly sensitive thing to be doing.  Tell us more, please.



More information about the general mailing list