Re: [PATCH 4/4] crypto: talitos - add software backlog queue handling

2015-03-16 Thread Martin Hicks
On Sat, Mar 14, 2015 at 1:16 PM, Horia Geantă horia.gea...@freescale.com wrote: On 3/13/2015 8:37 PM, Tom Lendacky wrote: + +/* Try to backlog request (if allowed) */ +return crypto_enqueue_request(priv-chan[ch].queue, areq); I'd remembered something about how

Re: [PATCH 4/4] crypto: talitos - add software backlog queue handling

2015-03-14 Thread Horia Geantă
On 3/13/2015 8:37 PM, Tom Lendacky wrote: On 03/13/2015 12:16 PM, Horia Geanta wrote: I was running into situations where the hardware FIFO was filling up, and the code was returning EAGAIN to dm-crypt and just dropping the submitted crypto request. This adds support in talitos for a

Re: [PATCH 4/4] crypto: talitos - add software backlog queue handling

2015-03-13 Thread Tom Lendacky
On 03/13/2015 12:16 PM, Horia Geanta wrote: I was running into situations where the hardware FIFO was filling up, and the code was returning EAGAIN to dm-crypt and just dropping the submitted crypto request. This adds support in talitos for a software backlog queue. When requests can't be

[PATCH 4/4] crypto: talitos - add software backlog queue handling

2015-03-13 Thread Horia Geanta
I was running into situations where the hardware FIFO was filling up, and the code was returning EAGAIN to dm-crypt and just dropping the submitted crypto request. This adds support in talitos for a software backlog queue. When requests can't be queued to the hardware immediately EBUSY is