[dpdk-dev] [PATCH v2 0/3] event/octeontx2: add support for event crypto adapter

Ankur Dwivedi adwivedi at marvell.com
Thu Sep 17 07:16:35 CEST 2020


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.

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          |  4 +-
 drivers/crypto/octeontx2/otx2_ca_helper.h     | 75 +++++++++++++++
 .../crypto/octeontx2/otx2_crypto_adapter.c    | 77 +++++++++++++++
 .../crypto/octeontx2/otx2_crypto_adapter.h    | 21 ++++
 .../octeontx2/otx2_cryptodev_hw_access.h      | 12 +++
 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      | 11 +++
 drivers/event/octeontx2/meson.build           |  3 +-
 drivers/event/octeontx2/otx2_evdev.c          |  5 +
 drivers/event/octeontx2/otx2_worker.h         | 10 +-
 drivers/event/octeontx2/otx2_worker_dual.h    | 11 ++-
 14 files changed, 345 insertions(+), 62 deletions(-)
 create mode 100644 drivers/crypto/octeontx2/otx2_ca_helper.h
 create mode 100644 drivers/crypto/octeontx2/otx2_crypto_adapter.c
 create mode 100644 drivers/crypto/octeontx2/otx2_crypto_adapter.h
 create mode 100644 drivers/crypto/octeontx2/otx2_cryptodev_ops_helper.h

-- 
2.28.0



More information about the dev mailing list