linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Introduce bulk mode for crypto engine framework
@ 2016-03-03  5:19 Baolin Wang
  2016-03-03  5:19 ` [PATCH 1/4] scatterlist: Introduce some helper functions Baolin Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Baolin Wang @ 2016-03-03  5:19 UTC (permalink / raw)
  To: herbert, davem, agk, snitzer, axboe, dm-devel
  Cc: akpm, david.s.gordon, thomas.lendacky, robert.jarzmik,
	yamada.masahiro, smueller, tadeusz.struk, standby24x7, shli,
	broonie, linus.walleij, arnd, baolin.wang, linux-kernel,
	linux-crypto, linux-raid

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.

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            |   59 ++++++++++++++++++
 10 files changed, 379 insertions(+), 5 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-10 12:59 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-03  5:19 [PATCH 0/4] Introduce bulk mode for crypto engine framework Baolin Wang
2016-03-03  5:19 ` [PATCH 1/4] scatterlist: Introduce some helper functions Baolin Wang
2016-03-03 19:15   ` Robert Jarzmik
2016-03-04  6:29     ` Baolin Wang
2016-03-04  6:53       ` Baolin Wang
2016-03-10  9:42       ` Robert Jarzmik
2016-03-10 12:58         ` Baolin Wang
2016-03-03  5:19 ` [PATCH 2/4] crypto: Introduce some helper functions to help to merge requests Baolin Wang
2016-03-03  5:19 ` [PATCH 3/4] crypto: Introduce the bulk mode for crypto engine framework Baolin Wang
2016-03-03  5:19 ` [PATCH 4/4] md: dm-crypt: Initialize the sector number for one request Baolin Wang

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).