On Tue, Jun 01, 2021 at 05:57:07PM +0800, Weihang Li wrote: > From: Xi Wang <wangxi11@xxxxxxxxxx> > > All functions of HIP09's ROCEE share on-chip resources for all QPs, the > driver needs configure the resource index and number for each function > during the init stage. > > Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx> > Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx> > --- > drivers/infiniband/hw/hns/hns_roce_device.h | 5 +- > drivers/infiniband/hw/hns/hns_roce_hem.c | 25 ++++---- > drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 3 +- > drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 88 +++++++++++++++++++++++++++-- > drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 10 ++++ > drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- > 6 files changed, 106 insertions(+), 27 deletions(-) Applied to for-next, thanks Jason