diff options
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | 2017-04-06 16:33:14 -0600 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-04-25 15:42:36 -0400 |
commit | cc47dd684ee04f9f49f081002a74ef1ba9d14cc8 (patch) | |
tree | 01f67a34bd261393ff27315d57961110a769b87b /include/uapi/rdma/vmw_pvrdma-abi.h | |
parent | db570d7deafb47ee635981f403a6531844c18ba5 (diff) | |
download | op-kernel-dev-cc47dd684ee04f9f49f081002a74ef1ba9d14cc8.zip op-kernel-dev-cc47dd684ee04f9f49f081002a74ef1ba9d14cc8.tar.gz |
IB/vmw_pvrdma: Spare annotate imm_data
imm_data is copied directly from the ib_send_wr and ib_wc which have
it marked as __be32, copy that mark into the uapi structures as well.
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Adit Ranadive <aditr@vmware.com>
Acked-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma/vmw_pvrdma-abi.h')
-rw-r--r-- | include/uapi/rdma/vmw_pvrdma-abi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/rdma/vmw_pvrdma-abi.h b/include/uapi/rdma/vmw_pvrdma-abi.h index 5016abc..c8c1d2d 100644 --- a/include/uapi/rdma/vmw_pvrdma-abi.h +++ b/include/uapi/rdma/vmw_pvrdma-abi.h @@ -222,7 +222,7 @@ struct pvrdma_sq_wqe_hdr { __u32 opcode; /* operation type */ __u32 send_flags; /* wr flags */ union { - __u32 imm_data; + __be32 imm_data; __u32 invalidate_rkey; } ex; __u32 reserved; @@ -273,7 +273,7 @@ struct pvrdma_cqe { __u32 opcode; __u32 status; __u32 byte_len; - __u32 imm_data; + __be32 imm_data; __u32 src_qp; __u32 wc_flags; __u32 vendor_err; |