mbox series

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

Message ID 1698069803-1787-1-git-send-email-selvin.xavier@broadcom.com (mailing list archive)
Headers show
Series RDMA/bnxt_re: Optimize the memory usage by the driver | expand

Message

Selvin Xavier Oct. 23, 2023, 2:03 p.m. UTC
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(-)

Comments

Leon Romanovsky Nov. 13, 2023, 8:39 a.m. UTC | #1
On Mon, 23 Oct 2023 07:03:21 -0700, Selvin Xavier wrote:
> 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
> 
> [...]

Applied, thanks!

[1/2] RDMA/bnxt_re: Refactor the queue index update
      https://git.kernel.org/rdma/rdma/c/3a4304d8269501
[2/2] bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources
      https://git.kernel.org/rdma/rdma/c/48f996d4adf15a

Best regards,