Use the ida interface to replace hns' own bitmap interface. The previous ida patchset has replaced qp, cq, mr, pd, and xrcd. This ida patchset will replace the remaining uar and srq. Since then, all replacements have been completed. Link to the previous ida patchset: https://patchwork.kernel.org/project/linux-rdma/cover/1623325814-55737-1-git-send-email-liweihang@xxxxxxxxxx/ Yangyang Li (3): RDMA/hns: Use IDA interface to manage uar index RDMA/hns: Use IDA interface to manage srq index RDMA/hns: Delete unused hns bitmap interface drivers/infiniband/hw/hns/hns_roce_alloc.c | 74 +---------------------------- drivers/infiniband/hw/hns/hns_roce_device.h | 16 ++----- drivers/infiniband/hw/hns/hns_roce_main.c | 31 +++--------- drivers/infiniband/hw/hns/hns_roce_pd.c | 31 ++++++------ drivers/infiniband/hw/hns/hns_roce_srq.c | 28 +++++------ 5 files changed, 40 insertions(+), 140 deletions(-) -- 2.8.1