ad7515a39f
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> |
||
---|---|---|
.. | ||
cryptodev_pmd.c | ||
cryptodev_pmd.h | ||
cryptodev_trace_points.c | ||
meson.build | ||
rte_crypto_asym.h | ||
rte_crypto_sym.h | ||
rte_crypto.h | ||
rte_cryptodev_trace_fp.h | ||
rte_cryptodev_trace.h | ||
rte_cryptodev.c | ||
rte_cryptodev.h | ||
version.map |