]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd02410b2f571e69a57ad769b2743b38d8ea3cbe
tree757352a6b63730104fb9176527b9e392824e582c
parent715e37ffb9488c3f3a72a3d82a6d57d6c0d7af56
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