[0/4] add new QAT gen3 device

Message ID 20231219155124.4133385-1-ciara.power@intel.com (mailing list archive)
Headers
Series add new QAT gen3 device |

Message

Ciara Power Dec. 19, 2023, 3:51 p.m. UTC
  This patchset adds support for a new gen3 QuickAssist device.

There are some changes for this device in comparison to the
existing gen3 implementation:
 - DES and Kasumi removed from capabilities.
 - ZUC256 added to capabiltiies.
 - New device ID.
 - New CMAC macros included.
 - Some algorithms moved to wireless slice (SNOW3G, ZUC, AES-CMAC).

This patchset covers Symmetric crypto, so a check has been added for
Asymmetric and Compression PMDs to skip for this gen3 device only.

Documentation will be updated in a subsequent version of the patchset.

Ciara Power (4):
  crypto/qat: add new gen3 device
  crypto/qat: add zuc256 wireless slice for gen3
  crypto/qat: add new gen3 CMAC macros
  crypto/qat: disable asym and compression for new gen3 device

 drivers/common/qat/qat_adf/icp_qat_fw.h      |   3 +-
 drivers/common/qat/qat_adf/icp_qat_fw_la.h   |  24 +++
 drivers/common/qat/qat_adf/icp_qat_hw.h      |  23 ++-
 drivers/common/qat/qat_device.c              |  13 ++
 drivers/common/qat/qat_device.h              |   2 +
 drivers/compress/qat/qat_comp_pmd.c          |   3 +-
 drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c |   1 +
 drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c |  57 ++++++-
 drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c |   2 +-
 drivers/crypto/qat/dev/qat_crypto_pmd_gens.h |  44 ++++-
 drivers/crypto/qat/dev/qat_sym_pmd_gen1.c    |  15 ++
 drivers/crypto/qat/qat_asym.c                |   3 +-
 drivers/crypto/qat/qat_sym_session.c         | 164 +++++++++++++++++--
 drivers/crypto/qat/qat_sym_session.h         |   2 +
 14 files changed, 332 insertions(+), 24 deletions(-)