]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/qedr: Fix endian problems around imm_data
authorJason Gunthorpe <jgg@mellanox.com>
Thu, 11 Jan 2018 21:43:07 +0000 (14:43 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 15 Jan 2018 22:33:21 +0000 (15:33 -0700)
commitb86bdfca0d36e8b8cedd2c7783f06dd783d1c922
treea1c3e25daa55bfb062bb968020274a896b0950e4
parent95171c6e0bea400d686f5a667c760be9bc061af7
RDMA/qedr: Fix endian problems around imm_data

The double swap matches what user space rdma-core does to imm_data.

wc->imm_data is not used in the kernel so this change has no practical
impact.

Acked-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/qedr/verbs.c