Skip to content

Commit

Permalink
IB/vmw_pvrdma: Spare annotate imm_data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jason Gunthorpe authored and Doug Ledford committed Apr 25, 2017
1 parent db570d7 commit cc47dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/uapi/rdma/vmw_pvrdma-abi.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit cc47dd6

Please sign in to comment.