netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] nfp: tls: fixes for initial TLS support
@ 2019-07-09  2:53 Jakub Kicinski
  2019-07-09  2:53 ` [PATCH net-next 01/11] nfp: tls: ignore queue limits for delete commands Jakub Kicinski
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Jakub Kicinski @ 2019-07-09  2:53 UTC (permalink / raw)
  To: davem; +Cc: netdev, oss-drivers, alexei.starovoitov, Jakub Kicinski

Hi!

This series brings various fixes to nfp tls offload recently added
to net-next.

First 4 patches revolve around device mailbox communication, trying
to make it more reliable. Next patch fixes statistical counter.
Patch 6 improves the TX resync if device communication failed.
Patch 7 makes sure we remove keys from memory after talking to FW.
Patch 8 adds missing tls context initialization, we fill in the
context information from various places based on the configuration
and looks like we missed the init in the case of where TX is
offloaded, but RX wasn't initialized yet. Patches 9 and 10 make
the nfp driver undo TLS state changes if we need to drop the
frame (e.g. due to DMA mapping error).

Last but not least TLS fallback should not adjust socket memory
after skb_orphan_partial(). This code will go away once we forbid
orphaning of skbs in need of crypto, but that's "real" -next
material, so lets do a quick fix.

Dirk van der Merwe (2):
  nfp: ccm: increase message limits
  net/tls: don't clear TX resync flag on error

Jakub Kicinski (9):
  nfp: tls: ignore queue limits for delete commands
  nfp: tls: move setting ipver_vlan to a helper
  nfp: tls: use unique connection ids instead of 4-tuple for TX
  nfp: tls: count TSO segments separately for the TLS offload
  nfp: tls: don't leave key material in freed FW cmsg skbs
  net/tls: add missing prot info init
  nfp: tls: avoid one of the ifdefs for TLS
  nfp: tls: undo TLS sequence tracking when dropping the frame
  net/tls: fix socket wmem accounting on fallback with netem

 .../mellanox/mlx5/core/en_accel/tls.c         |  8 +-
 drivers/net/ethernet/netronome/nfp/ccm.h      |  4 +
 drivers/net/ethernet/netronome/nfp/ccm_mbox.c | 31 ++++---
 .../net/ethernet/netronome/nfp/crypto/fw.h    |  2 +
 .../net/ethernet/netronome/nfp/crypto/tls.c   | 93 +++++++++++++------
 drivers/net/ethernet/netronome/nfp/nfp_net.h  |  3 +
 .../ethernet/netronome/nfp/nfp_net_common.c   | 32 ++++++-
 include/net/tls.h                             |  6 +-
 net/tls/tls_device.c                          | 10 +-
 net/tls/tls_device_fallback.c                 |  4 +
 10 files changed, 143 insertions(+), 50 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-07-09  3:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-09  2:53 [PATCH net-next 00/11] nfp: tls: fixes for initial TLS support Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 01/11] nfp: tls: ignore queue limits for delete commands Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 02/11] nfp: tls: move setting ipver_vlan to a helper Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 03/11] nfp: tls: use unique connection ids instead of 4-tuple for TX Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 04/11] nfp: ccm: increase message limits Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 05/11] nfp: tls: count TSO segments separately for the TLS offload Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 06/11] net/tls: don't clear TX resync flag on error Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 07/11] nfp: tls: don't leave key material in freed FW cmsg skbs Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 08/11] net/tls: add missing prot info init Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 09/11] nfp: tls: avoid one of the ifdefs for TLS Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 10/11] nfp: tls: undo TLS sequence tracking when dropping the frame Jakub Kicinski
2019-07-09  2:53 ` [PATCH net-next 11/11] net/tls: fix socket wmem accounting on fallback with netem Jakub Kicinski
2019-07-09  3:39 ` [PATCH net-next 00/11] nfp: tls: fixes for initial TLS support David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).