RDMA/hns: Use new interfaces to write SRQC
authorLang Cheng <chenglang@huawei.com>
Sat, 30 Jan 2021 08:58:06 +0000 (16:58 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 8 Feb 2021 23:37:35 +0000 (19:37 -0400)
commit3f31c4126573083f31e098c106127ef315d5f761
tree7fcb5582564539ab664e43b4ac172b153fd26940
parenteacb45ca8f4bb722ab5a9734379b37e4bd99f3c0
RDMA/hns: Use new interfaces to write SRQC

Use new register operation interfaces to simplify the process of write SRQ
Context.

Link: https://lore.kernel.org/r/1611997090-48820-9-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_hw_v2.h