Re: [lng-odp] IPsec API finialization

2017-09-12 Thread Honnappa Nagarahalli
On 7 September 2017 at 03:39, Peltonen, Janne (Nokia - FI/Espoo) wrote: > Hi, > > Comments below: > > Bill Fischofer wrote: >> As discussed during today's ARCH call, we need to close on the >> remaining IPsec confusion surrounding the definition of >> odp_ipsec_sa_disable(). >> >> The main scenari

Re: [lng-odp] IPsec API finialization

2017-09-12 Thread Honnappa Nagarahalli
On 8 September 2017 at 06:10, Janne Peltonen wrote: > > > On Fri, 8 Sep 2017, Nikhil Agarwal wrote: >> On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) >> wrote:> >> > Bill Fischofer wrote: >> > > if (odp_ipsec_result(&ipsec_res, pkt) < 0) { /* Stale >> > > event,

Re: [lng-odp] IPsec API finialization

2017-09-11 Thread Bill Fischofer
On Mon, Sep 11, 2017 at 1:30 AM, Peltonen, Janne (Nokia - FI/Espoo) wrote: > > Bill Fischofer [mailto:bill.fischo...@linaro.org] wrote: >> On Fri, Sep 8, 2017 at 6:10 AM, Janne Peltonen >> wrote: >> > >> > >> > On Fri, 8 Sep 2017, Nikhil Agarwal wrote: >> >> On 7 September 2017 at 14:09, Peltone

Re: [lng-odp] IPsec API finialization

2017-09-10 Thread Peltonen, Janne (Nokia - FI/Espoo)
Bill Fischofer [mailto:bill.fischo...@linaro.org] wrote: > On Fri, Sep 8, 2017 at 6:10 AM, Janne Peltonen > wrote: > > > > > > On Fri, 8 Sep 2017, Nikhil Agarwal wrote: > >> On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) > >> wrote:> > >> > Bill Fischofer wrote: > >> > >

Re: [lng-odp] IPsec API finialization

2017-09-08 Thread Bill Fischofer
On Fri, Sep 8, 2017 at 6:10 AM, Janne Peltonen wrote: > > > On Fri, 8 Sep 2017, Nikhil Agarwal wrote: >> On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) >> wrote:> >> > Bill Fischofer wrote: >> > > if (odp_ipsec_result(&ipsec_res, pkt) < 0) { /* Stale >> > > even

Re: [lng-odp] IPsec API finialization

2017-09-08 Thread Janne Peltonen
On Fri, 8 Sep 2017, Nikhil Agarwal wrote: > On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) > wrote:> > > Bill Fischofer wrote: > > > if (odp_ipsec_result(&ipsec_res, pkt) < 0) { /* Stale > > > event, discard */ > > > There is a race condition here if the idea

Re: [lng-odp] IPsec API finialization

2017-09-07 Thread Nikhil Agarwal
On 7 September 2017 at 14:09, Peltonen, Janne (Nokia - FI/Espoo) < janne.pelto...@nokia.com> wrote: > Hi, > > Comments below: > > Bill Fischofer wrote: > > As discussed during today's ARCH call, we need to close on the > > remaining IPsec confusion surrounding the definition of > > odp_ipsec_sa_di

Re: [lng-odp] IPsec API finialization

2017-09-07 Thread Bill Fischofer
Thanks, Janne. That's very helpful. Nikhil, can you please offer your comments on this thread and perhaps outline how these scenarios work on your platform? On Thu, Sep 7, 2017 at 3:39 AM, Peltonen, Janne (Nokia - FI/Espoo) wrote: > Hi, > > Comments below: > > Bill Fischofer wrote: >> As discusse

Re: [lng-odp] IPsec API finialization

2017-09-07 Thread Peltonen, Janne (Nokia - FI/Espoo)
Hi, Comments below: Bill Fischofer wrote: > As discussed during today's ARCH call, we need to close on the > remaining IPsec confusion surrounding the definition of > odp_ipsec_sa_disable(). > > The main scenario that this API is designed to address, from an > application standpoint is as follow

[lng-odp] IPsec API finialization

2017-09-06 Thread Bill Fischofer
As discussed during today's ARCH call, we need to close on the remaining IPsec confusion surrounding the definition of odp_ipsec_sa_disable(). The main scenario that this API is designed to address, from an application standpoint is as follows: - Application has one or more active SAs that are re