event/octeontx2: add support for event crypto adapter
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesIn review
- v33 patches 0 repliesSuperseded
- v23 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 0 replies | Superseded |
Changes in v4 from the cover letter
* In the "event/octeontx2: add crypto adapter datapath" patch, replaced rte_cio_wmb with rte_io_wmb, to resolve compilation error.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | crypto/octeontx2: move functions to helper filedrivers/ drivers/ | +75 | 0 replies | |
| 2/3 | event/octeontx2: add crypto adapter frameworkdrivers/ drivers/ drivers/ +6 more | +130 | 0 replies | |
| 3/3 | event/octeontx2: add crypto adapter datapathdrivers/ drivers/ drivers/ +3 more | +168 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Pavan Nikhilesh |
|---|---|
| Series | Series-Acked-by |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v4 0/3] event/octeontx2: add support for event crypto adapter
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.
v4:
* In the "event/octeontx2: add crypto adapter datapath" patch, replaced rte_cio_wmb with rte_io_wmb, to resolve compilation error.
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
Signature · 1 line
2.28.0