Skip to content

Enhancements to crypto adapter forward mode

Shijith Thotton dpdk-dev 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest3 patches 6 repliesIn review
  2. v73 patches 4 repliesSuperseded
  3. v63 patches 6 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v53 patches0 repliesSuperseded
v43 patches12 repliesSuperseded
v33 patches0 repliesSuperseded
v22 patches0 repliesSuperseded
v12 patches5 repliesSuperseded

Changes in v8 from the cover letter

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

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eventdev: introduce crypto adapter enqueue APIdoc/guides/prog_guide/event_crypto_adapter.rst doc/guides/rel_notes/release_21_05.rst lib/librte_eventdev/eventdev_trace_points.c +5 more+143 -2731 replies
2/3event/octeontx2: support crypto adapter forward modedrivers/crypto/octeontx2/otx2_cryptodev_ops.c drivers/event/octeontx2/otx2_evdev.c drivers/event/octeontx2/otx2_evdev_crypto_adptr.c +4 more+129 -210 replies
3/3test/event_crypto: use crypto adapter enqueue APIapp/test/test_event_crypto_adapter.c+21 -121 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAbhinandan GujjarJerin Jacob
1/3A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b A-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [dpdk-dev] [PATCH v8 0/3] Enhancements to crypto adapter forward mode

This series proposes a new event device enqueue operation if crypto adapter forward mode is supported. Second patch in the series is the implementation of the same in PMD. Test application changes are added in third patch.

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 (1):
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 +++++---
 .../prog_guide/event_crypto_adapter.rst       | 69 +++++++++------
 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            |  8 +-
 lib/librte_eventdev/rte_eventdev_trace_fp.h   | 10 +++
 lib/librte_eventdev/version.map               |  1 +
 16 files changed, 293 insertions(+), 60 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
Signature · 1 line
2.25.1