]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
nfp: tls: add datapath support for TLS TX
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Wed, 5 Jun 2019 21:11:41 +0000 (14:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 21:13:40 +0000 (14:13 -0700)
commitc3991d397f2a4d86100c533d0d92fb518319c278
tree6643ac53c0e921e5c5a816cd9df6a186eb58efb0
parentb9727d7f957d68febb3b5f68d4be270ee6fb57e7
nfp: tls: add datapath support for TLS TX

Prepend connection handle to each transmitted TLS packet.

For each connection, the driver tracks the next sequence number
expected. If an out of order packet is observed, the driver calls into
the TLS kernel code to reencrypt that particular skb.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/crypto/crypto.h
drivers/net/ethernet/netronome/nfp/nfp_net.h
drivers/net/ethernet/netronome/nfp/nfp_net_common.c