Skip to content

tls: rx: decrypt from the TCP queue

Jakub Kicinski netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 21 repliesApplied 7/7
  2. v27 patches 4 repliesSuperseded
  3. v17 patches 0 repliesSuperseded

Patches in v3 All 7 applied

#Subject and filesSizeRepliesApplied
1/7tls: rx: wrap recv_pkt accesses in helpersnet/tls/tls.h net/tls/tls_sw.c+11 -50 repliesApplied
2/7tls: rx: factor SW handling out of tls_rx_one_record()net/tls/tls_sw.c+57 -360 repliesApplied
3/7tls: rx: don't free the output in case of zero-copynet/tls/tls_sw.c+13 -130 repliesApplied
4/7tls: rx: device: keep the zero copy status with offloadnet/tls/tls.h net/tls/tls_strp.c net/tls/tls_sw.c+35 -50 repliesApplied
5/7tcp: allow tls to decrypt directly from the tcp rcv queueinclude/net/tcp.h net/ipv4/tcp.c+43 -10 repliesApplied
6/7tls: rx: device: add input CoW helpernet/tls/tls.h net/tls/tls_device.c net/tls/tls_strp.c+21 -100 repliesApplied
7/7tls: rx: do not use the standard strparserinclude/net/tls.h net/tls/tls.h net/tls/tls_main.c +2 more+558 -6921 repliesApplied

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchPaolo AbeniRan Rozenstein
1/7
2/7
3/7
4/7
5/7
6/7
7/7A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/7] tls: rx: decrypt from the TCP queue

This is the final part of my TLS Rx rework. It switches from strparser to decrypting data from skbs queued in TCP. We don't need the full strparser for TLS, its needs are very basic. This set gives us a small but measurable (6%) performance improvement (continuous stream).

v2: drop the __exit marking for the unroll path
v3: drop tcp_recv_skb() in patch 5

Jakub Kicinski (7):
tls: rx: wrap recv_pkt accesses in helpers
tls: rx: factor SW handling out of tls_rx_one_record()
tls: rx: don't free the output in case of zero-copy
tls: rx: device: keep the zero copy status with offload
tcp: allow tls to decrypt directly from the tcp rcv queue
tls: rx: device: add input CoW helper
tls: rx: do not use the standard strparser

 include/net/tcp.h    |   2 +
 include/net/tls.h    |  19 +-
 net/ipv4/tcp.c       |  42 +++-
 net/tls/tls.h        |  29 ++-
 net/tls/tls_device.c |  19 +-
 net/tls/tls_main.c   |  20 +-
 net/tls/tls_strp.c   | 488 ++++++++++++++++++++++++++++++++++++++++++-
 net/tls/tls_sw.c     | 228 +++++++++++---------
 8 files changed, 723 insertions(+), 124 deletions(-)
Signature · 1 line
2.37.1