RDMA/hns: Use new SQ doorbell register for HIP09
authorLang Cheng <chenglang@huawei.com>
Tue, 23 Feb 2021 12:20:33 +0000 (20:20 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 10 Mar 2021 18:53:46 +0000 (14:53 -0400)
commit0f00571f94339fa27f592d157ccc0b909dc0625e
tree5e2a9e495b978ad10ce187a6e6bb8c5d278fd81d
parenta38fd8748464831584a19438cbb3082b5a2dab15
RDMA/hns: Use new SQ doorbell register for HIP09

HIP09 uses new address space to map SQ doorbell registers, the doorbell of
each QP is isolated based on the size of 64KB, which can improve the
performance in concurrency scenarios.

Link: https://lore.kernel.org/r/1614082833-23130-1-git-send-email-liweihang@huawei.com
Signed-off-by: Lang Cheng <chenglang@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_qp.c