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 -- 2.30.2