Re: [PATCH v5 00/16] Add Paravirtual RDMA Driver

2 messages, 2 authors, 2016-09-26 · open the first message on its own page

Re: [PATCH v5 00/16] Add Paravirtual RDMA Driver

From: Jason Gunthorpe <hidden>
Date: 2016-09-26 21:07:24

On Mon, Sep 26, 2016 at 01:40:10PM -0700, Adit Ranadive wrote:
Wouldnt they be some overlap between the user-space and kernel driver? Or is
it expected that the common structures (even device specific ones) be moved to
the ABI file?
Yes, even device specific structures must be in the abi file. Anything
that is used with copy_to_user/copy_from_user/etc.
For the mlx4 driver I see that the structures in include/linux/mlx4/qp.h
and in libmlx4/src/wqe.h are similar.
We are trying to clean exactly that sort of stuff up, please try not
to add more.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 00/16] Add Paravirtual RDMA Driver

From: Adit Ranadive <hidden>
Date: 2016-09-26 21:16:20

On Mon, Sep 26, 2016 at 14:07:24PM -0700, Jason Gunthorpe wrote:
On Mon, Sep 26, 2016 at 01:40:10PM -0700, Adit Ranadive wrote:
quoted
Wouldnt they be some overlap between the user-space and kernel driver? Or is
it expected that the common structures (even device specific ones) be moved to
the ABI file?
Yes, even device specific structures must be in the abi file. Anything
that is used with copy_to_user/copy_from_user/etc.
Ok. Will make sure we consolidate the common stuff in the ABI file in the 
next version.

Thanks,
Adit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help