[PATCH v3] crypto: algif - Mark sgl end at the end of data

2014-12-08 Thread Tadeusz Struk
Hi, algif_skcipher sends 127 sgl buffers for encryption regardless of how many buffers acctually have data to process, where the few first with valid len and the rest with zero len. This is not very eficient. This patch marks the last one with data as the last one to process. Changes: v2 - use dat

Re: [PATCH v3] crypto: algif - Mark sgl end at the end of data

2014-12-22 Thread Herbert Xu
On Mon, Dec 08, 2014 at 12:03:42PM -0800, Tadeusz Struk wrote: > Hi, > algif_skcipher sends 127 sgl buffers for encryption regardless of how > many buffers acctually have data to process, where the few first with > valid len and the rest with zero len. This is not very eficient. > This patch marks