]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54508e092cb533a4aee0caa137aa1fb0b23f276a
tree39cbc571bcb15bf04aea35942a29d9520206a8f5
parentb11cf6dd887dd8fd3b008baa309f97c461349ca7
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