mbox series

[v10,0/4] Enhancements to crypto adapter forward mode

Message ID 20210414180417.1263585-1-gakhil@marvell.com (mailing list archive)
Headers show
Series Enhancements to crypto adapter forward mode | expand

Message

Akhil Goyal April 14, 2021, 6:04 p.m. UTC
From: Akhil Goyal <gakhil@marvell.com>

v10:
- moved last patch to first patch of the series.

v9:
- moved ca_enqueue in the end of rte_eventdev before reserved fields
- added exception in libabigail.abignore for reserved fields
- added exception in libabigail.abignore for new field addition in
place of reserved in rte_eventdev
- added deprecation notice to move ca_enqueue up in the structure.

v8:
- Added metadata NULL check and op free.
- events object - > event objects.
- Added Acked-by.

v7:
- Rebased.

v6:
- Rebased.

v5:
- Set rte_errno if crypto adapter enqueue fails in driver.
- Test application code restructuring.

v4:
- Fix debug build.

v3:
- Added crypto adapter test application changes.

v2:
- Updated release notes.
- Made use of RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET macro.
- Fixed v1 build error.

v1:
- Added crypto adapter forward mode support for octeontx2.


Akhil Goyal (2):
  devtools: add exception for reserved fields
  eventdev: introduce crypto adapter enqueue API

Shijith Thotton (2):
  event/octeontx2: support crypto adapter forward mode
  test/event_crypto: use crypto adapter enqueue API

 app/test/test_event_crypto_adapter.c          | 33 +++++---
 devtools/libabigail.abignore                  | 11 ++-
 .../prog_guide/event_crypto_adapter.rst       | 69 +++++++++------
 doc/guides/rel_notes/deprecation.rst          |  4 +
 doc/guides/rel_notes/release_21_05.rst        |  6 ++
 drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 49 +++++++----
 drivers/event/octeontx2/otx2_evdev.c          |  5 +-
 .../event/octeontx2/otx2_evdev_crypto_adptr.c |  3 +-
 ...dptr_dp.h => otx2_evdev_crypto_adptr_rx.h} |  6 +-
 .../octeontx2/otx2_evdev_crypto_adptr_tx.h    | 83 +++++++++++++++++++
 drivers/event/octeontx2/otx2_worker.h         |  2 +-
 drivers/event/octeontx2/otx2_worker_dual.h    |  2 +-
 lib/librte_eventdev/eventdev_trace_points.c   |  3 +
 .../rte_event_crypto_adapter.h                | 63 ++++++++++++++
 lib/librte_eventdev/rte_eventdev.c            | 10 +++
 lib/librte_eventdev/rte_eventdev.h            |  9 +-
 lib/librte_eventdev/rte_eventdev_trace_fp.h   | 10 +++
 lib/librte_eventdev/version.map               |  1 +
 18 files changed, 308 insertions(+), 61 deletions(-)
 rename drivers/event/octeontx2/{otx2_evdev_crypto_adptr_dp.h => otx2_evdev_crypto_adptr_rx.h} (93%)
 create mode 100644 drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h