mbox series

[rdma-next,v2,0/4] RDMA/bnxt_re: Refactor Notification queue allocation

Message ID 1731577748-1804-1-git-send-email-selvin.xavier@broadcom.com (mailing list archive)
Headers show
Series RDMA/bnxt_re: Refactor Notification queue allocation | expand

Message

Selvin Xavier Nov. 14, 2024, 9:49 a.m. UTC
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(-)

Comments

Leon Romanovsky Nov. 14, 2024, 2:53 p.m. UTC | #1
On Thu, 14 Nov 2024 01:49:04 -0800, Selvin Xavier wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/4] RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserved
      https://git.kernel.org/rdma/rdma/c/65ecee132774e0
[2/4] RDMA/bnxt_re: Refactor NQ allocation
      https://git.kernel.org/rdma/rdma/c/30b871338c3eba
[3/4] RDMA/bnxt_re: Refurbish CQ to NQ hash calculation
      https://git.kernel.org/rdma/rdma/c/cb97b377a13589
[4/4] RDMA/bnxt_re: Cache MSIx info to a local structure
      https://git.kernel.org/rdma/rdma/c/31bad59805c388

Best regards,