]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/hns: Refactor extend link table allocation
authorXi Wang <wangxi11@huawei.com>
Thu, 20 May 2021 03:35:51 +0000 (11:35 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 20 May 2021 15:39:05 +0000 (12:39 -0300)
commit01bf03077e906902533de792050f07b71f732b78
tree58670c209d5c77d34a5573542efc283a62d0cb4c
parent52cf5a2733981f76ad4b3cfc8ab4340c8e953c17
RDMA/hns: Refactor extend link table allocation

The timeout link table works in HIP08 ES version and the hns driver only
support the CS version for HIP08, so delete the related code. Then
simplify the buffer allocation for link table to make the code more
readable.

Link: https://lore.kernel.org/r/1621481751-27375-1-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_device.h
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_hw_v2.h