linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] crypto: qat - Add userspace access to QAT services
@ 2014-11-06 19:59 Tadeusz Struk
  2014-11-06 19:59 ` [PATCH RFC 1/4] crytpo: qat - Fix 64 bytes requests Tadeusz Struk
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Tadeusz Struk @ 2014-11-06 19:59 UTC (permalink / raw)
  To: herbert; +Cc: davem, linux-crypto, qat-linux

Hi,
This series adds support for user space access to QAT services.
Intel (R) Quick Assist Technology provides acceleration for symmetric,
asymmetric cryptography and compression. Many of these algorithms like
RSA, DSA, Diffie–Hellman, Elliptic Curve are very computational expensive and
accelerating is highly desirable. This patch series implement a new
qat_sym and qat_asym PF_ALG interface that allows access acceleration HW from
user space thorough a QAT library available from 01.org website.
User space applications can use the QAT services through QAT API.
The QAT user space library creates job description requests, and sends
it through qat socket to QAT driver. The driver validates the request,
remaps user virtual memory (for symmetric ciphers) or copies the input
parameters (for public key crypto) and sends it to the acceleration hardware.
The data is then processed and the library is notified when it is ready
by calling select on the socket.

Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
---

Tadeusz Struk (4):
      crytpo: qat - Fix 64 bytes requests
      crypto: qat - Add PKE firmware
      crypto: qat - Add userspace instances
      crypto: qat - Add new algif interface for userspace


 drivers/crypto/qat/Kconfig                         |    9 
 drivers/crypto/qat/qat_common/Makefile             |    3 
 drivers/crypto/qat/qat_common/adf_accel_devices.h  |   19 
 drivers/crypto/qat/qat_common/adf_accel_engine.c   |   42 +
 drivers/crypto/qat/qat_common/adf_cfg_strings.h    |    1 
 drivers/crypto/qat/qat_common/adf_common_drv.h     |   39 +
 drivers/crypto/qat/qat_common/adf_ctl_drv.c        |   13 
 .../qat/qat_common/adf_transport_access_macros.h   |    9 
 drivers/crypto/qat/qat_common/algif_qat.c          |  532 +++++++++++++
 drivers/crypto/qat/qat_common/algif_qat_asym.c     |  791 ++++++++++++++++++++
 drivers/crypto/qat/qat_common/icp_qat_fw_pke.h     |   99 +++
 drivers/crypto/qat/qat_common/qat_algs.c           |   22 -
 drivers/crypto/qat/qat_common/qat_bufs.h           |   65 ++
 drivers/crypto/qat/qat_common/qat_crypto.c         |  189 +++--
 drivers/crypto/qat/qat_common/qat_crypto_user.c    |  251 ++++++
 drivers/crypto/qat/qat_dh895xcc/adf_drv.c          |   86 --
 16 files changed, 1997 insertions(+), 173 deletions(-)
 create mode 100644 drivers/crypto/qat/qat_common/algif_qat.c
 create mode 100644 drivers/crypto/qat/qat_common/algif_qat_asym.c
 create mode 100644 drivers/crypto/qat/qat_common/icp_qat_fw_pke.h
 create mode 100644 drivers/crypto/qat/qat_common/qat_bufs.h
 create mode 100644 drivers/crypto/qat/qat_common/qat_crypto_user.c

-- 

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

end of thread, other threads:[~2014-11-14  1:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-06 19:59 [PATCH RFC 0/4] crypto: qat - Add userspace access to QAT services Tadeusz Struk
2014-11-06 19:59 ` [PATCH RFC 1/4] crytpo: qat - Fix 64 bytes requests Tadeusz Struk
2014-11-06 19:59 ` [PATCH RFC 2/4] crypto: qat - Add PKE firmware Tadeusz Struk
2014-11-06 19:59 ` [PATCH RFC 3/4] crypto: qat - Add userspace instances Tadeusz Struk
2014-11-06 19:59 ` [PATCH RFC 4/4] crypto: qat - Add new algif interface for userspace Tadeusz Struk
2014-11-07  2:56   ` Herbert Xu
2014-11-07  3:43     ` Tadeusz Struk
2014-11-07  4:05       ` Herbert Xu
2014-11-07  5:24         ` Tadeusz Struk
2014-11-07  5:31           ` Herbert Xu
2014-11-07 18:53             ` Tadeusz Struk
2014-11-07 19:48             ` Tadeusz Struk
2014-11-14  1:19               ` Herbert Xu
2014-11-14  1:25                 ` Tadeusz Struk
2014-11-14  1:29                   ` Herbert Xu

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