Skip to content

Use RDMA adaptive moderation library

Leon Romanovsky linux-rdma 2 versions – Applied

Status from this message: Applied to for-next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 1 replyApplied
  2. v43 patches 2 repliesSuperseded

Changes in v5 from the cover letter

* Separated mlx5 change from IB/core changes.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4linux/dim: Implement RDMA adaptive moderation (DIM)include/linux/dim.h lib/dim/Makefile lib/dim/rdma_dim.c+146 -40 replies
2/4RDMA/core: Provide RDMA DIM support for ULPsdrivers/infiniband/core/cq.c include/rdma/ib_verbs.h+49 -00 replies
3/4RDMA/nldev: Added configuration of RDMA dynamic interrupt moderation to netlinkdrivers/infiniband/Kconfig drivers/infiniband/core/core_priv.h drivers/infiniband/core/device.c +2 more+30 -00 replies
4/4RDMA/mlx5: Set RDMA DIM to be enabled by defaultdrivers/infiniband/hw/mlx5/main.c+2 -00 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMax GurtovoySagi Grimberg
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4

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

Read the v5 thread

Cover letter [PATCH rdma-next v5 0/4] Use RDMA adaptive moderation library

From: Leon Romanovsky <[email protected]>

Hi,

This is RDMA part of previously sent DIM library improvements series [1], which was pulled by Dave. It needs to be pulled to RDMA too as a pre-requirements.

Changes since v4:
* Separated mlx5 change from IB/core changes.

Changes since v3:
* Renamed dim_owner to be priv
* Added Sagi's ROBs
* Removed casting of void pointer.

Changes since v2:
- renamed user-space knob from dim to adaptive-moderation (Sagi)
- some minor code clean ups (Sagi)
- Reordered patches to ensure that netlink expose is last in the series.
- Slightly cleaned commit messages
- Changed "bool use_cq_dim" flag to be bitwise to save space.

Changes since v1:
- added per ib device configuration knob for rdma-dim (Sagi)
- add NL directives for user-space / rdma tool to configure rdma dim (Sagi/Leon)
- use one header file for DIM implementations (Leon)
- various point changes in the rdma dim related code in the IB core (Leon)
- removed the RDMA specific patches form this pull request\

Thanks

[1] https://www.spinics.net/lists/netdev/msg581046.html

Leon Romanovsky (1):
RDMA/mlx5: Set RDMA DIM to be enabled by default

Yamin Friedman (3):
linux/dim: Implement RDMA adaptive moderation (DIM) RDMA/core: Provide RDMA DIM support for ULPs
RDMA/nldev: Added configuration of RDMA dynamic interrupt moderation
to netlink

 drivers/infiniband/Kconfig          |   1 +
 drivers/infiniband/core/core_priv.h |   1 +
 drivers/infiniband/core/cq.c        |  45 ++++++++++++
 drivers/infiniband/core/device.c    |   9 +++
 drivers/infiniband/core/nldev.c     |  14 ++++
 drivers/infiniband/hw/mlx5/main.c   |   2 +
 include/linux/dim.h                 |  36 ++++++++++
 include/rdma/ib_verbs.h             |   4 ++
 include/uapi/rdma/rdma_netlink.h    |   5 ++
 lib/dim/Makefile                    |   6 +-
 lib/dim/rdma_dim.c                  | 108 ++++++++++++++++++++++++++++
 11 files changed, 227 insertions(+), 4 deletions(-)
 create mode 100644 lib/dim/rdma_dim.c

--
2.20.1