[v5,0/4] add QAT GEN LCE device

Message ID 20240227113345.863082-1-nishikanta.nayak@intel.com (mailing list archive)
Headers
Series add QAT GEN LCE device |

Message

Nayak, Nishikanta Feb. 27, 2024, 11:33 a.m. UTC
  This patchset adds a new QAT LCE device.
The device currently only supports symmetric crypto,
and only the AES-GCM algorithm.

v5:
  - Fixed compilation issue by replacing __u8 with uint8_t.
v4:
  - Fixed cover letter, v3 included the wrong details relating
    to another patchset.
v3:
  - Fixed typos in commit and code comments.
  - Replaced use of linux/kernel.h macro with local macro
    to fix ARM compilation in CI.
v2:
   - Renamed device from GEN 5 to GEN LCE.
   - Removed unused code.
   - Updated macro names.

Nishikant Nayak (4):
  common/qat: add files specific to GEN LCE
  common/qat: update common driver to support GEN LCE
  crypto/qat: update headers for GEN LCE support
  test/cryptodev: add tests for GCM with AAD

 .mailmap                                      |   1 +
 app/test/test_cryptodev.c                     |  48 ++-
 app/test/test_cryptodev_aead_test_vectors.h   |  62 ++++
 drivers/common/qat/dev/qat_dev_gen_lce.c      | 306 ++++++++++++++++
 drivers/common/qat/meson.build                |   2 +
 .../qat/qat_adf/adf_transport_access_macros.h |   1 +
 .../adf_transport_access_macros_gen_lce.h     |  51 +++
 .../adf_transport_access_macros_gen_lcevf.h   |  48 +++
 drivers/common/qat/qat_adf/icp_qat_fw.h       |  34 ++
 drivers/common/qat/qat_adf/icp_qat_fw_la.h    |  59 +++-
 drivers/common/qat/qat_common.h               |   1 +
 drivers/common/qat/qat_device.c               |   9 +
 .../crypto/qat/dev/qat_crypto_pmd_gen_lce.c   | 329 ++++++++++++++++++
 drivers/crypto/qat/qat_sym.c                  |  16 +-
 drivers/crypto/qat/qat_sym.h                  |  66 +++-
 drivers/crypto/qat/qat_sym_session.c          |  62 +++-
 drivers/crypto/qat/qat_sym_session.h          |  10 +-
 17 files changed, 1089 insertions(+), 16 deletions(-)
 create mode 100644 drivers/common/qat/dev/qat_dev_gen_lce.c
 create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lce.h
 create mode 100644 drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lcevf.h
 create mode 100644 drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c