1. 14 Jun, 2019 13 commits
  2. 13 Jun, 2019 6 commits
  3. 12 Jun, 2019 19 commits
  4. 11 Jun, 2019 2 commits
    • David S. Miller's avatar
      Merge branch 'tls-add-support-for-kernel-driven-resync-and-nfp-RX-offload' · 758a0a4d
      David S. Miller authored
      Jakub Kicinski says:
      
      ====================
      tls: add support for kernel-driven resync and nfp RX offload
      
      This series adds TLS RX offload for NFP and completes the offload
      by providing resync strategies.  When TLS data stream looses segments
      or experiences reorder NIC can no longer perform in line offload.
      Resyncs provide information about placement of records in the
      stream so that offload can resume.
      
      Existing TLS resync mechanisms are not a great fit for the NFP.
      In particular the TX resync is hard to implement for packet-centric
      NICs.  This patchset adds an ability to perform TX resync in a way
      similar to the way initial sync is done - by calling down to the
      driver when new record is created after driver indicated sync had
      been lost.
      
      Similarly on the RX side, we try to wait for a gap in the stream
      and send record information for the next record.  This works very
      well for RPC workloads which are the primary focus at this time.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      758a0a4d
    • Jakub Kicinski's avatar
      nfp: tls: make use of kernel-driven TX resync · 9ed431c1
      Jakub Kicinski authored
      When TCP stream gets out of sync (driver stops receiving skbs
      with expected TCP sequence numbers) request a TX resync from
      the kernel.
      
      We try to distinguish retransmissions from missed transmissions
      by comparing the sequence number to expected - if it's further
      than the expected one - we probably missed packets.
      Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
      Reviewed-by: default avatarDirk van der Merwe <dirk.vandermerwe@netronome.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      9ed431c1