]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1495fb121d0a6e239400d3af0175623157b21990
tree5e2a9e495b978ad10ce187a6e6bb8c5d278fd81d
parent219c9076286fd92026e818ab1375558e5b20649f
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