examples/ipsec-secgw: handle ESN soft limit event
authorAnoob Joseph <anoob.joseph@caviumnetworks.com>
Wed, 11 Apr 2018 06:40:45 +0000 (12:10 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commitfa4de2cc4cdc39059cc1b15223d5022018f404e2
tree73f8497a661b9d68df9ede3de62d107af1eab000
parent2f533cb325a7d329a81a0492c70134e2c39b0672
examples/ipsec-secgw: handle ESN soft limit event

For inline protocol processing, the PMD/device is required to maintain
the ESN. But the application is required to monitor ESN overflow to
initiate SA expiry.

For such cases, application would set the ESN soft limit. An IPsec event
would be raised by rte_eth_event framework, when ESN hits the soft limit
set by the application.

Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/ipsec-secgw.c
examples/ipsec-secgw/ipsec.c
examples/ipsec-secgw/ipsec.h