]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f3f24089499fe33f5b72837403d72421f05246a
treefe9d6dbdceacc5424a9fa63d6f11f4407a84ce88
parentf71dcb2b678d7f0372d4bff9d2918fe448546a64
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