From: Anoob Joseph Date: Wed, 11 Apr 2018 06:40:43 +0000 (+0530) Subject: security: add ESN soft limit in config X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=807b94b851c03db795d2a602e5b4222279806c7e;p=dpdk.git security: add ESN soft limit in config Adding ESN soft limit in conf. This will be used in case of protocol offload. Per SA, application could specify for what ESN the security device need to notify application. In case of eth dev(inline protocol), rte_eth_event framework would raise an IPsec event. Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index c75c12183a..ca1e91203e 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -222,6 +222,8 @@ struct rte_security_ipsec_xform { /**< IPsec SA Mode - transport/tunnel */ struct rte_security_ipsec_tunnel_param tunnel; /**< Tunnel parameters, NULL for transport mode */ + uint64_t esn_soft_limit; + /**< ESN for which the overflow event need to be raised */ }; /**