Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1231680

Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG

From Stanimir Varbanov <svarbanov@mm-sol.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG
Date 2015-09-23 21:50 +0200
Message-ID <qbYdb-5vh-11@gated-at.bofh.it> (permalink)
References <qbQSm-3fk-5@gated-at.bofh.it> <qbQSm-3fk-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On 09/23/2015 02:55 PM, LABBE Corentin wrote:
> The qce driver use two dma_map_sg path according to SG are chained
> or not.
> Since dma_map_sg can handle both case, clean the code with all
> references to sg chained.
> 
> Thus removing qce_mapsg, qce_unmapsg and qce_countsg functions.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
> ---
>  drivers/crypto/qce/ablkcipher.c | 30 ++++++++----------------
>  drivers/crypto/qce/cipher.h     |  4 ----
>  drivers/crypto/qce/dma.c        | 52 -----------------------------------------
>  drivers/crypto/qce/dma.h        |  5 ----
>  drivers/crypto/qce/sha.c        | 14 ++++-------
>  drivers/crypto/qce/sha.h        |  2 --
>  6 files changed, 15 insertions(+), 92 deletions(-)

Thanks for the patch, very nice diffstat.

I will take care to test the patch next week.


regards,
Stan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-23 14:00 +0200
  [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-23 14:00 +0200
    Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG Stanimir Varbanov <svarbanov@mm-sol.com> - 2015-09-23 21:50 +0200
    Re: [PATCH 2/4] crypto: qce: dma_map_sg can handle chained SG Herbert Xu <herbert@gondor.apana.org.au> - 2015-10-01 16:00 +0200
  [PATCH 4/4] crypto: sahara: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-23 14:00 +0200
  [PATCH 3/4] crypto: caam: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-09-23 14:00 +0200
  Re: [PATCH] crypto: dma_map_sg can handle chained SG Herbert Xu <herbert@gondor.apana.org.au> - 2015-10-01 16:10 +0200
    [PATCH] crypto: qce: dma_map_sg can handle chained SG LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-10-02 08:10 +0200

csiph-web