]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
smc: add SMC rendezvous protocol
authorUrsula Braun <ubraun@linux.vnet.ibm.com>
Wed, 25 Oct 2017 09:01:46 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 09:00:29 +0000 (18:00 +0900)
commitc5c1cc9c522fc337601213afeb39c3df2eb92d04
treea9c9688634f08f697be632ee52ea33d82a04b60c
parent60e2a7780793bae0debc275a9ccd57f7da0cf195
smc: add SMC rendezvous protocol

The SMC protocol [1] uses a rendezvous protocol to negotiate SMC
capability between peers. The current Linux implementation does not yet
use this rendezvous protocol and, thus, is not compliant to RFC7609 and
incompatible with other SMC implementations like in zOS.
This patch adds support for the SMC rendezvous protocol. It uses a new
TCP experimental option. With this option, SMC capabilities are
exchanged between the peers during the TCP three way handshake.

[1] SMC-R Informational RFC: http://www.rfc-editor.org/info/rfc7609

Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/af_smc.c