Skip to content

RDMA/bnxt_re: Refactor Notification queue allocation

Selvin Xavier linux-rdma 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyApplied
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Dropped patch 5
- Fixed error handling in patch 1 by adding bnxt_unregister_dev
- Removed redundant comment in patch 3

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4RDMA/bnxt_re: Fail probe early when not enough MSI-x vectors are reserveddrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/main.c+14 -100 replies
2/4RDMA/bnxt_re: Refactor NQ allocationdrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/main.c+60 -330 replies
3/4RDMA/bnxt_re: Refurbish CQ to NQ hash calculationdrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/main.c +2 more+32 -110 replies
4/4RDMA/bnxt_re: Cache MSIx info to a local structuredrivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/main.c+11 -80 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchAndy GospodarekAjit KhapardeHongguang GaoBhargava Chenna MarreddyKashyap DesaiChandramohan Akula
1/4R-b R-b R-b R-b R-b R-b
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v2 thread

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

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(-)
Signature · 1 line
2.5.5