From: Baolin Wang <baolin.wang@linaro.org>
To: herbert@gondor.apana.org.au, davem@davemloft.net, agk@redhat.com,
snitzer@redhat.com, axboe@fb.com, dm-devel@redhat.com
Cc: akpm@linux-foundation.org, david.s.gordon@intel.com,
thomas.lendacky@amd.com, robert.jarzmik@free.fr,
yamada.masahiro@socionext.com, smueller@chronox.de,
tadeusz.struk@intel.com, standby24x7@gmail.com, shli@kernel.org,
broonie@kernel.org, linus.walleij@linaro.org, arnd@arndb.de,
baolin.wang@linaro.org, linux-kernel@vger.kernel.org,
linux-crypto@vger.kernel.org, linux-raid@vger.kernel.org
Subject: [PATCH v2 0/4] Introduce bulk mode for crypto engine framework
Date: Tue, 15 Mar 2016 15:47:58 +0800 [thread overview]
Message-ID: <cover.1458023695.git.baolin.wang@linaro.org> (raw)
Now some cipher hardware engines prefer to handle bulk block by merging requests
to increase the block size and thus increase the hardware engine processing speed.
This patchset introduces request bulk mode to help the crypto hardware drivers
improve in efficiency.
Changes since v1:
- Modify the sg_is_contiguous() function.
Baolin Wang (4):
scatterlist: Introduce some helper functions
crypto: Introduce some helper functions to help to merge requests
crypto: Introduce the bulk mode for crypto engine framework
md: dm-crypt: Initialize the sector number for one request
crypto/Kconfig | 1 +
crypto/ablk_helper.c | 135 ++++++++++++++++++++++++++++++++++++++++++
crypto/crypto_engine.c | 122 +++++++++++++++++++++++++++++++++++++-
drivers/crypto/omap-aes.c | 2 +-
drivers/md/dm-crypt.c | 1 +
include/crypto/ablk_helper.h | 3 +
include/crypto/algapi.h | 23 ++++++-
include/linux/crypto.h | 5 ++
include/linux/scatterlist.h | 33 +++++++++++
lib/scatterlist.c | 69 +++++++++++++++++++++
10 files changed, 389 insertions(+), 5 deletions(-)
--
1.7.9.5
next reply other threads:[~2016-03-15 7:48 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-15 7:47 Baolin Wang [this message]
2016-03-15 7:47 ` [PATCH v2 1/4] scatterlist: Introduce some helper functions Baolin Wang
2016-04-02 15:00 ` Robert Jarzmik
2016-04-05 7:10 ` Baolin Wang
2016-04-20 7:34 ` Baolin Wang
2016-04-20 8:38 ` Herbert Xu
2016-03-15 7:48 ` [PATCH v2 2/4] crypto: Introduce some helper functions to help to merge requests Baolin Wang
2016-03-15 7:48 ` [PATCH v2 3/4] crypto: Introduce the bulk mode for crypto engine framework Baolin Wang
2016-03-15 7:48 ` [PATCH v2 4/4] md: dm-crypt: Initialize the sector number for one request Baolin Wang
2016-04-15 13:48 ` [PATCH v2 0/4] Introduce bulk mode for crypto engine framework Herbert Xu
2016-04-18 5:31 ` Baolin Wang
2016-04-18 5:45 ` Herbert Xu
2016-04-18 6:02 ` Baolin Wang
2016-04-18 7:04 ` Herbert Xu
2016-04-18 7:21 ` Baolin Wang
2016-04-18 7:24 ` Herbert Xu
2016-04-18 7:58 ` Baolin Wang
2016-04-18 8:04 ` Herbert Xu
2016-04-18 8:14 ` Baolin Wang
2016-04-18 8:17 ` Herbert Xu
2016-04-18 8:28 ` Baolin Wang
2016-04-18 8:31 ` Herbert Xu
2016-04-18 8:40 ` Baolin Wang
2016-04-18 8:41 ` Herbert Xu
2016-04-18 8:51 ` Baolin Wang
2016-04-18 13:36 ` Mike Snitzer
2016-04-18 21:22 ` Milan Broz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1458023695.git.baolin.wang@linaro.org \
--to=baolin.wang@linaro.org \
--cc=agk@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=axboe@fb.com \
--cc=broonie@kernel.org \
--cc=davem@davemloft.net \
--cc=david.s.gordon@intel.com \
--cc=dm-devel@redhat.com \
--cc=herbert@gondor.apana.org.au \
--cc=linus.walleij@linaro.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=robert.jarzmik@free.fr \
--cc=shli@kernel.org \
--cc=smueller@chronox.de \
--cc=snitzer@redhat.com \
--cc=standby24x7@gmail.com \
--cc=tadeusz.struk@intel.com \
--cc=thomas.lendacky@amd.com \
--cc=yamada.masahiro@socionext.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).