Skip to content

declare crypto asym xform immutable

Ayuj Verma dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib/crypto: declare crypto asym xform immutabledoc/guides/prog_guide/cryptodev_lib.rst lib/librte_cryptodev/rte_cryptodev.c lib/librte_cryptodev/rte_cryptodev.h +1 more+13 -30 replies
2/2crypto/openssl: mark asym xform constantdrivers/crypto/openssl/rte_openssl_pmd_ops.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [dpdk-dev] [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(-)
Signature · 1 line
1.8.3.1