Skip to content

Packet based credit mode

Leon Romanovsky linux-rdma netdev 1 version Applied

Status from this message: Applied to for-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net/mlx5: Expose packet based credit modeinclude/linux/mlx5/mlx5_ifc.h+4 -20 replies
2/3IB/mlx5: Add packet based credit mode supportdrivers/infiniband/hw/mlx5/mlx5_ib.h drivers/infiniband/hw/mlx5/qp.c include/uapi/rdma/mlx5-abi.h+15 -20 replies
3/3IB/mlx5: Report packet based credit mode device capabilitydrivers/infiniband/hw/mlx5/main.c include/uapi/rdma/mlx5-abi.h+4 -00 replies

Reviews trailers per patch

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

PatchMajd Dibbiny
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] Packet based credit mode

From: Leon Romanovsky <[email protected]>

Quoted 1 line

From Danit,

Packet based credit mode is an alternative end-to-end credit mode for QPs set during their creation. Credits are transported from the responder to the requester to optimize the use of its receive resources. In packet-based credit mode, credits are issued on a per packet basis.

The advantage of this feature comes while sending large RDMA messages through switches that are short in memory.

The first commit exposes QP creation flag and the HCA capability. The second commit adds support for a new DV QP creation flag. The last commit report packet based credit mode capability via the MLX5DV device capabilities.

Thanks

Danit Goldberg (3):
net/mlx5: Expose packet based credit mode IB/mlx5: Add packet based credit mode support IB/mlx5: Report packet based credit mode device capability

 drivers/infiniband/hw/mlx5/main.c    |  3 +++
 drivers/infiniband/hw/mlx5/mlx5_ib.h |  1 +
 drivers/infiniband/hw/mlx5/qp.c      | 15 +++++++++++++--
 include/linux/mlx5/mlx5_ifc.h        |  6 ++++--
 include/uapi/rdma/mlx5-abi.h         |  2 ++
 5 files changed, 23 insertions(+), 4 deletions(-)