net/iavf: support IPsec inline crypto
authorRadu Nicolau <radu.nicolau@intel.com>
Thu, 28 Oct 2021 16:04:57 +0000 (17:04 +0100)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 29 Oct 2021 02:22:04 +0000 (04:22 +0200)
commit6bc987ecb860131eeb9cf97ab2ddb3775f028e9f
treeaa431096c6cdef8d4c3823b48345478d72a7d09e
parent84108425054acf91165adb65c44e1a57a784e20a
net/iavf: support IPsec inline crypto

Add support for inline crypto for IPsec, for ESP transport and
tunnel over IPv4 and IPv6, as well as supporting the offload for
ESP over UDP, and in conjunction with TSO for UDP and TCP flows.
Implement support for rte_security packet metadata

Add definition for IPsec descriptors, extend support for offload
in data and context descriptor to support

Add support to virtual channel mailbox for IPsec Crypto request
operations. IPsec Crypto requests receive an initial acknowledgment
from physical function driver of receipt of request and then an
asynchronous response with success/failure of request including any
response data.

Add enhanced descriptor debugging

Refactor of scalar tx burst function to support integration of offload

Signed-off-by: Declan Doherty <declan.doherty@intel.com>
Signed-off-by: Abhijit Sinha <abhijit.sinha@intel.com>
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Reviewed-by: Jingjing Wu <jingjing.wu@intel.com>
16 files changed:
doc/guides/nics/features/iavf.ini
doc/guides/nics/intel_vf.rst
doc/guides/rel_notes/release_21_11.rst
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_generic_flow.c
drivers/net/iavf/iavf_generic_flow.h
drivers/net/iavf/iavf_ipsec_crypto.c [new file with mode: 0644]
drivers/net/iavf/iavf_ipsec_crypto.h [new file with mode: 0644]
drivers/net/iavf/iavf_ipsec_crypto_capabilities.h [new file with mode: 0644]
drivers/net/iavf/iavf_rxtx.c
drivers/net/iavf/iavf_rxtx.h
drivers/net/iavf/iavf_vchnl.c
drivers/net/iavf/meson.build
drivers/net/iavf/rte_pmd_iavf.h
drivers/net/iavf/version.map