This patch series adds support for event crypto adapter in op new mode in the OCTEON TX2 event PMD. The functionality has been verified with event crypto adapter test application. Build with meson and ninja is supported.
v3: * In the "event/octeontx2: add crypto adapter framework" patch, the following changes were made: - Moved the crypto adapter files from crypto/octeontx2 to event/octeontx2 directory. - Reused the security flag for crypto adapter implementation. * In the "event/octeontx2: add crypto adapter datapath" patch, the following changes were made: - In otx2_ssogws_get_work() and otx2_ssogws_dual_get_work(), the crypto adapter function is called if offload flag has security enabled. This is an additional check apart from checking event type. v2: * In the "event/octeontx2: add crypto adapter datapath" patch, right shifting the req pointer by 3 bits before submit during enqueue. Because of this the right shift during dequeue is not required. Ankur Dwivedi (3): crypto/octeontx2: move functions to helper file event/octeontx2: add crypto adapter framework event/octeontx2: add crypto adapter datapath drivers/common/cpt/cpt_common.h | 1 + drivers/crypto/octeontx2/meson.build | 1 + .../octeontx2/otx2_cryptodev_hw_access.h | 12 +++ .../crypto/octeontx2/otx2_cryptodev_mbox.h | 2 + drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 96 ++++++++----------- .../octeontx2/otx2_cryptodev_ops_helper.h | 74 ++++++++++++++ drivers/crypto/octeontx2/otx2_cryptodev_qp.h | 7 ++ .../rte_pmd_octeontx2_crypto_version.map | 10 ++ drivers/event/octeontx2/meson.build | 4 +- drivers/event/octeontx2/otx2_evdev.c | 4 + drivers/event/octeontx2/otx2_evdev.h | 11 +++ .../event/octeontx2/otx2_evdev_crypto_adptr.c | 81 ++++++++++++++++ .../octeontx2/otx2_evdev_crypto_adptr_dp.h | 75 +++++++++++++++ drivers/event/octeontx2/otx2_worker.h | 28 ++++-- drivers/event/octeontx2/otx2_worker_dual.h | 44 +++++---- 15 files changed, 365 insertions(+), 85 deletions(-) create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops_helper.h create mode 100644 drivers/event/octeontx2/otx2_evdev_crypto_adptr.c create mode 100644 drivers/event/octeontx2/otx2_evdev_crypto_adptr_dp.h -- 2.28.0