aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorBernard Metzler <bmt@zurich.ibm.com>2019-08-09 17:18:16 +0200
committerDoug Ledford <dledford@redhat.com>2019-08-13 12:22:06 -0400
commit2c8ccb37b08fe364f02a9914daca474d43151453 (patch)
treeca7161194d86802b9625c678de0707858da83779 /include/uapi/rdma
parentRDMA/core: Fix error code in stat_get_doit_qp() (diff)
downloadwireguard-linux-2c8ccb37b08fe364f02a9914daca474d43151453.tar.xz
wireguard-linux-2c8ccb37b08fe364f02a9914daca474d43151453.zip
RDMA/siw: Change CQ flags from 64->32 bits
This patch changes the driver/user shared (mmapped) CQ notification flags field from unsigned 64-bits size to unsigned 32-bits size. This enables building siw on 32-bit architectures. This patch changes the siw-abi, but as siw was only just merged in this merge window cycle, there are no released kernels with the prior abi. We are making no attempt to be binary compatible with siw user space libraries prior to the merge of siw into the upstream kernel, only moving forward with upstream kernels and upstream rdma-core provided siw libraries are we guaranteeing compatibility. Signed-off-by: Bernard Metzler <bmt@zurich.ibm.com> Link: https://lore.kernel.org/r/20190809151816.13018-1-bmt@zurich.ibm.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/siw-abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/siw-abi.h b/include/uapi/rdma/siw-abi.h
index 7de68f1dc707..af735f55b291 100644
--- a/include/uapi/rdma/siw-abi.h
+++ b/include/uapi/rdma/siw-abi.h
@@ -180,6 +180,7 @@ struct siw_cqe {
* to control CQ arming.
*/
struct siw_cq_ctrl {
- __aligned_u64 notify;
+ __u32 flags;
+ __u32 pad;
};
#endif