]> 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)
commitd61db949e47dda9289eaa27ddbfb39f7820d9336
treea1c3e25daa55bfb062bb968020274a896b0950e4
parent93a8cf6b52623620c82708dd74b05da8a2f5f7e5
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