[dpdk-dev] [PATCH v1 0/2] declare crypto asym xform immutable

Ayuj Verma ayverma at marvell.com
Wed Jul 24 10:52:43 CEST 2019


+Fiona.

________________________________
From: Ayuj Verma <ayverma at marvell.com>
Sent: 24 July 2019 14:21:55
To: akhil.goyal at nxp.com <akhil.goyal at nxp.com>
Cc: arkadiuszx.kusztal at intel.com <arkadiuszx.kusztal at intel.com>; Shally Verma <shallyv at marvell.com>; Sunila Sahu <ssahu at marvell.com>; Kanaka Durga Kotamarthy <kkotamarthy at marvell.com>; Anoob Joseph <anoobj at marvell.com>; dev at dpdk.org <dev at dpdk.org>; Ayuj Verma <ayverma at marvell.com>
Subject: [PATCH v1 0/2] declare crypto asym xform immutable

Mark asym xform as immutable till lifetime
of session. It will save session setup time for
PMDs, which doesn't require any manipulation of
xform data, by directly using these buffers.

* Updated xform type in session init/configure
  API as constant.
* Updated doc with proper transform description.
* Updated openssl PMD with above changes.

Ayuj Verma (2):
  lib/crypto: declare crypto asym xform immutable
  crypto/openssl: mark asym xform constant

 doc/guides/prog_guide/cryptodev_lib.rst      | 10 ++++++++++
 drivers/crypto/openssl/rte_openssl_pmd_ops.c |  8 ++++----
 lib/librte_cryptodev/rte_cryptodev.c         |  2 +-
 lib/librte_cryptodev/rte_cryptodev.h         |  2 +-
 lib/librte_cryptodev/rte_cryptodev_pmd.h     |  2 +-
 5 files changed, 17 insertions(+), 7 deletions(-)

--
1.8.3.1



More information about the dev mailing list