[MAINLINE 0/2] Enable DIM for legacy ULPs and use it in RDS

Håkon Bugge
2024-09-18T08:36:09Z

The Dynamic Interrupt Moderation mechanism can only be used by ULPs
using ib_alloc_cq() and family. We extend DIM to also cover legacy
ULPs using ib_create_cq(). The last commit takes advantage of this end
uses DIM in RDS.

Håkon Bugge (2):
RDMA/core: Enable legacy ULPs to use RDMA DIM
rds: ib: Add Dynamic Interrupt Moderation to CQs

drivers/infiniband/core/cq.c | 7 +++++--
drivers/infiniband/core/cq.h | 16 ++++++++++++++++
drivers/infiniband/core/verbs.c | 6 ++++++
net/rds/ib_cm.c | 10 ++++++++++
4 files changed, 37 insertions(+), 2 deletions(-)
create mode 100644 drivers/infiniband/core/cq.h

--
2.43.5