RDMA: Mark imm_data as be32 in the verbs uapi header
This matches what the userspace copy of this header has been doing for a while. imm_data is an opaque 4 byte array carried over the network, and invalidate_rkey is in CPU byte order. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
@@ -449,7 +449,7 @@ struct ib_uverbs_wc {
|
||||
__u32 vendor_err;
|
||||
__u32 byte_len;
|
||||
union {
|
||||
__u32 imm_data;
|
||||
__be32 imm_data;
|
||||
__u32 invalidate_rkey;
|
||||
} ex;
|
||||
__u32 qp_num;
|
||||
@@ -765,7 +765,7 @@ struct ib_uverbs_send_wr {
|
||||
__u32 opcode;
|
||||
__u32 send_flags;
|
||||
union {
|
||||
__u32 imm_data;
|
||||
__be32 imm_data;
|
||||
__u32 invalidate_rkey;
|
||||
} ex;
|
||||
union {
|
||||
|
Reference in New Issue
Block a user