DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ciara Power <ciara.power@intel.com>
To: dev@dpdk.org
Cc: roy.fan.zhang@intel.com, gakhil@marvell.com, anoobj@marvell.com,
	mdr@ashroe.eu, Ciara Power <ciara.power@intel.com>
Subject: [PATCH v2 0/4] crypto: improve asym session usage
Date: Mon, 24 Jan 2022 15:03:35 +0000	[thread overview]
Message-ID: <20220124150339.280090-1-ciara.power@intel.com> (raw)

This patchset includes improvements for the asymmetric session.
The main change is to the session structure, which is now a single buffer,
rather than having pointers to private data elsewhere.
This session structure is now hidden in an internal header,
so the app will never use it directly.

Some other changes include adding a user data API, and modifying
the return value for the create session function.

---
Documentation will be added in a future version, along with
further changes from v1 feedback (IOVA address), if required.

Ciara Power (4):
  crypto: use single buffer for asymmetric session
  crypto: hide asym session structure
  crypto: add asym session user data API
  crypto: modify return value for asym session create

 app/test-crypto-perf/cperf_ops.c             |  22 +-
 app/test/test_cryptodev_asym.c               | 306 ++++++-------------
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c    |   6 +-
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c     |   6 +-
 drivers/crypto/cnxk/cnxk_cryptodev_ops.c     |  15 +-
 drivers/crypto/cnxk/cnxk_cryptodev_ops.h     |   4 +-
 drivers/crypto/octeontx/otx_cryptodev_ops.c  |  33 +-
 drivers/crypto/openssl/rte_openssl_pmd.c     |   5 +-
 drivers/crypto/openssl/rte_openssl_pmd_ops.c |  27 +-
 drivers/crypto/qat/qat_asym.c                |  57 +---
 drivers/crypto/qat/qat_asym.h                |   4 +-
 lib/cryptodev/cryptodev_pmd.h                |  38 ++-
 lib/cryptodev/cryptodev_trace_points.c       |   3 +
 lib/cryptodev/rte_cryptodev.c                | 216 ++++++++-----
 lib/cryptodev/rte_cryptodev.h                | 114 ++++---
 lib/cryptodev/rte_cryptodev_trace.h          |  18 +-
 lib/cryptodev/version.map                    |   6 +-
 17 files changed, 406 insertions(+), 474 deletions(-)

-- 
2.25.1


             reply	other threads:[~2022-01-24 15:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-24 15:03 Ciara Power [this message]
2022-01-24 15:03 ` [PATCH v2 1/4] crypto: use single buffer for asymmetric session Ciara Power
2022-01-27 11:03   ` Zhang, Roy Fan
2022-01-24 15:03 ` [PATCH v2 2/4] crypto: hide asym session structure Ciara Power
2022-01-27 11:04   ` Zhang, Roy Fan
2022-01-24 15:03 ` [PATCH v2 3/4] crypto: add asym session user data API Ciara Power
2022-01-27 11:05   ` Zhang, Roy Fan
2022-01-31 14:46   ` [EXT] " Anoob Joseph
2022-01-24 15:03 ` [PATCH v2 4/4] crypto: modify return value for asym session create Ciara Power
2022-01-27 11:06   ` Zhang, Roy Fan
2022-01-31 14:35   ` [EXT] " Anoob Joseph

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=20220124150339.280090-1-ciara.power@intel.com \
    --to=ciara.power@intel.com \
    --cc=anoobj@marvell.com \
    --cc=dev@dpdk.org \
    --cc=gakhil@marvell.com \
    --cc=mdr@ashroe.eu \
    --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).