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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roland Dreier <[email protected]> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux