nfp: add support CHACHA20-POLY1305 offload for ipsec
authorShihong Wang <shihong.wang@corigine.com>
Mon, 9 Oct 2023 08:09:46 +0000 (10:09 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 12 Oct 2023 13:26:43 +0000 (15:26 +0200)
commit04317b129e4eb5c6f4a58bb899b2019c1545320b
tree4e05b02deea1dd4aac86673bdde4234101ea2d4a
parent21b2e2624d2ec69b831cd2edd202ca30ac6beae1
nfp: add support CHACHA20-POLY1305 offload for ipsec

Add the configuration of CHACHA20-POLY1305 to the driver and send the
message to hardware so that the NIC supports the algorithm.

Signed-off-by: Shihong Wang <shihong.wang@corigine.com>
Signed-off-by: Louis Peens <louis.peens@corigine.com>
Link: https://lore.kernel.org/r/20231009080946.7655-2-louis.peens@corigine.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/netronome/nfp/crypto/ipsec.c