numam-dpdk/lib/cryptodev
Anoob Joseph ad7515a39f security: add SA lifetime configuration
Add SA lifetime configuration to register soft and hard expiry limits.
Expiry can be in units of number of packets or bytes. Crypto op
status is also updated to include new field, aux_flags, which can be
used to indicate cases such as soft expiry in case of lookaside
protocol operations.

In case of soft expiry, the packets are successfully IPsec processed but
the soft expiry would indicate that SA needs to be reconfigured. For
inline protocol capable ethdev, this would result in an eth event while
for lookaside protocol capable cryptodev, this can be communicated via
`rte_crypto_op.aux_flags` field.

In case of hard expiry, the packets will not be IPsec processed and
would result in error.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-09-28 14:11:29 +02:00
..
cryptodev_pmd.c cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
cryptodev_pmd.h lib: remove C++ include guard from private headers 2021-09-22 22:00:17 +02:00
cryptodev_trace_points.c
meson.build cryptodev: fix indent in Meson file 2021-09-14 15:58:32 +02:00
rte_crypto_asym.h
rte_crypto_sym.h
rte_crypto.h security: add SA lifetime configuration 2021-09-28 14:11:29 +02:00
rte_cryptodev_trace_fp.h
rte_cryptodev_trace.h
rte_cryptodev.c cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
rte_cryptodev.h cryptodev: rename function to check device validity 2021-09-08 09:21:10 +02:00
version.map cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00