RDMA: Mark imm_data as be32 in the verbs uapi header
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 21:43:05 +0000 (14:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 15 Jan 2018 22:33:21 +0000 (15:33 -0700)
commitc966ea12c00515e70a976aec57d1a4334582c411
treef5b4ebe3dd50b501f4d7ffadd7133ab74f3c1662
parenta6753c4d6257feef2a82522d0d222166d4be4aa8
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>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/sw/rdmavt/cq.c
drivers/infiniband/sw/rxe/rxe_resp.c
include/uapi/rdma/ib_user_verbs.h