[PATCH net-next v2 00/11] net/smc: introduce SMC-Rv2 support

Karsten Graul
2021-10-14T16:48:52Z

Please apply the following patch series for smc to netdev's net-next tree.

SMC-Rv2 support (see https://www.ibm.com/support/pages/node/6326337)
provides routable RoCE support for SMC-R, eliminating the current
same-subnet restriction, by exploiting the UDP encapsulation feature
of the RoCE adapter hardware.

Patch 1 ("net/smc: improved fix wait on already cleared link") is
already applied on netdevs net tree but its changes are needed for
this series on net-next. The patch is unchanged compared to the
version on the net tree.

v2: resend of the v1 patch series, and CC linux-rdma this time

Karsten Graul (11):
net/smc: improved fix wait on already cleared link
net/smc: save stack space and allocate smc_init_info
net/smc: prepare for SMC-Rv2 connection
net/smc: add SMC-Rv2 connection establishment
net/smc: add listen processing for SMC-Rv2
net/smc: add v2 format of CLC decline message
net/smc: retrieve v2 gid from IB device
net/smc: add v2 support to the work request layer
net/smc: extend LLC layer for SMC-Rv2
net/smc: add netlink support for SMC-Rv2
net/smc: stop links when their GID is removed

include/uapi/linux/smc.h | 17 +-
net/smc/af_smc.c | 431 +++++++++++++++++-------
net/smc/smc.h | 20 +-
net/smc/smc_cdc.c | 7 +-
net/smc/smc_clc.c | 147 +++++++--
net/smc/smc_clc.h | 55 +++-
net/smc/smc_core.c | 193 +++++++----
net/smc/smc_core.h | 50 ++-
net/smc/smc_ib.c | 160 ++++++++-
net/smc/smc_ib.h | 16 +-
net/smc/smc_llc.c | 684 ++++++++++++++++++++++++++++++---------
net/smc/smc_llc.h | 12 +-
net/smc/smc_pnet.c | 41 ++-
net/smc/smc_tx.c | 22 +-
net/smc/smc_wr.c | 237 ++++++++++++--
net/smc/smc_wr.h | 22 ++
16 files changed, 1691 insertions(+), 423 deletions(-)

--
2.25.1