diff mbox series

[API-NEXT,7/9] api: ipsec: flexible soft lifetime reporting

Message ID 20170711123118.14745-7-petri.savolainen@linaro.org
State Superseded
Headers show
Series [API-NEXT,1/9] api: ipsec: add salt parameter | expand

Commit Message

Petri Savolainen July 11, 2017, 12:31 p.m. UTC
Allow implementation to decide how many times a soft lifetime
expiration is reported. Application does not require strict
synchronization of soft lifetimes.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
 include/odp/api/spec/ipsec.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.13.0
diff mbox series

Patch

diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h
index ed592ac2..b19ad693 100644
--- a/include/odp/api/spec/ipsec.h
+++ b/include/odp/api/spec/ipsec.h
@@ -499,7 +499,9 @@  typedef struct odp_ipsec_sa_opt_t {
  *
  * These limits are used for setting up SA lifetime. IPSEC operations check
  * against the limits and output a status code (e.g. soft_exp_bytes) when
- * a limit is crossed. Any number of limits may be used simultaneously.
+ * a limit is crossed. It's implementation defined how many times soft
+ * lifetime expiration is reported: only once, first N or all packets following
+ * the limit crossing. Any number of limits may be used simultaneously.
  * Use zero when there is no limit.
  */
 typedef struct odp_ipsec_lifetime_t {