common/cnxk: support lifetime configuration
authorAnoob Joseph <anoobj@marvell.com>
Tue, 28 Sep 2021 10:59:55 +0000 (16:29 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 28 Sep 2021 12:12:14 +0000 (14:12 +0200)
commitc4fcfaa7428b4077d1bd66f16349e5c76d65e400
tree70ecaeaca119600ad60e388344a58d8b1ab51a07
parentad7515a39f2af82b1f8ae8e3cb83dda44ae75c69
common/cnxk: support lifetime configuration

Add support for SA lifetime configuration. Expiry can
be either in units of octets or packets.

Also, updated cryptodev dequeue path to update crypto op result to
indicate soft expiry.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/cnxk_security.c
drivers/crypto/cnxk/cn10k_cryptodev_ops.c
drivers/crypto/cnxk/cn9k_ipsec.c