RDMA/hns: Use new interface to modify QP context
authorLang Cheng <chenglang@huawei.com>
Mon, 21 Jun 2021 08:00:39 +0000 (16:00 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 21 Jun 2021 18:03:41 +0000 (15:03 -0300)
commitf0cb411aad23aff0f1dc530d0d6306a5df0574cc
tree39cbc571bcb15bf04aea35942a29d9520206a8f5
parentf6fcd28d49a7f1aaadad89e1ce4301472e20869b
RDMA/hns: Use new interface to modify QP context

Fill all QPC fileds with hr_reg_*() instead of roce_set_*(). SQPN is used
for HIP08 ES only, it should be removed.

Link: https://lore.kernel.org/r/1624262443-24528-6-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