From: Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Friday, July 14, 2017 4:40 PM To: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Cc: Petri Savolainen <petri.savolai...@linaro.org>; lng-odp-forward <lng-odp@lists.linaro.org> Subject: Re: [lng-odp] [API-NEXT PATCH] api: ipsec: add warning status event
On Fri, Jul 14, 2017 at 8:30 AM, Dmitry Eremin-Solenikov <mailto:dmitry.ereminsoleni...@linaro.org> wrote: On 14.07.2017 15:43, Petri Savolainen wrote: > Add status ID for warning messages. Outbound inline soft lifetime > expiration is currently the only source of these events. API spec > keeps simple when the same warning structure is shared with IPSEC > packet and status events. > > Signed-off-by: Petri Savolainen <mailto:petri.savolai...@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <mailto:dmitry.ereminsoleni...@linaro.org> Ideally we can have a config option to enable/disable sending such events in ASYNC or even SYNC mode. If you don't want the notification wouldn't you just not set an expiration limit in the SA? That would seem the simplest solution. This spec limits event generation just for outbound inline: "This status event is generated only for outbound SAs in ODP_IPSEC_OP_MODE_INLINE mode." -Petri