From: Xiao Yang Date: Thu, 1 Dec 2022 14:37:07 +0000 (+0000) Subject: RDMA/rxe: Extend rxe user ABI to support atomic write X-Git-Tag: v6.6.7~3875^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c2d939002934fa9d7b802f196b069963b46da194;p=platform%2Fkernel%2Flinux-starfive.git RDMA/rxe: Extend rxe user ABI to support atomic write Define an atomic_wr array to store 8-byte value. Link: https://lore.kernel.org/r/1669905432-14-4-git-send-email-yangx.jy@fujitsu.com Signed-off-by: Xiao Yang Signed-off-by: Jason Gunthorpe --- diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h index 73f679d..d20d1ec 100644 --- a/include/uapi/rdma/rdma_user_rxe.h +++ b/include/uapi/rdma/rdma_user_rxe.h @@ -146,6 +146,7 @@ struct rxe_dma_info { __u32 reserved; union { __DECLARE_FLEX_ARRAY(__u8, inline_data); + __DECLARE_FLEX_ARRAY(__u8, atomic_wr); __DECLARE_FLEX_ARRAY(struct rxe_sge, sge); }; };