From: Leon Romanovsky <leonro@xxxxxxxxxxxx> 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 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 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