Skip to content

RDMA/bnxt_re: Optimize the memory usage by the driver

Selvin Xavier linux-rdma 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2RDMA/bnxt_re: Refactor the queue index updatedrivers/infiniband/hw/bnxt_re/qplib_fp.c drivers/infiniband/hw/bnxt_re/qplib_fp.h drivers/infiniband/hw/bnxt_re/qplib_rcfw.c +3 more+123 -950 replies
2/2bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resourcesdrivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/ib_verbs.h include/uapi/rdma/bnxt_re-abi.h+54 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-next 0/2] RDMA/bnxt_re: Optimize the memory usage by the driver

This series changes the wrap around condition and avoid using the power of 2 number of entries while creating the HW resources like QPs/CQs/MRs. Also, added backward compatibility to work with different versions of the driver and library.

Corresponding lib changes are available in the following pull request.
https://github.com/linux-rdma/rdma-core/pull/1400

Thanks,
Selvin Xavier

Chandramohan Akula (2):
RDMA/bnxt_re: Refactor the queue index update
bnxt_re: Remove roundup_pow_of_two depth for all hardware queue
resources

 drivers/infiniband/hw/bnxt_re/ib_verbs.c   |  57 ++++++++----
 drivers/infiniband/hw/bnxt_re/ib_verbs.h   |   7 ++
 drivers/infiniband/hw/bnxt_re/qplib_fp.c   | 138 ++++++++++++++---------------
 drivers/infiniband/hw/bnxt_re/qplib_fp.h   |  20 ++++-
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c |  17 ++--
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |   4 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.c  |   2 +-
 drivers/infiniband/hw/bnxt_re/qplib_res.h  |  37 +++++---
 include/uapi/rdma/bnxt_re-abi.h            |   9 ++
 9 files changed, 177 insertions(+), 114 deletions(-)
Signature · 1 line
2.5.5