Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Bala Manoharan
mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala >> Manoharan >> Sent: Thursday, March 23, 2017 4:42 PM >> To: Savolainen, Petri (Nokia - FI/Espoo) >> <petri.savolai...@nokia-bell-labs.com> >> Cc: lng-odp-forward <lng-odp@lists.linaro.org> >&g

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Peltonen, Janne (Nokia - FI/Espoo)
ainen, Petri (Nokia - FI/Espoo) > <petri.savolai...@nokia-bell-labs.com> > Cc: lng-odp-forward <lng-odp@lists.linaro.org> > Subject: Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC > support > > Regards, > Bala > > > On 23 March 2017 at 17

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Peltonen, Janne (Nokia - FI/Espoo)
<petri.savolai...@linaro.org>; lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC > support > > Few initial comments: > > - For Mixing inline and async processing must maintain same SA context in HW > and > implementati

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Bala Manoharan
Regards, Bala On 23 March 2017 at 17:40, Savolainen, Petri (Nokia - FI/Espoo) wrote: >> > >> > /** >> > @@ -381,11 +547,29 @@ typedef enum odp_ipsec_lookup_mode_t { >> > ODP_IPSEC_LOOKUP_DISABLED = 0, >> > >> > /** Inbound SA lookup is

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Bala Manoharan
t transmission? IUs it mandated to be inside > the packet? The why not just use l2_offset? > > Regards > Nikhil > > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Petri > Savolainen > Sent: Tuesday, March 21, 2017 7:47 PM > To:

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Savolainen, Petri (Nokia - FI/Espoo)
> > > > /** > > @@ -381,11 +547,29 @@ typedef enum odp_ipsec_lookup_mode_t { > > ODP_IPSEC_LOOKUP_DISABLED = 0, > > > > /** Inbound SA lookup is enabled. Used SPI values must be > unique. */ > > - ODP_IPSEC_LOOKUP_IN_UNIQUE_SA > > + ODP_IPSEC_LOOKUP_IN_UNIQUE_SPI, > >

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Nikhil Agarwal
...@lists.linaro.org] On Behalf Of Petri Savolainen Sent: Tuesday, March 21, 2017 7:47 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support Added support for inline IPSEC processing on packet input and output. Inline mode IPSEC and traffic manager cannot

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-23 Thread Bala Manoharan
Regards, Bala On 21 March 2017 at 19:47, Petri Savolainen wrote: > > Added support for inline IPSEC processing on packet input and > output. Inline mode IPSEC and traffic manager cannot be enabled > (currently) on the same pktio interface. > > Signed-off-by: Petri

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-22 Thread Savolainen, Petri (Nokia - FI/Espoo)
NO HTML mails to the ODP list please. Indentation is lost due to HTML.  /** + * Protocol layers in IPSEC configuration + */ +typedef enum odp_ipsec_proto_layer_t { +       /** No layers */ +       ODP_IPSEC_LAYER_NONE = 0, + +       /** Layer L2 protocols (Ethernet, VLAN, etc) */ +       

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-22 Thread Peltonen, Janne (Nokia - FI/Espoo)
sage- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill > Fischofer > Sent: Wednesday, March 22, 2017 12:17 AM > To: Petri Savolainen <petri.savolai...@linaro.org> > Cc: lng-odp-forward <lng-odp@lists.linaro.org> > Subject: Re: [lng-odp] [

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Bill Fischofer
On Tue, Mar 21, 2017 at 9:17 AM, Petri Savolainen < petri.savolai...@linaro.org> wrote: > Added support for inline IPSEC processing on packet input and > output. Inline mode IPSEC and traffic manager cannot be enabled > (currently) on the same pktio interface. > > Signed-off-by: Petri Savolainen

[lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Petri Savolainen
Added support for inline IPSEC processing on packet input and output. Inline mode IPSEC and traffic manager cannot be enabled (currently) on the same pktio interface. Signed-off-by: Petri Savolainen --- include/odp/api/spec/ipsec.h | 348

[lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Petri Savolainen
Added support for inline IPSEC processing on packet input and output. Inline mode IPSEC and traffic manager cannot be enabled (currently) on the same pktio interface. Signed-off-by: Petri Savolainen --- include/odp/api/spec/ipsec.h | 348