]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Simplify command fields for HEM base address configuration
authorXi Wang <wangxi11@huawei.com>
Sat, 27 Mar 2021 03:21:34 +0000 (11:21 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 1 Apr 2021 19:12:45 +0000 (16:12 -0300)
commit6d9d607ef47e511b4eacb83da57f3e0eac53a7f3
tree8bc6e6320f454ed85d65db8f98548a20fffdcac7
parent4f3f24089499fe33f5b72837403d72421f05246a
RDMA/hns: Simplify command fields for HEM base address configuration

Use hr_reg_write() instead of roce_set_field() to simplify codes about
configuring HEM BA.

Link: https://lore.kernel.org/r/1616815294-13434-6-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@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