Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-15 Thread Ola Liljedahl
Ola > > > > > Regards, > > Hemant > > > > *From:* lng-odp [mailto:lng-odp-boun...@lists.linaro.org] *On Behalf Of *Ola > Liljedahl > *Sent:* Friday, October 09, 2015 4:53 PM > *To:* Alexandru Badicioiu > *Cc:* LNG ODP Mailman List > *Subje

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-12 Thread Agrawal Hemant
PATCH] api: crypto: add crypto IPSec extension On 9 October 2015 at 12:48, Alexandru Badicioiu mailto:alexandru.badici...@linaro.org>> wrote: So you would like inline/synchronous API mode to have a completion queue too? What would be the use for it? I think we are misunderstanding each oth

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Ola Liljedahl
On 9 October 2015 at 12:48, Alexandru Badicioiu < alexandru.badici...@linaro.org> wrote: > So you would like inline/synchronous API mode to have a completion queue > too? What would be the use for it? > I think we are misunderstanding each other and I haven't been very detailed. The output of IPs

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Alexandru Badicioiu
So you would like inline/synchronous API mode to have a completion queue too? What would be the use for it? On 9 October 2015 at 13:01, Ola Liljedahl wrote: > On 9 October 2015 at 10:37, Alexandru Badicioiu < > alexandru.badici...@linaro.org> wrote: > >> This was a long discussion some time ago

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Ola Liljedahl
On 9 October 2015 at 10:37, Alexandru Badicioiu < alexandru.badici...@linaro.org> wrote: > This was a long discussion some time ago and the result was that crypto > output should be abstracted in the form of the completion event and access > functions would retrieve status and output packets. Also

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Alexandru Badicioiu
This was a long discussion some time ago and the result was that crypto output should be abstracted in the form of the completion event and access functions would retrieve status and output packets. Also the implementation is in charge with crypto completion event allocation and not the application

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Ola Liljedahl
On 9 October 2015 at 09:34, Alexandru Badicioiu < alexandru.badici...@linaro.org> wrote: > The problem you raised is not strictly related to this patch. > A crypto session has an output queue (for async mode) where the results , > including the operation status, will be delivered. There is nothing

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-09 Thread Alexandru Badicioiu
The problem you raised is not strictly related to this patch. A crypto session has an output queue (for async mode) where the results , including the operation status, will be delivered. There is nothing in the API to prevent using a pktio output queue for crypto completion events but the pktio sho

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-10-08 Thread Ola Liljedahl
Can this proposal be extended to handle inline IPsec processing, e.g. encrypt and encapsulate packet (include Ethernet framing) and then send to (enqueue) to some user-defined queue (which might be a pktio output queue)? Need some way to report errors and other conditions back to SW so might need s

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-31 Thread Alexandru Badicioiu
On 30 July 2015 at 17:44, Stuart Haslam wrote: > On Thu, Jul 30, 2015 at 02:42:08PM +0300, Alexandru Badicioiu wrote: > > On 30 July 2015 at 13:50, Stuart Haslam > wrote: > > > > > On Wed, Jul 22, 2015 at 11:26:03AM +0300, > alexandru.badici...@linaro.org > > > wrote: > > > > From: Alexandru Bad

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Stuart Haslam
On Thu, Jul 30, 2015 at 02:42:08PM +0300, Alexandru Badicioiu wrote: > On 30 July 2015 at 13:50, Stuart Haslam wrote: > > > On Wed, Jul 22, 2015 at 11:26:03AM +0300, alexandru.badici...@linaro.org > > wrote: > > > From: Alexandru Badicioiu > > > > > > This patch adds IPSec protocol processing ca

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Jacob, Jerin
From: Alexandru Badicioiu Sent: Thursday, July 30, 2015 6:44 PM To: Jacob, Jerin Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension On 30 July 2015 at 16:00, Jerin Jacob mailto:jerin.ja

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Jerin Jacob
On Wed, Jul 22, 2015 at 11:26:03AM +0300, alexandru.badici...@linaro.org wrote: > From: Alexandru Badicioiu > > This patch adds IPSec protocol processing capabilities to crypto > sesssions. Implementations which have these capabilities in hardware > crypto engines can use the extension to offload

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Alexandru Badicioiu
On 30 July 2015 at 13:50, Stuart Haslam wrote: > On Wed, Jul 22, 2015 at 11:26:03AM +0300, alexandru.badici...@linaro.org > wrote: > > From: Alexandru Badicioiu > > > > This patch adds IPSec protocol processing capabilities to crypto > > sesssions. Implementations which have these capabilities i

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Stuart Haslam
On Wed, Jul 22, 2015 at 11:26:03AM +0300, alexandru.badici...@linaro.org wrote: > From: Alexandru Badicioiu > > This patch adds IPSec protocol processing capabilities to crypto > sesssions. Implementations which have these capabilities in hardware > crypto engines can use the extension to offload

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Alexandru Badicioiu
Hi Maxim, I noticed that but I wanted to know if there are some other comments more oriented to the functionality this patch proposes. Thanks, Alex On 30 July 2015 at 12:21, Maxim Uvarov wrote: > On 07/30/15 12:04, Alexandru Badicioiu wrote: > >> Ping. >> > > Alex, Mike replayed to you to fix m

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Maxim Uvarov
On 07/30/15 12:04, Alexandru Badicioiu wrote: Ping. Alex, Mike replayed to you to fix minor fixes. Maxim. On 22 July 2015 at 11:26, > wrote: From: Alexandru Badicioiu mailto:alexandru.badici...@linaro.org>> This patch adds IPSec protocol proc

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-30 Thread Alexandru Badicioiu
Ping. On 22 July 2015 at 11:26, wrote: > From: Alexandru Badicioiu > > This patch adds IPSec protocol processing capabilities to crypto > sesssions. Implementations which have these capabilities in hardware > crypto engines can use the extension to offload the application from > IPSec protocol

Re: [lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-22 Thread Mike Holmes
Minor fixes On 22 July 2015 at 04:26, wrote: > From: Alexandru Badicioiu > > This patch adds IPSec protocol processing capabilities to crypto > sesssions. Implementations which have these capabilities in hardware > crypto engines can use the extension to offload the application from > IPSec pro

[lng-odp] [API-NEXT PATCH] api: crypto: add crypto IPSec extension

2015-07-22 Thread alexandru.badicioiu
From: Alexandru Badicioiu This patch adds IPSec protocol processing capabilities to crypto sesssions. Implementations which have these capabilities in hardware crypto engines can use the extension to offload the application from IPSec protocol processing. Signed-off-by: Alexandru Badicioiu ---