From: Weihang Li <liweihang@huawei.com>
To: <dledford@redhat.com>, <jgg@nvidia.com>
Cc: <leon@kernel.org>, <linux-rdma@vger.kernel.org>,
<linuxarm@huawei.com>, Weihang Li <liweihang@huawei.com>
Subject: [PATCH for-next 0/6] RDMA/hns: Use ida to manage index of some resources
Date: Thu, 10 Jun 2021 19:50:08 +0800 [thread overview]
Message-ID: <1623325814-55737-1-git-send-email-liweihang@huawei.com> (raw)
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
next reply other threads:[~2021-06-10 11:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-10 11:50 Weihang Li [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1623325814-55737-1-git-send-email-liweihang@huawei.com \
--to=liweihang@huawei.com \
--cc=dledford@redhat.com \
--cc=jgg@nvidia.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linuxarm@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.