Message ID | 20200820224638.3212-6-rpearson@hpe.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Jason Gunthorpe |
Headers | show |
Series | Memory window support for rdma_rxe | expand |
On Thu, Aug 20, 2020 at 05:46:26PM -0500, Bob Pearson wrote: > This is a first prototype version of the user/kernel ABI extension > to add memory windows functionality to the rxe driver. It evolves > later. > > Signed-off-by: Bob Pearson <rpearson@hpe.com> > include/uapi/rdma/rdma_user_rxe.h | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h > index d8f2e0e46dab..dc01e5f3e31a 100644 > +++ b/include/uapi/rdma/rdma_user_rxe.h > @@ -93,6 +93,14 @@ struct rxe_send_wr { > __u32 remote_qkey; > __u16 pkey_index; > } ud; > + struct { > + __aligned_u64 addr; > + __aligned_u64 length; > + __u32 mr_index; > + __u32 mw_index; > + __u32 rkey; > + __u32 access; > + } bind_mw; > /* reg is only used by the kernel and is not part of the uapi */ > struct { > union { Add to the patch that uses this Jason
diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h index d8f2e0e46dab..dc01e5f3e31a 100644 --- a/include/uapi/rdma/rdma_user_rxe.h +++ b/include/uapi/rdma/rdma_user_rxe.h @@ -93,6 +93,14 @@ struct rxe_send_wr { __u32 remote_qkey; __u16 pkey_index; } ud; + struct { + __aligned_u64 addr; + __aligned_u64 length; + __u32 mr_index; + __u32 mw_index; + __u32 rkey; + __u32 access; + } bind_mw; /* reg is only used by the kernel and is not part of the uapi */ struct { union {
This is a first prototype version of the user/kernel ABI extension to add memory windows functionality to the rxe driver. It evolves later. Signed-off-by: Bob Pearson <rpearson@hpe.com> --- include/uapi/rdma/rdma_user_rxe.h | 8 ++++++++ 1 file changed, 8 insertions(+)