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

From: Andrew Morton
Date: Tue Jun 28 2005 - 19:17:44 EST


Roland Dreier <rolandd@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/