Skip to content

Add Flow Control for Solicited MADs

Leon Romanovsky linux-rdma lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/mad: Replace MAD's refcount with a state machinedrivers/infiniband/core/mad.c drivers/infiniband/core/mad_priv.h drivers/infiniband/core/mad_rmpp.c+33 -281 reply
2/3IB/mad: Remove unnecessary done list by utilizing MAD statesdrivers/infiniband/core/mad.c drivers/infiniband/core/mad_priv.h+6 -82 replies
3/3IB/mad: Add flow control for solicited MADsdrivers/infiniband/core/mad.c drivers/infiniband/core/mad_priv.h+171 -81 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMaher Sanalla
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH rdma-next 0/3] Add Flow Control for Solicited MADs

From: Leon Romanovsky <[email protected]>

From Or:

This patch series introduces flow control for solicited MADs in the MAD layer, addressing the need avoid loss caused by insufficient resources at the receiver.

Both the client and the server act as receivers - the latter receives requests, while the former receives responses. To facilitate this flow control, the series also refactors the MAD code, improving readability and enabling more straightforward implementation.

Patch #1: Replace MAD's refcount with 'state' for readability Patch #2: Remove unnecessary done list by utilizing MAD states Patch #3: Add flow control for solicited MADs

The primary goal of this series is to add a flow control mechanism to the MAD layer, reducing the number of timeouts.

The accompanying refactoring simplifies state management, making the code more maintainable and supporting the new flow control logic effectively.

Thanks

Or Har-Toov (3):
IB/mad: Replace MAD's refcount with a state machine IB/mad: Remove unnecessary done list by utilizing MAD states IB/mad: Add flow control for solicited MADs

 drivers/infiniband/core/mad.c      | 212 +++++++++++++++++++++++++----
 drivers/infiniband/core/mad_priv.h |  19 ++-
 drivers/infiniband/core/mad_rmpp.c |   7 +-
 3 files changed, 202 insertions(+), 36 deletions(-)
Signature · 1 line
2.47.0