[v7,0/3] add QAT GEN LCE device

Message ID 20240229184347.2496000-1-ciara.power@intel.com (mailing list archive)
Headers
Series add QAT GEN LCE device |

Message

Power, Ciara Feb. 29, 2024, 6:43 p.m. UTC
  This patchset adds a new QAT LCE device.
The device currently only supports symmetric crypto,
and only the AES-GCM algorithm.

v7:
  - Squashed patch 1 and 2.
  - Fixed formatting to leverage 100 char line limit.
  - Removed unnecessary whitespace and indent changes.
  - Fixed copyright year typo on new file.
  - Added second developer to commit message signed-off tags.
v6:
  - Added documentation and release note changes.
  - Removed unused device PCI ID.
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 (3):
  common/qat: add support for GEN LCE device
  crypto/qat: update headers for GEN LCE support
  test/cryptodev: add tests for GCM with 64 byte AAD

 .mailmap                                      |   1 +
 app/test/test_cryptodev.c                     |  43 ++-
 app/test/test_cryptodev_aead_test_vectors.h   |  62 ++++
 doc/guides/cryptodevs/qat.rst                 |   1 +
 doc/guides/rel_notes/release_24_03.rst        |   4 +
 drivers/common/qat/dev/qat_dev_gen_lce.c      | 295 +++++++++++++++++
 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               |   5 +
 .../crypto/qat/dev/qat_crypto_pmd_gen_lce.c   | 310 ++++++++++++++++++
 drivers/crypto/qat/qat_sym.c                  |  14 +-
 drivers/crypto/qat/qat_sym.h                  |  57 +++-
 drivers/crypto/qat/qat_sym_session.c          |  57 +++-
 drivers/crypto/qat/qat_sym_session.h          |  10 +-
 19 files changed, 1040 insertions(+), 15 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