From: Akhil Goyal <akhil.goyal@nxp.com>
To: Fan Zhang <roy.fan.zhang@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "pablo.de.lara.guarch@intel.com" <pablo.de.lara.guarch@intel.com>,
"fiona.trahe@intel.com" <fiona.trahe@intel.com>
Subject: Re: [dpdk-dev] [PATCH v5 00/12] cryptodev: change qp conf and sym session
Date: Thu, 10 Jan 2019 15:06:00 +0000 [thread overview]
Message-ID: <b79ccbcf-f9e7-c8dd-0c09-8227d8d52b2a@nxp.com> (raw)
In-Reply-To: <20190110145022.42883-1-roy.fan.zhang@intel.com>
On 1/10/2019 8:20 PM, Fan Zhang wrote:
> This patchset changes the queue pair configure structure and sym session
> structure for cryptodev. An RFC patch http://patchwork.dpdk.org/patch/43883/
> has been sent to state the change.
>
> The patchset also includes two added APIs for creating symmetric session mempool
> and getting the session header data for existing session.
>
> v5:
> - Fixed documentation.
From NXP pmd, cryptodev and ipsec-secgw perspective.
Series Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
>
> v4:
> - Fixed some issue.
> - Patch splitted.
>
> v3:
> - Rebased.
> - Fixed a few bugs.
>
> v2:
> - Removed incorrect config/common_base change
> - Added new API for existing session size
> - Changed element name of symmetric session
>
> Fan Zhang (12):
> cryptodev: change queue pair configure structure
> cryptodev: add sym session mempool create
> app/test-crypto-perf: use separate session mempools
> net/softnic: use separate session mempools
> examples: use separate session mempools
> vhost/crypto: use separate session mempools
> test/crypto: use separate session mempools
> cryptodev: add sym session header size API
> cryptodev: update symmetric session structure
> cryptodev: add user data size to symmetric session
> cryptodev: add reference count to session private data
> cryptodev: add opaque data field to symmetric session
>
> app/test-crypto-perf/cperf.h | 1 +
> app/test-crypto-perf/cperf_ops.c | 11 +-
> app/test-crypto-perf/cperf_ops.h | 2 +-
> app/test-crypto-perf/cperf_test_latency.c | 5 +-
> app/test-crypto-perf/cperf_test_latency.h | 1 +
> app/test-crypto-perf/cperf_test_pmd_cyclecount.c | 5 +-
> app/test-crypto-perf/cperf_test_pmd_cyclecount.h | 1 +
> app/test-crypto-perf/cperf_test_throughput.c | 5 +-
> app/test-crypto-perf/cperf_test_throughput.h | 1 +
> app/test-crypto-perf/cperf_test_verify.c | 5 +-
> app/test-crypto-perf/cperf_test_verify.h | 1 +
> app/test-crypto-perf/main.c | 105 ++-
> doc/guides/prog_guide/cryptodev_lib.rst | 90 ++-
> doc/guides/prog_guide/img/cryptodev_sym_sess.svg | 725 +++++++++++----------
> doc/guides/rel_notes/deprecation.rst | 9 -
> doc/guides/rel_notes/release_19_02.rst | 25 +-
> drivers/crypto/aesni_gcm/Makefile | 1 +
> drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 10 +-
> drivers/crypto/aesni_gcm/aesni_gcm_pmd_ops.c | 5 +-
> drivers/crypto/aesni_gcm/aesni_gcm_pmd_private.h | 2 +
> drivers/crypto/aesni_gcm/meson.build | 1 +
> drivers/crypto/aesni_mb/Makefile | 1 +
> drivers/crypto/aesni_mb/meson.build | 2 +
> drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 10 +-
> drivers/crypto/aesni_mb/rte_aesni_mb_pmd_ops.c | 5 +-
> drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 2 +
> drivers/crypto/armv8/Makefile | 1 +
> drivers/crypto/armv8/rte_armv8_pmd.c | 10 +-
> drivers/crypto/armv8/rte_armv8_pmd_ops.c | 5 +-
> drivers/crypto/armv8/rte_armv8_pmd_private.h | 2 +
> drivers/crypto/caam_jr/caam_jr.c | 3 +-
> drivers/crypto/ccp/ccp_pmd_ops.c | 5 +-
> drivers/crypto/ccp/ccp_pmd_private.h | 2 +
> drivers/crypto/ccp/rte_ccp_pmd.c | 9 +-
> drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 3 +-
> drivers/crypto/dpaa_sec/dpaa_sec.c | 3 +-
> drivers/crypto/kasumi/Makefile | 1 +
> drivers/crypto/kasumi/meson.build | 1 +
> drivers/crypto/kasumi/rte_kasumi_pmd.c | 10 +-
> drivers/crypto/kasumi/rte_kasumi_pmd_ops.c | 5 +-
> drivers/crypto/kasumi/rte_kasumi_pmd_private.h | 2 +
> drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 5 +-
> drivers/crypto/mvsam/rte_mrvl_pmd_private.h | 3 +
> drivers/crypto/null/null_crypto_pmd.c | 5 +-
> drivers/crypto/null/null_crypto_pmd_ops.c | 5 +-
> drivers/crypto/null/null_crypto_pmd_private.h | 2 +
> drivers/crypto/octeontx/otx_cryptodev_ops.c | 3 +-
> drivers/crypto/openssl/Makefile | 1 +
> drivers/crypto/openssl/meson.build | 1 +
> drivers/crypto/openssl/rte_openssl_pmd.c | 10 +-
> drivers/crypto/openssl/rte_openssl_pmd_ops.c | 5 +-
> drivers/crypto/openssl/rte_openssl_pmd_private.h | 2 +
> drivers/crypto/qat/qat_sym_pmd.c | 2 +-
> drivers/crypto/scheduler/scheduler_pmd_ops.c | 5 +-
> drivers/crypto/snow3g/Makefile | 1 +
> drivers/crypto/snow3g/rte_snow3g_pmd.c | 10 +-
> drivers/crypto/snow3g/rte_snow3g_pmd_ops.c | 5 +-
> drivers/crypto/snow3g/rte_snow3g_pmd_private.h | 2 +
> drivers/crypto/virtio/virtio_cryptodev.c | 6 +-
> drivers/crypto/zuc/Makefile | 1 +
> drivers/crypto/zuc/meson.build | 1 +
> drivers/crypto/zuc/rte_zuc_pmd.c | 10 +-
> drivers/crypto/zuc/rte_zuc_pmd_ops.c | 5 +-
> drivers/crypto/zuc/rte_zuc_pmd_private.h | 2 +
> drivers/net/softnic/rte_eth_softnic_cli.c | 52 +-
> drivers/net/softnic/rte_eth_softnic_cryptodev.c | 52 +-
> drivers/net/softnic/rte_eth_softnic_internals.h | 3 +
> examples/fips_validation/main.c | 38 +-
> examples/ip_pipeline/cli.c | 49 +-
> examples/ip_pipeline/cryptodev.c | 51 +-
> examples/ip_pipeline/cryptodev.h | 3 +
> examples/ip_pipeline/examples/flow_crypto.cli | 9 +-
> examples/ipsec-secgw/ipsec-secgw.c | 51 +-
> examples/ipsec-secgw/ipsec.c | 2 +-
> examples/ipsec-secgw/ipsec.h | 2 +
> examples/l2fwd-crypto/main.c | 66 +-
> examples/vhost_crypto/main.c | 22 +-
> lib/librte_cryptodev/Makefile | 5 +-
> lib/librte_cryptodev/meson.build | 5 +-
> lib/librte_cryptodev/rte_cryptodev.c | 192 +++++-
> lib/librte_cryptodev/rte_cryptodev.h | 69 +-
> lib/librte_cryptodev/rte_cryptodev_pmd.h | 16 +-
> lib/librte_cryptodev/rte_cryptodev_version.map | 2 +
> lib/librte_vhost/rte_vhost_crypto.h | 9 +-
> lib/librte_vhost/vhost_crypto.c | 8 +-
> test/test/test_cryptodev.c | 262 ++++----
> test/test/test_cryptodev_asym.c | 8 +-
> test/test/test_cryptodev_blockcipher.c | 7 +-
> test/test/test_cryptodev_blockcipher.h | 1 +
> test/test/test_event_crypto_adapter.c | 35 +-
> 90 files changed, 1439 insertions(+), 765 deletions(-)
>
next prev parent reply other threads:[~2019-01-10 15:06 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 17:24 [dpdk-dev] [PATCH 0/2] lib/cryptodev: " Fan Zhang
2018-11-15 17:24 ` [dpdk-dev] [PATCH 1/2] cryptodev: change queue pair configure structure Fan Zhang
2018-11-16 12:05 ` Ananyev, Konstantin
2018-11-19 10:12 ` Zhang, Roy Fan
2018-12-04 16:05 ` Trahe, Fiona
2018-11-15 17:24 ` [dpdk-dev] [PATCH 2/2] cryptodev: change symmetric session structure Fan Zhang
2018-11-16 0:47 ` Ananyev, Konstantin
2018-11-16 14:32 ` Ananyev, Konstantin
2018-11-19 10:11 ` Zhang, Roy Fan
2018-12-11 10:34 ` [dpdk-dev] [PATCH v2 0/2] lib/cryptodev: change qp conf and sym session Fan Zhang
2018-12-11 10:34 ` [dpdk-dev] [PATCH v2 1/2] cryptodev: change queue pair configure structure Fan Zhang
2018-12-17 19:31 ` Trahe, Fiona
2018-12-11 10:34 ` [dpdk-dev] [PATCH v2 2/2] cryptodev: change symmetric session structure Fan Zhang
2018-12-17 20:29 ` Trahe, Fiona
2018-12-18 16:25 ` Zhang, Roy Fan
2018-12-18 16:32 ` Trahe, Fiona
2018-12-11 12:26 ` [dpdk-dev] [PATCH v2 0/2] lib/cryptodev: change qp conf and sym session Ananyev, Konstantin
2018-12-21 13:55 ` [dpdk-dev] [PATCH v3 0/2] cryptodev: " Fan Zhang
2018-12-21 13:55 ` [dpdk-dev] [PATCH v3 1/2] cryptodev: change queue pair configure structure Fan Zhang
2019-01-08 23:20 ` De Lara Guarch, Pablo
2019-01-09 11:30 ` Zhang, Roy Fan
2019-01-09 10:41 ` De Lara Guarch, Pablo
2018-12-21 13:55 ` [dpdk-dev] [PATCH v3 2/2] cryptodev: change symmetric session structure Fan Zhang
2019-01-08 16:12 ` Trahe, Fiona
2019-01-09 11:01 ` De Lara Guarch, Pablo
2019-01-09 11:10 ` Zhang, Roy Fan
2019-01-09 22:55 ` [dpdk-dev] [PATCH v4 00/12] cryptodev: change qp conf and sym session Fan Zhang
2019-01-09 22:55 ` [dpdk-dev] [PATCH v4 01/12] cryptodev: change queue pair configure structure Fan Zhang
2019-01-10 9:47 ` De Lara Guarch, Pablo
2019-01-10 11:24 ` De Lara Guarch, Pablo
2019-01-09 22:55 ` [dpdk-dev] [PATCH v4 02/12] cryptodev: add sym session mempool create Fan Zhang
2019-01-10 11:22 ` De Lara Guarch, Pablo
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 03/12] app/test-crypto-perf: use separate session mempools Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 04/12] net/softnic: " Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 05/12] examples: " Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 06/12] vhost/crypto: " Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 07/12] test/crypto: " Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 08/12] cryptodev: add sym session header size API Fan Zhang
2019-01-10 13:28 ` De Lara Guarch, Pablo
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 09/12] cryptodev: update symmetric session structure Fan Zhang
2019-01-10 13:06 ` De Lara Guarch, Pablo
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 10/12] cryptodev: add user data size to symmetric session Fan Zhang
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 11/12] cryptodev: add reference count to session private data Fan Zhang
2019-01-10 12:35 ` De Lara Guarch, Pablo
2019-01-09 22:56 ` [dpdk-dev] [PATCH v4 12/12] cryptodev: add opaque data field to symmetric session Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 00/12] cryptodev: change qp conf and sym session Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 01/12] cryptodev: change queue pair configure structure Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 02/12] cryptodev: add sym session mempool create Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 03/12] app/test-crypto-perf: use separate session mempools Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 04/12] net/softnic: " Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 05/12] examples: " Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 06/12] vhost/crypto: " Fan Zhang
2019-01-11 9:13 ` Maxime Coquelin
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 07/12] test/crypto: " Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 08/12] cryptodev: add sym session header size API Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 09/12] cryptodev: update symmetric session structure Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 10/12] cryptodev: add user data size to symmetric session Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 11/12] cryptodev: add reference count to session private data Fan Zhang
2019-01-10 14:50 ` [dpdk-dev] [PATCH v5 12/12] cryptodev: add opaque data field to symmetric session Fan Zhang
2019-01-10 15:06 ` Akhil Goyal [this message]
2019-01-10 17:18 ` [dpdk-dev] [PATCH v5 00/12] cryptodev: change qp conf and sym session De Lara Guarch, Pablo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b79ccbcf-f9e7-c8dd-0c09-8227d8d52b2a@nxp.com \
--to=akhil.goyal@nxp.com \
--cc=dev@dpdk.org \
--cc=fiona.trahe@intel.com \
--cc=pablo.de.lara.guarch@intel.com \
--cc=roy.fan.zhang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).