RDMA/hns: Reorganize process of setting HEM
authorXi Wang <wangxi11@huawei.com>
Sat, 27 Mar 2021 03:21:33 +0000 (11:21 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 1 Apr 2021 19:12:45 +0000 (16:12 -0300)
commitc6f0411b960d0b5af35c78cf47cc8019bee00656
treefe9d6dbdceacc5424a9fa63d6f11f4407a84ce88
parentee82e68850a43a080e64497ec6940d23f8c6df66
RDMA/hns: Reorganize process of setting HEM

Encapsulate configuring GMV base address and other type of HEM table into
two separate functions to make process of setting HEM clearer.

Link: https://lore.kernel.org/r/1616815294-13434-5-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