On Thu, May 20, 2021 at 11:35:51AM +0800, Weihang Li wrote: > From: Xi Wang <wangxi11@xxxxxxxxxx> > > 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. > > Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx> > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > Changes since v1: > * Merge the first patch in the series into the second one. > * Link: https://patchwork.kernel.org/project/linux-rdma/cover/1620807370-9409-1-git-send-email-liweihang@xxxxxxxxxx/ > > drivers/infiniband/hw/hns/hns_roce_device.h | 3 +- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 255 ++++++++++++---------------- > drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 72 +++----- > 3 files changed, 124 insertions(+), 206 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>