diff options
Diffstat (limited to 'libc/kernel/uapi/rdma/rdma_user_rxe.h')
-rw-r--r-- | libc/kernel/uapi/rdma/rdma_user_rxe.h | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/libc/kernel/uapi/rdma/rdma_user_rxe.h b/libc/kernel/uapi/rdma/rdma_user_rxe.h index 9fd21d7eb..cdb00c7b9 100644 --- a/libc/kernel/uapi/rdma/rdma_user_rxe.h +++ b/libc/kernel/uapi/rdma/rdma_user_rxe.h @@ -76,15 +76,19 @@ struct rxe_send_wr { __u32 remote_qpn; __u32 remote_qkey; __u16 pkey_index; + __u16 reserved; + __u32 ah_num; + __u32 pad[4]; + struct rxe_av av; } ud; struct { - union { - struct ib_mr * mr; - __aligned_u64 reserved; - }; - __u32 key; + __aligned_u64 addr; + __aligned_u64 length; + __u32 mr_lkey; + __u32 mw_rkey; + __u32 rkey; __u32 access; - } reg; + } mw; } wr; }; struct rxe_sge { @@ -105,13 +109,12 @@ struct rxe_dma_info { __u32 sge_offset; __u32 reserved; union { - __u8 inline_data[0]; - struct rxe_sge sge[0]; + __DECLARE_FLEX_ARRAY(__u8, inline_data); + __DECLARE_FLEX_ARRAY(struct rxe_sge, sge); }; }; struct rxe_send_wqe { struct rxe_send_wr wr; - struct rxe_av av; __u32 status; __u32 state; __aligned_u64 iova; @@ -129,6 +132,10 @@ struct rxe_recv_wqe { __u32 padding; struct rxe_dma_info dma; }; +struct rxe_create_ah_resp { + __u32 ah_num; + __u32 reserved; +}; struct rxe_create_cq_resp { struct mminfo mi; }; |