Dave,
SMC-capability is to be negotiated with a TCP experimental option.
As requested during code review of our previous approach using
netfilter hooks, here's a new version. It touches tcp-code in the
first patch and exploits the new tcp flag in the smc-code.
Kind regards, Ursula
Changelog:
V3:
* move include for linux/unaligned/access_ok.h to tcp_input.c
V2:
* switch to current jump labels API
* remove static key checking in smc_set_capability()
(comment from Eric Dumazet)
* use inet_request_sock parameter for smc_set_option_cond()
* smc_listen_work(): replace local variable lgr_lock_taken by new labels
and separate this change into a prerequisite first
patch
Ursula Braun (3):
smc: fix mutex unlocks during link group creation
tcp: TCP experimental option for SMC
smc: add SMC rendezvous protocol
include/linux/tcp.h | 9 +++++--
include/net/inet_sock.h | 3 ++-
include/net/tcp.h | 7 ++++++
net/ipv4/tcp.c | 6 +++++
net/ipv4/tcp_input.c | 35 +++++++++++++++++++++++++++
net/ipv4/tcp_minisocks.c | 19 +++++++++++++++
net/ipv4/tcp_output.c | 63 +++++++++++++++++++++++++++++++++++++++++++++---
net/smc/af_smc.c | 42 +++++++++++++++++++++++---------
8 files changed, 167 insertions(+), 17 deletions(-)
--
2.13.5