OSDN Git Service

RDMA/hns: Update the data type of immediate data
authorLijun Ou <oulijun@huawei.com>
Wed, 25 Jul 2018 07:29:40 +0000 (15:29 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 27 Jul 2018 02:10:37 +0000 (20:10 -0600)
commit0c4a0e2987a51415de73180ce9f389a99b3dddd1
tree78e10235137cf728e58cda0437396076be6905bd
parent73b4e1f4c04e76b19fca296d09b97555bfb35202
RDMA/hns: Update the data type of immediate data

Because the data structure of hip08 is little endian, it needs to fix the
immediate field of wqe and cqe into __le32.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h