Requires "[API-NEXT PATCH v2 0/2] IPsec API update". Input and output of IPSEC operations are packets. Parameter and result structures are cleaner when packet arrays are direct parameters to functions. Also API is more flexible for application or API pipelining when output is packets with additional metadata. Application or API pipeline stages which do not care about IPSEC results may work on basic packet metadata.
Petri Savolainen (2): api: ipsec: change IPSEC result to packet api: ipsec: disable event is the last event include/odp/api/spec/event.h | 27 +- include/odp/api/spec/ipsec.h | 370 +++++++++++---------- include/odp/arch/default/api/abi/event.h | 6 +- .../include/odp/api/plat/event_types.h | 7 +- platform/linux-generic/odp_ipsec.c | 67 +++- 5 files changed, 283 insertions(+), 194 deletions(-) -- 2.13.0