numam-dpdk/lib/security
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
..
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_security_driver.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_security.c security: add option for faster user/meta data access 2021-09-28 08:43:47 +02:00
rte_security.h security: add SA lifetime configuration 2021-09-28 14:11:29 +02:00
version.map security: add option for faster user/meta data access 2021-09-28 08:43:47 +02:00