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 the last one with data as the last one to process. > > Changes: > v2 - use data len to find the last buffer instead of nents in RX list. > v3 - Mark/unmark end when data is added and sgl->cur changed. > > Signed-off-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx> Patch applied. -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html