Skip to content

net/smc: transition to RDMA core CQ pooling

D. Wythe linux-rdma linux-s390 lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net/smc: transition to RDMA core CQ poolingnet/smc/smc_core.c net/smc/smc_core.h net/smc/smc_ib.c +4 more+193 -3172 replies
2/2net/smc: reduce TX slot contention with exclusive waitnet/smc/smc_wr.c+22 -102 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchLeon Romanovsky
1/2R-b
2/2

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 net-next 0/2] net/smc: transition to RDMA core CQ pooling

This series transitions SMC-R completion handling to RDMA core CQ pooling via the ib_cqe API. The new completion model improves scalability by allowing per-link completion processing across multiple cores and enables DIM-based interrupt moderation.

As a side effect, the increased concurrency can amplify contention for TX slots on the shared wait queue. Patch 2 addresses this by switching TX slot allocation from non-exclusive wait_event() to prepare_to_wait_exclusive(), which avoids thundering-herd wakeups under contention.

Patch 1 replaces the global per-device CQ and manual tasklet polling model with RDMA core CQ pooling.
Patch 2 reduces TX slot contention by using exclusive wait queue entries during allocation.

D. Wythe (2):
net/smc: transition to RDMA core CQ pooling net/smc: reduce TX slot contention with exclusive wait

 net/smc/smc_core.c |   9 +-
 net/smc/smc_core.h |  28 ++--
 net/smc/smc_ib.c   | 113 +++++----------
 net/smc/smc_ib.h   |   7 -
 net/smc/smc_tx.c   |   1 -
 net/smc/smc_wr.c   | 344 ++++++++++++++++++++-------------------------
 net/smc/smc_wr.h   |  40 ++----
 7 files changed, 215 insertions(+), 327 deletions(-)
Signature · 1 line
2.45.0