Skip to content

RFC net/smc: get rid of unsafe_global_rkey

Ursula Braun linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net/smc: serialize connection creation in all casesnet/smc/af_smc.c+1 -70 replies
2/10net/smc: shorten local bufsize variablesnet/smc/smc_core.c+25 -290 replies
3/10net/smc: introduce sg-logic for RMBsnet/smc/smc_clc.c net/smc/smc_core.c net/smc/smc_core.h +2 more+76 -261 reply
4/10net/smc: use separate memory regions for RMBsnet/smc/smc_clc.c net/smc/smc_core.c net/smc/smc_core.h +2 more+68 -70 replies
5/10net/smc: register RMB-related memory regionnet/smc/af_smc.c net/smc/smc_core.c net/smc/smc_core.h +3 more+115 -23 replies
6/10net/smc: remove Kconfig warningnet/smc/Kconfig+0 -40 replies
7/10net/smc: introduce sg-logic for send buffersnet/smc/smc_core.c net/smc/smc_core.h net/smc/smc_ib.c +2 more+38 -510 replies
8/10net/smc: common functions for RMBs and send buffersnet/smc/af_smc.c net/smc/smc_core.c net/smc/smc_core.h+148 -2200 replies
9/10net/smc: cleanup function __smc_buf_create()net/smc/smc_core.c+62 -490 replies
10/10net/smc: synchronize buffer usage with devicenet/smc/af_smc.c net/smc/smc_core.c net/smc/smc_core.h +4 more+91 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC net-next 00/10] net/smc: get rid of unsafe_global_rkey

The smc code uses the unsafe_global_rkey, exposing all memory for remote reads and writes once a connection is established. Here is now a patch series to get rid of unsafe_global_rkey usage. Main idea is to switch to SG-logic and separate memory regions for RMBs.

Before final submission to the net-Maintainer I would like to get early feedback from the RDMA-experts, especially for the main patches:
03/10 net/smc: introduce sg-logic for RMBs
04/10 net/smc: use separate memory regions for RMBs
05/10 net/smc: register RMB-related memory region
10/10 net/smc: synchronize buffer usage with device

Thanks, Ursula

Ursula Braun (10):
net/smc: serialize connection creation in all cases net/smc: shorten local bufsize variables net/smc: introduce sg-logic for RMBs net/smc: use separate memory regions for RMBs net/smc: register RMB-related memory region net/smc: remove Kconfig warning
net/smc: introduce sg-logic for send buffers net/smc: common functions for RMBs and send buffers net/smc: cleanup function __smc_buf_create() net/smc: synchronize buffer usage with device

 net/smc/Kconfig    |   4 -
 net/smc/af_smc.c   |  64 ++++++---
 net/smc/smc_clc.c  |  12 +-
 net/smc/smc_core.c | 392 +++++++++++++++++++++++++++++------------------------
 net/smc/smc_core.h |  31 +++--
 net/smc/smc_ib.c   | 125 ++++++++++++++---
 net/smc/smc_ib.h   |  19 ++-
 net/smc/smc_rx.c   |   3 +
 net/smc/smc_tx.c   |   9 +-
 net/smc/smc_wr.c   |  63 +++++++++
 net/smc/smc_wr.h   |   1 +
 11 files changed, 476 insertions(+), 247 deletions(-)
Signature · 6 lines
2.11.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html