Re: [lng-odp] odp_ipsec_result behaviour

2017-04-04 Thread Peltonen, Janne (Nokia - FI/Espoo)
Hi, > - odp_ipsec_result() would change buffer type from IPSEC_RESULT to > PACKET, extract ipsec_op_result, etc. After this operation original > event is unsuitable for further operations. An added complication with ODP IPsec is fragmentation offload that can cause multiple result packets for o

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-04 Thread Dmitry Eremin-Solenikov
On 04.04.2017 10:15, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > >> -Original Message- >> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of >> Dmitry Eremin-Solenikov >> Sent: Monday, April 03, 2017 10:48 PM >> To: l

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-04 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Dmitry Eremin-Solenikov > Sent: Monday, April 03, 2017 10:48 PM > To: lng-odp-forward > Subject: [lng-odp] odp_ipsec_result behaviour > > Hello, > > I was h

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Bill Fischofer
On Mon, Apr 3, 2017 at 3:23 PM, Dmitry Eremin-Solenikov wrote: > On 03.04.2017 23:13, Bill Fischofer wrote: >> On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov >> wrote: >>> Hello, >>> >>> I was hunting last issues in my IPsec patchset. And suddently I was hit >>> by the fact that I do not

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Dmitry Eremin-Solenikov
On 03.04.2017 23:13, Bill Fischofer wrote: > On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> I was hunting last issues in my IPsec patchset. And suddently I was hit >> by the fact that I do not fully understand semantics around >> odp_ipsec_result() function. So he

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Bill Fischofer
On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov wrote: > Hello, > > I was hunting last issues in my IPsec patchset. And suddently I was hit > by the fact that I do not fully understand semantics around > odp_ipsec_result() function. So here comes several questions: > > 1) Is is correct, th

[lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Dmitry Eremin-Solenikov
Hello, I was hunting last issues in my IPsec patchset. And suddently I was hit by the fact that I do not fully understand semantics around odp_ipsec_result() function. So here comes several questions: 1) Is is correct, that I have to free the event manually even after the successful return from t