1. 27 10月, 2017 38 次提交
  2. 26 10月, 2017 2 次提交
    • D
      Merge branch 'tcp-smc-rendezvous' · a4484705
      David S. Miller 提交于
      Ursula Braun says:
      
      ====================
      TCP experimental option for SMC rendezvous
      
      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.
      
      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
      ====================
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4484705
    • U
      smc: add SMC rendezvous protocol · c5c1cc9c
      Ursula Braun 提交于
      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/rfc7609Signed-off-by: NUrsula Braun <ubraun@linux.vnet.ibm.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c5c1cc9c