[v2,00/15] Cryptodev API changes for 18.08
mbox series

Message ID 20180625084856.25205-1-pablo.de.lara.guarch@intel.com
Headers show
Series
  • Cryptodev API changes for 18.08
Related show

Message

De Lara Guarch, Pablo June 25, 2018, 8:48 a.m. UTC
API changes in the cryptodev library, announced
in the previous release, 18.05.

Changes in v2:
- Instead of removing max_nb_sessions in info structure,
  a new value `0` is allowed, to indicate that the PMD
  does not have any limitation on the number of sessions
  to be managed
- Modified crypto applications to check for new value `0`
  on max_nb_sessions
- Modified MVSAM PMD to parse max_nb_sessions,
  since that parameter is not generic to any PMD anymore
- Removed attach/detach session API, as announced
- Removed deprecated function that was not removed in
  previous patchset
- Renamed PMD symmetric session API, to allow asymmetric
  session API to be added in the future


Pablo de Lara (15):
  cryptodev: replace bus specific struct with generic dev
  cryptodev: remove max number of sessions per queue
  app/crypto-perf: limit number of sessions
  test/crypto: limit number of sessions
  examples/l2fwd-crypto: limit number of sessions
  examples/ipsec-secgw: check for max supported sessions
  crypto/mvsam: parse max number of sessions
  cryptodev: define value for unlimited sessions
  cryptodev: remove max number of sessions parameter
  doc: remove unneeded deprecation notice
  cryptodev: remove queue start/stop functions
  cryptodev: remove old get session size functions
  cryptodev: replace mbuf scatter gather flag
  cryptodev: remove attach/detach session API
  cryptodev: rename PMD symmetric session API

 app/test-crypto-perf/main.c                        |  31 +++-
 doc/guides/prog_guide/cryptodev_lib.rst            |   7 +-
 doc/guides/rel_notes/deprecation.rst               |  25 ----
 doc/guides/rel_notes/release_18_08.rst             |  30 +++-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd.c           |   7 +-
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c       |  33 ++---
 drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h   |   2 -
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c         |   5 +-
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c     |  33 ++---
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h |   2 -
 drivers/crypto/armv8/rte_armv8_pmd.c               |   5 +-
 drivers/crypto/armv8/rte_armv8_pmd_ops.c           |  33 ++---
 drivers/crypto/armv8/rte_armv8_pmd_private.h       |   2 -
 drivers/crypto/ccp/ccp_pmd_ops.c                   |  31 ++--
 drivers/crypto/ccp/ccp_pmd_private.h               |   1 -
 drivers/crypto/ccp/rte_ccp_pmd.c                   |  16 +--
 drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c        |  44 ++----
 drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h          |   2 -
 drivers/crypto/dpaa_sec/dpaa_sec.c                 |  73 ++--------
 drivers/crypto/kasumi/rte_kasumi_pmd.c             |   5 +-
 drivers/crypto/kasumi/rte_kasumi_pmd_ops.c         |  33 ++---
 drivers/crypto/kasumi/rte_kasumi_pmd_private.h     |   2 -
 drivers/crypto/mvsam/rte_mrvl_pmd.c                | 132 +++++++++++++++--
 drivers/crypto/mvsam/rte_mrvl_pmd_ops.c            |  43 ++----
 drivers/crypto/null/null_crypto_pmd.c              |   7 +-
 drivers/crypto/null/null_crypto_pmd_ops.c          |  33 ++---
 drivers/crypto/null/null_crypto_pmd_private.h      |   1 -
 drivers/crypto/openssl/rte_openssl_pmd.c           |   7 +-
 drivers/crypto/openssl/rte_openssl_pmd_ops.c       |  33 ++---
 drivers/crypto/openssl/rte_openssl_pmd_private.h   |   2 -
 drivers/crypto/qat/qat_sym_pmd.c                   |  21 +--
 drivers/crypto/qat/qat_sym_pmd.h                   |   1 -
 drivers/crypto/scheduler/scheduler_pmd.c           |  13 +-
 drivers/crypto/scheduler/scheduler_pmd_ops.c       |  46 ++----
 drivers/crypto/snow3g/rte_snow3g_pmd.c             |   5 +-
 drivers/crypto/snow3g/rte_snow3g_pmd_ops.c         |  33 ++---
 drivers/crypto/snow3g/rte_snow3g_pmd_private.h     |   2 -
 drivers/crypto/virtio/virtio_cryptodev.c           |  18 +--
 drivers/crypto/zuc/rte_zuc_pmd.c                   |   5 +-
 drivers/crypto/zuc/rte_zuc_pmd_ops.c               |  33 ++---
 drivers/crypto/zuc/rte_zuc_pmd_private.h           |   2 -
 examples/ipsec-secgw/ipsec-secgw.c                 |   6 +
 examples/l2fwd-crypto/main.c                       |  19 ++-
 lib/librte_cryptodev/rte_cryptodev.c               | 132 +++--------------
 lib/librte_cryptodev/rte_cryptodev.h               | 157 +++++----------------
 lib/librte_cryptodev/rte_cryptodev_pmd.c           |  12 +-
 lib/librte_cryptodev/rte_cryptodev_pmd.h           |  66 +--------
 lib/librte_cryptodev/rte_cryptodev_version.map     |   6 -
 test/test/test_cryptodev.c                         |  60 ++++++--
 test/test/test_cryptodev_blockcipher.c             |  21 ++-
 50 files changed, 471 insertions(+), 867 deletions(-)