projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db570d7
)
IB/vmw_pvrdma: Spare annotate imm_data
author
Jason Gunthorpe
<
[email protected]
>
Thu, 6 Apr 2017 22:33:14 +0000
(16:33 -0600)
committer
Doug Ledford
<
[email protected]
>
Tue, 25 Apr 2017 19:42:36 +0000
(15:42 -0400)
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 <
[email protected]
>
Tested-by: Adit Ranadive <
[email protected]
>
Acked-by: Adit Ranadive <
[email protected]
>
Signed-off-by: Doug Ledford <
[email protected]
>
include/uapi/rdma/vmw_pvrdma-abi.h
patch
|
blob
|
history
diff --git
a/include/uapi/rdma/vmw_pvrdma-abi.h
b/include/uapi/rdma/vmw_pvrdma-abi.h
index 5016abc9ee9712abc1fb4e04993940b80460a2be..c8c1d2d6df4d52ad84315727ec69849b9daa32ee 100644
(file)
--- 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 {
- __
u
32 imm_data;
+ __
be
32 imm_data;
__u32 invalidate_rkey;
} ex;
__u32 reserved;
@@
-273,7
+273,7
@@
struct pvrdma_cqe {
__u32 opcode;
__u32 status;
__u32 byte_len;
- __
u
32 imm_data;
+ __
be
32 imm_data;
__u32 src_qp;
__u32 wc_flags;
__u32 vendor_err;