RDMA/hns: Modify the value with rd&dest_rd of qp_attr
authorLijun Ou <oulijun@huawei.com>
Fri, 29 Sep 2017 15:10:07 +0000 (23:10 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 29 Sep 2017 16:01:54 +0000 (12:01 -0400)
commitbe7acd9d01c65a5d947ecd36d7b78b838b7313e5
tree757352a6b63730104fb9176527b9e392824e582c
parent2015f26cfadec126265fabfbb0e6566e2cca94b4
RDMA/hns: Modify the value with rd&dest_rd of qp_attr

The value of max_rd_atomic and max_dest_rd_atomic in query_qp
are incorrect. It should be assigned by left shifting of
the bit in hip06 SoC.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hns/hns_roce_hw_v1.c