[PATCH for-next 0/6] RDMA/hns: Use ida to manage index of some resources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux