diff options
author | Xiao Yang <yangx.jy@fujitsu.com> | 2022-12-01 17:37:07 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2022-12-02 02:51:09 +0300 |
commit | c2d939002934fa9d7b802f196b069963b46da194 (patch) | |
tree | 0c6814da2fdfe0b44b99ee66fbcde919e664c74a | |
parent | 3ff81e827b8d5cea36ff374a11c200b4306f45d2 (diff) | |
download | linux-c2d939002934fa9d7b802f196b069963b46da194.tar.xz |
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 <yangx.jy@fujitsu.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
-rw-r--r-- | include/uapi/rdma/rdma_user_rxe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/rdma_user_rxe.h b/include/uapi/rdma/rdma_user_rxe.h index 73f679dfd2df..d20d1ecf046f 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); }; }; |