public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-rext V2 0/5] RDMA/bnxt_re: Add QP rate limit support
@ 2026-01-29 10:21 Kalesh AP
  2026-01-29 10:21 ` [PATCH rdma-rext V2 1/5] IB/core: Extend rate limit support for RC QPs Kalesh AP
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Kalesh AP @ 2026-01-29 10:21 UTC (permalink / raw)
  To: leon, jgg; +Cc: linux-rdma, andrew.gospodarek, selvin.xavier, Kalesh AP

Hi,

This patchset supports QP rate limit in the bnxt_re driver.

Broadcom P7 devices supports setting the rate limit while changing
RC QP state from INIT to RTR, RTR to RTS and RTS to RTS. Or, once
the QP is transitioned to RTR or RTS state.

First patch adds stack support for rate limit for RC QPs.

Second patch adds support for QP rate limiting in the bnxt_re driver.

Third patch adds support to report packet pacing capabilities in the
query_device.

Forth patch adds support to report QP rate limit in debugfs QP info.

The pull request for rdma-core changes are at:

https://github.com/linux-rdma/rdma-core/pull/1692

V1->V2: 
1. Added a new patch#5 to limit the support for rate limit only for
Raw Packet QP on mlx5 hardware.
2. Modified to use ibdev_err instead of dev_err in patch#2. Also,
modified to return error for rate_limit for non RC QPs.

Regards,
Kalesh

Kalesh AP (5):
  IB/core: Extend rate limit support for RC QPs
  RDMA/bnxt_re: Add support for QP rate limiting
  RDMA/bnxt_re: Report packet pacing capabilities when querying device
  RDMA/bnxt_re: Report QP rate limit in debugfs
  RDMA/mlx5: Support rate limit only for Raw Packet QP

 drivers/infiniband/core/verbs.c           |  9 ++++--
 drivers/infiniband/hw/bnxt_re/debugfs.c   | 14 ++++++--
 drivers/infiniband/hw/bnxt_re/ib_verbs.c  | 39 +++++++++++++++++++++--
 drivers/infiniband/hw/bnxt_re/qplib_fp.c  | 12 ++++++-
 drivers/infiniband/hw/bnxt_re/qplib_fp.h  |  3 ++
 drivers/infiniband/hw/bnxt_re/qplib_res.h |  6 ++++
 drivers/infiniband/hw/bnxt_re/qplib_sp.c  |  5 +++
 drivers/infiniband/hw/bnxt_re/qplib_sp.h  |  2 ++
 drivers/infiniband/hw/bnxt_re/roce_hsi.h  | 13 +++++---
 drivers/infiniband/hw/mlx5/qp.c           |  5 +++
 include/uapi/rdma/bnxt_re-abi.h           | 16 ++++++++++
 11 files changed, 112 insertions(+), 12 deletions(-)

-- 
2.43.5


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-02-02  3:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 10:21 [PATCH rdma-rext V2 0/5] RDMA/bnxt_re: Add QP rate limit support Kalesh AP
2026-01-29 10:21 ` [PATCH rdma-rext V2 1/5] IB/core: Extend rate limit support for RC QPs Kalesh AP
2026-02-01 12:51   ` Leon Romanovsky
2026-02-02  3:22     ` Kalesh Anakkur Purayil
2026-01-29 10:21 ` [PATCH rdma-rext V2 2/5] RDMA/bnxt_re: Add support for QP rate limiting Kalesh AP
2026-02-01 12:55   ` Leon Romanovsky
2026-01-29 10:21 ` [PATCH rdma-rext V2 3/5] RDMA/bnxt_re: Report packet pacing capabilities when querying device Kalesh AP
2026-01-29 10:21 ` [PATCH rdma-rext V2 4/5] RDMA/bnxt_re: Report QP rate limit in debugfs Kalesh AP
2026-01-29 10:21 ` [PATCH rdma-rext V2 5/5] RDMA/mlx5: Support rate limit only for Raw Packet QP Kalesh AP

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox