From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D47C744CF for ; Mon, 25 Jun 2018 18:54:39 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jun 2018 09:54:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,270,1526367600"; d="scan'208";a="66193768" Received: from silpixa00399466.ir.intel.com (HELO silpixa00399466.ger.corp.intel.com) ([10.237.223.220]) by fmsmga004.fm.intel.com with ESMTP; 25 Jun 2018 09:54:35 -0700 From: Pablo de Lara To: declan.doherty@intel.com, akhil.goyal@nxp.com, shally.verma@caviumnetworks.com, ravi1.kumar@amd.com, jerin.jacob@caviumnetworks.com, roy.fan.zhang@intel.com, fiona.trahe@intel.com, tdu@semihalf.com, jianjay.zhou@huawei.com Cc: dev@dpdk.org, Pablo de Lara Date: Mon, 25 Jun 2018 09:48:41 +0100 Message-Id: <20180625084856.25205-1-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180608220234.10170-1-pablo.de.lara.guarch@intel.com> References: <20180608220234.10170-1-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2 00/15] Cryptodev API changes for 18.08 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jun 2018 16:54:40 -0000 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(-) -- 2.14.4