Skip to content

RDMA/bnxt_re: Control path updates

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 Latest17 patches 6 repliesApplied
  2. v117 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Fix the warning reported by kbuild test robot in patch 10 about variables set and not used. Rebased the other patches based on the modified patch.
- Reported-by: kernel test robot <[email protected]>

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/17RDMA/bnxt_re: wraparound mbox producer indexdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+2 -20 replies
2/17RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock contextdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+10 -30 replies
3/17RDMA/bnxt_re: remove virt_func check while creating RoCE FW channeldrivers/infiniband/hw/bnxt_re/main.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+9 -130 replies
4/17RDMA/bnxt_re: set fixed command queue depthdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+4 -90 replies
5/17RDMA/bnxt_re: Enhance the existing functions that wait for FW responsesdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+51 -141 reply
6/17RDMA/bnxt_re: Avoid the command wait if firmware is inactivedrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+48 -40 replies
7/17RDMA/bnxt_re: use shadow qd while posting non blocking rcfw commanddrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+61 -20 replies
8/17RDMA/bnxt_re: Simplify the function that sends the FW commandsdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+86 -610 replies
9/17RDMA/bnxt_re: add helper function __poll_for_respdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+44 -12 replies
10/17RDMA/bnxt_re: handle command completions after driver detect a timedoutdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+34 -261 reply
11/17RDMA/bnxt_re: Add firmware stall check detectiondrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+39 -100 replies
12/17RDMA/bnxt_re: post destroy_ah for delayed completion of AH creationdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+110 -00 replies
13/17RDMA/bnxt_re: consider timeout of destroy ah as success.drivers/infiniband/hw/bnxt_re/bnxt_re.h drivers/infiniband/hw/bnxt_re/ib_verbs.c drivers/infiniband/hw/bnxt_re/qplib_sp.c +1 more+21 -90 replies
14/17RDMA/bnxt_re: cancel all control path command waiters upon error.drivers/infiniband/hw/bnxt_re/main.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.c+3 -20 replies
15/17RDMA/bnxt_re: use firmware provided max request timeoutdrivers/infiniband/hw/bnxt_re/main.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h +1 more+60 -120 replies
16/17RDMA/bnxt_re: remove redundant cmdq_bitmapdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c drivers/infiniband/hw/bnxt_re/qplib_rcfw.h+34 -480 replies
17/17RDMA/bnxt_re: optimize the parameters passed to helper functionsdrivers/infiniband/hw/bnxt_re/qplib_rcfw.c+19 -250 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 for-next 00/17] RDMA/bnxt_re: Control path updates

This patch series from Kashyap includes code refactoring and some optimizations in the FW control path of the driver. It also address some of the issues seen as we scale up the HW resources. It also includes few bug fixes in the control path.

Please review and apply.

Thanks,
Selvin Xavier

v1 -> v2:
- Fix the warning reported by kbuild test robot in patch 10 about variables set and not used. Rebased the other patches based on the modified patch.
- Reported-by: kernel test robot <[email protected]>

Kashyap Desai (17):
RDMA/bnxt_re: wraparound mbox producer index RDMA/bnxt_re: Avoid calling wake_up threads from spin_lock context RDMA/bnxt_re: remove virt_func check while creating RoCE FW channel RDMA/bnxt_re: set fixed command queue depth RDMA/bnxt_re: Enhance the existing functions that wait for FW
responses
RDMA/bnxt_re: Avoid the command wait if firmware is inactive RDMA/bnxt_re: use shadow qd while posting non blocking rcfw command RDMA/bnxt_re: Simplify the function that sends the FW commands RDMA/bnxt_re: add helper function __poll_for_resp RDMA/bnxt_re: handle command completions after driver detect a
timedout
RDMA/bnxt_re: Add firmware stall check detection RDMA/bnxt_re: post destroy_ah for delayed completion of AH creation RDMA/bnxt_re: consider timeout of destroy ah as success. RDMA/bnxt_re: cancel all control path command waiters upon error. RDMA/bnxt_re: use firmware provided max request timeout RDMA/bnxt_re: remove redundant cmdq_bitmap
RDMA/bnxt_re: optimize the parameters passed to helper functions

 drivers/infiniband/hw/bnxt_re/bnxt_re.h    |   2 +
 drivers/infiniband/hw/bnxt_re/ib_verbs.c   |  16 +-
 drivers/infiniband/hw/bnxt_re/main.c       |  11 +-
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.c | 627 ++++++++++++++++++++++-------
 drivers/infiniband/hw/bnxt_re/qplib_rcfw.h |  51 ++-
 drivers/infiniband/hw/bnxt_re/qplib_res.h  |   1 +
 drivers/infiniband/hw/bnxt_re/qplib_sp.c   |   8 +-
 drivers/infiniband/hw/bnxt_re/qplib_sp.h   |   4 +-
 8 files changed, 557 insertions(+), 163 deletions(-)
Signature · 1 line
2.5.5