mbox series

[v2,00/16] Add support for fourth generation of Intel QuickAssist Technology devices

Message ID 20210628163434.77741-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers
Series Add support for fourth generation of Intel QuickAssist Technology devices |

Message

Arkadiusz Kusztal June 28, 2021, 4:34 p.m. UTC
  This patchset adds support for fourth generation (GEN4) of Intel QuickAssist Technology (QAT) devices.
Symmetric crypto PMD is enabled with following algorithms:

* AES-CBC
* AES-CMAC
* AES-XCBC MAC
* NULL (auth, cipher)
* SHA1-HMAC
* SHA2-HMAC (224, 256, 384, 512)
* Chacha20-Poly1305
* AES-CCM
* AES-GCM

Other services (compression, asymmetric crypto) are not added with this patchset.

v2:
- add service discovery

Adam Dybkowski (2):
  crypto/qat: enable RAW API on QAT GEN1-3 only
  test/crypto: check if RAW API is supported

Arek Kusztal (13):
  common/qat: rework qp per service function
  crypto/qat: add support for generation 4 devices
  crypto/qat: enable gen4 legacy algorithms
  crypto/qat: add gen4 ucs slice type, add ctr mode
  crypto/qat: rename content descriptor functions
  crypto/qat: add legacy gcm and ccm
  crypto/qat: rework init common header function
  crypto/qat: add aes gcm in ucs spc mode
  crypto/qat: add chacha-poly in ucs spc mode
  crypto/qat: add gmac in legacy mode on gen 4
  common/qat: add pf2vf communication in qat
  common/qat: reset ring pairs before setting gen4
  common/qat: add service discovery to qat gen4

Fan Zhang (1):
  crypto/qat: update raw dp api

 app/test/test_cryptodev.c                     |  34 +-
 doc/guides/cryptodevs/qat.rst                 |  10 +-
 doc/guides/rel_notes/release_21_08.rst        |   6 +
 drivers/common/qat/meson.build                |   1 +
 drivers/common/qat/qat_adf/adf_pf2vf_msg.h    | 154 ++++++
 .../adf_transport_access_macros_gen4.h        |  52 ++
 .../adf_transport_access_macros_gen4vf.h      |  48 ++
 drivers/common/qat/qat_adf/icp_qat_fw_la.h    |  28 ++
 drivers/common/qat/qat_adf/icp_qat_hw.h       |  10 +
 drivers/common/qat/qat_common.h               |  11 +-
 drivers/common/qat/qat_device.c               |  88 ++++
 drivers/common/qat/qat_device.h               |  18 +
 drivers/common/qat/qat_pf2vf.c                |  80 +++
 drivers/common/qat/qat_pf2vf.h                |  19 +
 drivers/common/qat/qat_qp.c                   | 269 +++++++---
 drivers/common/qat/qat_qp.h                   |  30 +-
 drivers/compress/qat/qat_comp_pmd.c           |  16 +-
 drivers/crypto/qat/qat_asym_pmd.c             |  16 +-
 drivers/crypto/qat/qat_sym.c                  |  57 ++-
 drivers/crypto/qat/qat_sym_capabilities.h     | 472 ++++++++++++++++++
 drivers/crypto/qat/qat_sym_hw_dp.c            | 419 ++++++++--------
 drivers/crypto/qat/qat_sym_pmd.c              |  53 +-
 drivers/crypto/qat/qat_sym_session.c          | 335 ++++++++-----
 drivers/crypto/qat/qat_sym_session.h          |  31 +-
 24 files changed, 1782 insertions(+), 475 deletions(-)
 create mode 100644 drivers/common/qat/qat_adf/adf_pf2vf_msg.h
 create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen4.h
 create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen4vf.h
 create mode 100644 drivers/common/qat/qat_pf2vf.c
 create mode 100644 drivers/common/qat/qat_pf2vf.h
  

Comments

Fan Zhang June 29, 2021, 12:14 p.m. UTC | #1
> -----Original Message-----
> From: Kusztal, ArkadiuszX <arkadiuszx.kusztal@intel.com>
> Sent: Monday, June 28, 2021 5:34 PM
> To: dev@dpdk.org
> Cc: gakhil@marvell.com; Trahe, Fiona <fiona.trahe@intel.com>; Zhang, Roy
> Fan <roy.fan.zhang@intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal@intel.com>
> Subject: [PATCH v2 00/16] Add support for fourth generation of Intel
> QuickAssist Technology devices
> 
> This patchset adds support for fourth generation (GEN4) of Intel QuickAssist
> Technology (QAT) devices.
> Symmetric crypto PMD is enabled with following algorithms:
> 
> * AES-CBC
> * AES-CMAC
> * AES-XCBC MAC
> * NULL (auth, cipher)
> * SHA1-HMAC
> * SHA2-HMAC (224, 256, 384, 512)
> * Chacha20-Poly1305
> * AES-CCM
> * AES-GCM
> 
> Other services (compression, asymmetric crypto) are not added with this
> patchset.
> 

Please address the checkstyle issues in patch No. 7 and 8. Other than that
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
  
Akhil Goyal July 16, 2021, 6:09 p.m. UTC | #2
> This patchset adds support for fourth generation (GEN4) of Intel QuickAssist
> Technology (QAT) devices.
> Symmetric crypto PMD is enabled with following algorithms:
> 
> * AES-CBC
> * AES-CMAC
> * AES-XCBC MAC
> * NULL (auth, cipher)
> * SHA1-HMAC
> * SHA2-HMAC (224, 256, 384, 512)
> * Chacha20-Poly1305
> * AES-CCM
> * AES-GCM
> 
> Other services (compression, asymmetric crypto) are not added with this
> patchset.
> 
> v2:
> - add service discovery
> 
Fixed patch title/description
Fixed checkpatch warning also.
Series Acked-by: Akhil Goyal <gakhil@marvell.com>

Applied to dpdk-next-crypto except the last patch which needs a rework.
Also squashed the 15/16 patch to 14/16 patch as it makes no sense to have
A separate patch just to alter feature flags when the main thing is done in the
Previous patch.