From: Selvin Xavier <selvin.xavier@broadcom.com>
To: leon@kernel.org, jgg@ziepe.ca
Cc: linux-rdma@vger.kernel.org, andrew.gospodarek@broadcom.com,
kalesh-anakkur.purayil@broadcom.com,
Selvin Xavier <selvin.xavier@broadcom.com>
Subject: [PATCH rdma-next v2 0/4]RDMA/bnxt_re: Refactor Notification queue allocation
Date: Thu, 14 Nov 2024 01:49:04 -0800 [thread overview]
Message-ID: <1731577748-1804-1-git-send-email-selvin.xavier@broadcom.com> (raw)
Includes some generic improvments and code refactoring for the
Notification Queue handling in the driver. Remove the data
structures that store the NQ information out of the device
structure. Fix few issues in selecting the NQ during CQ
create. Also, fail the driver load if NIC driver can not
allocate at least two NQs for RoCE.
Please review and apply.
Thanks,
Selvin Xavier
v1 -> v2:
- Dropped patch 5
- Fixed error handling in patch 1 by adding bnxt_unregister_dev
- Removed redundant comment in patch 3
Kalesh AP (4):
RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are
reserved
RDMA/bnxt_re: Refactor NQ allocation
RDMA/bnxt_re: Refurbish CQ to NQ hash calculation
RDMA/bnxt_re: Cache MSIx info to a local structure
drivers/infiniband/hw/bnxt_re/bnxt_re.h | 18 +++--
drivers/infiniband/hw/bnxt_re/ib_verbs.c | 41 +++++++----
drivers/infiniband/hw/bnxt_re/main.c | 114 ++++++++++++++++++++-----------
drivers/infiniband/hw/bnxt_re/qplib_fp.c | 1 +
drivers/infiniband/hw/bnxt_re/qplib_fp.h | 1 +
5 files changed, 115 insertions(+), 60 deletions(-)
--
2.5.5
next reply other threads:[~2024-11-14 10:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-14 9:49 Selvin Xavier [this message]
2024-11-14 9:49 ` [PATCH rdma-next v2 1/4] RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved Selvin Xavier
2024-11-14 9:49 ` [PATCH rdma-next v2 2/4] RDMA/bnxt_re: Refactor NQ allocation Selvin Xavier
2024-11-14 9:49 ` [PATCH rdma-next v2 3/4] RDMA/bnxt_re: Refurbish CQ to NQ hash calculation Selvin Xavier
2024-11-14 9:49 ` [PATCH rdma-next v2 4/4] RDMA/bnxt_re: Cache MSIx info to a local structure Selvin Xavier
2024-11-14 14:53 ` [PATCH rdma-next v2 0/4]RDMA/bnxt_re: Refactor Notification queue allocation Leon Romanovsky
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=1731577748-1804-1-git-send-email-selvin.xavier@broadcom.com \
--to=selvin.xavier@broadcom.com \
--cc=andrew.gospodarek@broadcom.com \
--cc=jgg@ziepe.ca \
--cc=kalesh-anakkur.purayil@broadcom.com \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox