diff options
author | Petri Savolainen <petri.savolainen@linaro.org> | 2017-06-16 13:49:40 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2017-12-27 21:41:45 +0300 |
commit | 59c8dc22f2d216aabe0de7e591b75cc35d5bf842 (patch) | |
tree | 8d242e7c16c47ed3df85ba0f48aeae4621583149 /include/odp | |
parent | ed299d6b54c89e5535e6b2ac52e3a0e87aeebf6a (diff) |
api: ipsec: disable event is the last event
Disable event is guaranteed to be the last event for the SA,
so that application can use it for SA destroy synchronization.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Reviewed-by: Balasubramanian Manoharan <bala.manoharan@linaro.org>
Reviewed-by: Nikhil Agarwal <Nikhil.agarwal@linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'include/odp')
-rw-r--r-- | include/odp/api/spec/ipsec.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/odp/api/spec/ipsec.h b/include/odp/api/spec/ipsec.h index 372ef4628..e602e4b8e 100644 --- a/include/odp/api/spec/ipsec.h +++ b/include/odp/api/spec/ipsec.h @@ -818,7 +818,10 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param); * * When in synchronous operation mode, the call will return when it's possible * to destroy the SA. In asynchronous mode, the same is indicated by an - * ODP_EVENT_IPSEC_STATUS event sent to the queue specified for the SA. + * ODP_EVENT_IPSEC_STATUS event sent to the queue specified for the SA. The + * status event is guaranteed to be the last event for the SA, i.e. all + * in-progress operations have completed and resulting events (including status + * events) have been enqueued before it. * * @param sa IPSEC SA to be disabled * |