Skip to content

Break cryptodev dependency on bus infrastructure

Declan Doherty dpdk-dev 2 versions – Applied

Status from this message: Applied to dpdk-next-crypto.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v13 patches 10 repliesSuperseded

Changes in v2 from the cover letter

- Add release notes updates for new APIs and API removals
- Addresses comments on string and unsigned integer parsing functions
- logging and doxygen comments tidy up

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3cryptodev: add new APIs to assist PMD initialisationdoc/guides/rel_notes/release_17_11.rst lib/librte_cryptodev/rte_cryptodev.h lib/librte_cryptodev/rte_cryptodev_pmd.c +2 more+267 -41 reply
2/3cryptodev: break dependency on virtual device busdoc/guides/rel_notes/deprecation.rst doc/guides/rel_notes/release_17_11.rst drivers/crypto/aesni_gcm/aesni_gcm_pmd.c +16 more+190 -5890 replies
3/3cryptodev: break dependency on PCI device busdoc/guides/rel_notes/release_17_11.rst drivers/crypto/qat/qat_crypto.c drivers/crypto/qat/rte_qat_cryptodev.c +4 more+52 -2031 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPablo de LaraFiona Trahe
SeriesSeries-acked-by
1/3A-b
2/3
3/3A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Break cryptodev dependency on bus infrastructure

This patch set breaks the dependency of the cryptodev library on both the virtual and PCI device infrastructure.

It introduces new bus independent crypto PMD driver assist functions for parsing initialisation parameters, and creation/destruction of device instances.

It deprecates all function calls to the bus dependent functions and updates all crypto PMDs to use the newly introduced device independent functions.

V2:
- Add release notes updates for new APIs and API removals
- Addresses comments on string and unsigned integer parsing functions
- logging and doxygen comments tidy up

Declan Doherty (3):
cryptodev: add new APIs to assist PMD initialisation
cryptodev: break dependency on virtual device bus
cryptodev: break dependency on PCI device bus

 doc/guides/rel_notes/deprecation.rst           |   5 -
 doc/guides/rel_notes/release_17_11.rst         |  20 +++
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c       |  56 +++----
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c     |  73 ++++-----
 drivers/crypto/armv8/rte_armv8_pmd.c           |  41 ++---
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c    |  11 +-
 drivers/crypto/dpaa_sec/dpaa_sec.c             |  14 +-
 drivers/crypto/kasumi/rte_kasumi_pmd.c         |  49 ++----
 drivers/crypto/mrvl/rte_mrvl_pmd.c             |  56 +++----
 drivers/crypto/null/null_crypto_pmd.c          |  72 ++++-----
 drivers/crypto/openssl/rte_openssl_pmd.c       |  42 ++---
 drivers/crypto/qat/qat_crypto.c                |   3 +-
 drivers/crypto/qat/rte_qat_cryptodev.c         |  55 +++++--
 drivers/crypto/scheduler/scheduler_pmd.c       |  45 ++----
 drivers/crypto/scheduler/scheduler_pmd_ops.c   |   3 +-
 drivers/crypto/snow3g/rte_snow3g_pmd.c         |  41 ++---
 drivers/crypto/zuc/rte_zuc_pmd.c               |  41 ++---
 lib/librte_cryptodev/Makefile                  |   2 -
 lib/librte_cryptodev/rte_cryptodev.h           |   8 +-
 lib/librte_cryptodev/rte_cryptodev_pci.h       |  92 -----------
 lib/librte_cryptodev/rte_cryptodev_pmd.c       | 213 ++++++++++---------------
 lib/librte_cryptodev/rte_cryptodev_pmd.h       |  86 ++++++++++
 lib/librte_cryptodev/rte_cryptodev_vdev.h      | 100 ------------
 lib/librte_cryptodev/rte_cryptodev_version.map |   7 +-
 24 files changed, 424 insertions(+), 711 deletions(-)
 delete mode 100644 lib/librte_cryptodev/rte_cryptodev_pci.h
 delete mode 100644 lib/librte_cryptodev/rte_cryptodev_vdev.h
Signature · 1 line
2.9.4