Index of some resources is managed by bitmap in driver, we first do some cleanups on the bitmap functions, than replace them with ida interfaces. Yangyang Li (6): RDMA/hns: Remove the unused hns_roce_bitmap_alloc_range function RDMA/hns: Remove the unused hns_roce_bitmap_free_range function RDMA/hns: Remove unused RR mechanism RDMA/hns: Use IDA interface to manage mtpt index RDMA/hns: Use IDA interface to manage pd index RDMA/hns: Use IDA interface to manage xrcd index drivers/infiniband/hw/hns/hns_roce_alloc.c | 63 ++----------------- drivers/infiniband/hw/hns/hns_roce_device.h | 32 ++++------ drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 3 +- drivers/infiniband/hw/hns/hns_roce_main.c | 32 +++------- drivers/infiniband/hw/hns/hns_roce_mr.c | 66 ++++++++++---------- drivers/infiniband/hw/hns/hns_roce_pd.c | 94 ++++++++++++----------------- drivers/infiniband/hw/hns/hns_roce_srq.c | 4 +- 7 files changed, 100 insertions(+), 194 deletions(-) -- 2.7.4