]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Bugfix for querying qkey
authorLijun Ou <oulijun@huawei.com>
Fri, 8 May 2020 09:45:51 +0000 (17:45 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 19 May 2020 23:54:57 +0000 (20:54 -0300)
commit876ce5f9174fb9438de64e2e00bfa686a08134f7
tree5682df265cd9d8ee9d21f7a900a873e8117b8f0a
parent7d43c229e28d869e7d9b7a728c814a8c1a5ad9eb
RDMA/hns: Bugfix for querying qkey

The qkey queried through the query ud qp verb is a fixed value and it
should be read from qp context.

Fixes: bf25edb16eca ("RDMA/hns: Add QP operations support for hip08 SoC")
Link: https://lore.kernel.org/r/1588931159-56875-2-git-send-email-liweihang@huawei.com
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c