This patch reworks QAT symmetric crypto datapatch implementation where each generation request building separated and the crypto operation under the raw datapath api implementation are unified.
In addtion this patchset also enables QAT OOP support in raw datapath api implementation. This patch depends on http://patchwork.dpdk.org/project/dpdk/cover/20211027155055.32264-1-kai...@intel.com/ v4: - patchset break down and reconstruct v3: - sperate a single patch 6 to two different patches v2: - review comments addressed Kai Ji (11): common/qat: define build op request and dequeue op crypto/qat: sym build op request specific implementation crypto/qat: rework session APIs crypto/qat: asym build op request specific implementation crypto/qat: unify sym pmd apis crypto/qat: unify qat asym pmd apis crypto/qat: op burst data path rework compress/qat: comp dequeue burst update crypto/qat: raw dp api integration crypto/qat: support out of place SG list test/cryptodev: fix incomplete data length app/test/test_cryptodev.c | 27 +- drivers/common/qat/meson.build | 4 +- drivers/common/qat/qat_device.c | 2 +- drivers/common/qat/qat_qp.c | 40 +- drivers/common/qat/qat_qp.h | 70 +- drivers/compress/qat/qat_comp_pmd.c | 12 +- drivers/crypto/qat/dev/qat_asym_pmd_gen1.c | 7 + drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 91 +- drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 487 +++++++++ drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 253 +++++ drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 911 +++++++++++++++++ drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 939 ++++++++++++++++++ drivers/crypto/qat/qat_asym.c | 762 ++++++++------ drivers/crypto/qat/qat_asym.h | 77 +- drivers/crypto/qat/qat_asym_pmd.c | 231 ----- drivers/crypto/qat/qat_asym_pmd.h | 54 - drivers/crypto/qat/qat_crypto.c | 1 + drivers/crypto/qat/qat_crypto.h | 14 +- drivers/crypto/qat/qat_sym.c | 978 ++++++------------ drivers/crypto/qat/qat_sym.h | 141 ++- drivers/crypto/qat/qat_sym_hw_dp.c | 983 ------------------- drivers/crypto/qat/qat_sym_pmd.c | 251 ----- drivers/crypto/qat/qat_sym_pmd.h | 95 -- drivers/crypto/qat/qat_sym_session.c | 114 +-- drivers/crypto/qat/qat_sym_session.h | 8 +- 25 files changed, 3820 insertions(+), 2732 deletions(-) delete mode 100644 drivers/crypto/qat/qat_asym_pmd.c delete mode 100644 drivers/crypto/qat/qat_asym_pmd.h delete mode 100644 drivers/crypto/qat/qat_sym_hw_dp.c delete mode 100644 drivers/crypto/qat/qat_sym_pmd.c delete mode 100644 drivers/crypto/qat/qat_sym_pmd.h -- 2.17.1