public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/6] RDMA/hns: Use ida to manage index of some resources
@ 2021-06-10 11:50 Weihang Li
  2021-06-10 11:50 ` [PATCH for-next 1/6] RDMA/hns: Remove the unused hns_roce_bitmap_alloc_range function Weihang Li
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Weihang Li @ 2021-06-10 11:50 UTC (permalink / raw)
  To: dledford, jgg; +Cc: leon, linux-rdma, linuxarm, Weihang Li

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-06-21 18:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-10 11:50 [PATCH for-next 0/6] RDMA/hns: Use ida to manage index of some resources Weihang Li
2021-06-10 11:50 ` [PATCH for-next 1/6] RDMA/hns: Remove the unused hns_roce_bitmap_alloc_range function Weihang Li
2021-06-10 11:50 ` [PATCH for-next 2/6] RDMA/hns: Remove the unused hns_roce_bitmap_free_range function Weihang Li
2021-06-10 11:50 ` [PATCH for-next 3/6] RDMA/hns: Remove unused RR mechanism Weihang Li
2021-06-10 11:50 ` [PATCH for-next 4/6] RDMA/hns: Use IDA interface to manage mtpt index Weihang Li
2021-06-10 11:50 ` [PATCH for-next 5/6] RDMA/hns: Use IDA interface to manage pd index Weihang Li
2021-06-10 11:50 ` [PATCH for-next 6/6] RDMA/hns: Use IDA interface to manage xrcd index Weihang Li
2021-06-21 18:43 ` [PATCH for-next 0/6] RDMA/hns: Use ida to manage index of some resources Jason Gunthorpe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox