Skip to content

RFC tls: rx: strp: fix inline crypto offload

Jakub Kicinski netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7tls: rx: device: fix checking decryption statusnet/tls/tls_device.c+1 -10 replies
2/7tls: rx: strp: set the skb->len of detached / CoW'ed skbsnet/tls/tls_strp.c+2 -01 reply
3/7tls: rx: strp: force mixed decrypted records into copy modeinclude/linux/skbuff.h net/tls/tls_strp.c+21 -50 replies
4/7tls: rx: strp: fix determining record length in copy modenet/tls/tls_strp.c+15 -60 replies
5/7tls: rx: strp: factor out copying skb datanet/tls/tls_strp.c+21 -80 replies
6/7tls: rx: strp: preserve decryption status of skbs when neededinclude/net/tls.h net/tls/tls.h net/tls/tls_device.c +1 more+114 -310 replies
7/7tls: rx: strp: don't use GFP_KERNEL in softirq contextnet/tls/tls_sw.c+4 -00 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchShai Amiram
SeriesT-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

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

Read the v1 thread

Cover letter [RFC / RFT net 0/7] tls: rx: strp: fix inline crypto offload

Tariq, here are the fixes for the bug you reported. I managed to test with mlx5 (and selftest, obviously). I hacked things up for testing to trigger the copy and reencrypt paths.

Could you run it thru your tests and LMK if there are any more regressions?

Jakub Kicinski (7):
tls: rx: device: fix checking decryption status
tls: rx: strp: set the skb->len of detached / CoW'ed skbs
tls: rx: strp: force mixed decrypted records into copy mode
tls: rx: strp: fix determining record length in copy mode
tls: rx: strp: factor out copying skb data
tls: rx: strp: preserve decryption status of skbs when needed
tls: rx: strp: don't use GFP_KERNEL in softirq context

 include/linux/skbuff.h |  10 +++
 include/net/tls.h      |   1 +
 net/tls/tls.h          |   5 ++
 net/tls/tls_device.c   |  22 ++---
 net/tls/tls_strp.c     | 185 +++++++++++++++++++++++++++++++++--------
 net/tls/tls_sw.c       |   4 +
 6 files changed, 177 insertions(+), 50 deletions(-)
Signature · 1 line
2.40.1