nfp: tls: add/delete TLS TX connections
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Wed, 5 Jun 2019 21:11:42 +0000 (14:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Jun 2019 21:13:40 +0000 (14:13 -0700)
commit1f35a56cf586a515a102a77679eae0d7d2c173b0
tree1f0eddc17b6a8d04f653df872ac6b9379421434e
parentc3991d397f2a4d86100c533d0d92fb518319c278
nfp: tls: add/delete TLS TX connections

This patch adds the functionality to add and delete TLS connections on
the NFP, received from the kernel TLS callbacks.

Make use of the common control message (CCM) infrastructure to propagate
the kernel state to firmware.

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/tls.c
drivers/net/ethernet/netronome/nfp/nfp_net.h