Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: change IPSEC result to packet

2017-06-15 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] > Sent: Wednesday, June 14, 2017 8:54 PM > To: Petri Savolainen <petri.savolai...@linaro.org>; lng- > o...@lists.linaro.org > Subject: Re: [lng-odp] [API-NEXT PATCH v2

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: change IPSEC result to packet

2017-06-14 Thread Dmitry Eremin-Solenikov
On 14.06.2017 17:08, Petri Savolainen wrote: > 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 and API pipelining when output is packets with >

[lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: change IPSEC result to packet

2017-06-14 Thread Petri Savolainen
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 and API pipelining when output is packets with additional metadata. Application or API pipeline stages