Re: [PATCH] crypto: caam: add backlogging support

2016-05-13 Thread Herbert Xu
On Fri, May 13, 2016 at 12:55:09PM +, Catalin Vasile wrote: > > We are inclining towards a hardware backlogging solution because on > low end devices the software queue does not scale very well. > Regarding your concerns, we are now evaluating adding a software queue based > fallback solution:

Re: [PATCH] crypto: caam: add backlogging support

2016-05-13 Thread Catalin Vasile
> > From: Herbert Xu > Sent: Wednesday, May 11, 2016 1:54 PM > To: Catalin Vasile > Cc: linux-crypto@vger.kernel.org; linux-crypto-ow...@vger.kernel.org; Horia > Ioan Geanta Neag; Alexandru Porosanu; Scott Wood > Subject: Re: [PAT

Re: [PATCH] crypto: caam: add backlogging support

2016-05-11 Thread Herbert Xu
On Wed, May 11, 2016 at 07:53:19AM +, Catalin Vasile wrote: > > Every request will be queued and eventually done. > The hardware equipment has a constraint on the number of tfms it can have. > Is there a requirement to support an infinite number of tfms on a device? > > > You should use a soft

Re: [PATCH] crypto: caam: add backlogging support

2016-05-11 Thread Catalin Vasile
> Subject: Re: [PATCH] crypto: caam: add backlogging support> > Catalin Vasile wrote: > > caam_jr_enqueue() function returns -EBUSY once there are no more slots > > available in the JR, but it doesn't actually save the current request. > > This breaks the functional

RE: [PATCH] crypto: caam: add backlogging support

2016-05-10 Thread Alexandru Porosanu
Hi, > -Original Message- > From: Horia Ioan Geanta Neag > Sent: Monday, May 09, 2016 5:51 PM > To: Catalin Vasile ; linux-crypto@vger.kernel.org > Cc: linux-crypto-ow...@vger.kernel.org; Alexandru Porosanu > ; Scott Wood > Subject: Re: [PATCH] crypto: caam: ad

Re: [PATCH] crypto: caam: add backlogging support

2016-05-10 Thread Herbert Xu
Catalin Vasile wrote: > caam_jr_enqueue() function returns -EBUSY once there are no more slots > available in the JR, but it doesn't actually save the current request. > This breaks the functionality of users that expect that even if there is > no more space for the request, it is at least queued

Re: [PATCH] crypto: caam: add backlogging support

2016-05-09 Thread Horia Ioan Geanta Neag
On 5/6/2016 4:19 PM, Catalin Vasile wrote: > caam_jr_enqueue() function returns -EBUSY once there are no more slots > available in the JR, but it doesn't actually save the current request. > This breaks the functionality of users that expect that even if there is > no more space for the request, it

[PATCH] crypto: caam: add backlogging support

2016-05-06 Thread Catalin Vasile
caam_jr_enqueue() function returns -EBUSY once there are no more slots available in the JR, but it doesn't actually save the current request. This breaks the functionality of users that expect that even if there is no more space for the request, it is at least queued for later execution. In other w

RE: [PATCH] crypto/caam: add backlogging support

2015-09-16 Thread Porosanu Alexandru
Hello Horia, -Original Message- From: Horia Geantă [mailto:horia.gea...@freescale.com] Sent: Wednesday, September 16, 2015 5:17 PM To: Porosanu Alexandru-B06830 ; linux-crypto@vger.kernel.org Cc: herb...@gondor.apana.org.au; Pop Mircea-R19439 Subject: Re: [PATCH] crypto/caam: add

Re: [PATCH] crypto/caam: add backlogging support

2015-09-16 Thread Horia Geantă
On 9/9/2015 9:57 AM, Alex Porosanu wrote: > caam_jr_enqueue() function returns -EBUSY once there are no > more slots available in the JR, but it doesn't actually save > the current request. This breaks the functionality of users > that expect that even if there is no more space for the request, > i

[PATCH] crypto/caam: add backlogging support

2015-09-08 Thread Alex Porosanu
caam_jr_enqueue() function returns -EBUSY once there are no more slots available in the JR, but it doesn't actually save the current request. This breaks the functionality of users that expect that even if there is no more space for the request, it is at least queued for later execution. In other w