[PATCH net-next 00/10] net/smc: get rid of unsafe_global_rkey

Ursula Braun
2017-07-28T11:56:12Z

Dave,

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.

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 | 388 +++++++++++++++++++++++++++++------------------------
net/smc/smc_core.h | 31 +++--
net/smc/smc_ib.c | 128 +++++++++++++++---
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, 477 insertions(+), 245 deletions(-)

--
2.11.2