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. v3: - Added documentation in relevant patches. - Fixed setting user data size. - Fixed hiding structure, it should not be hidden from PMDs. - Fixed some other small formatting issues. - Increased size of max_priv_session_sz to uint16_t. - Removed trace for asym session init function that was previously removed. 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 | 316 ++++++------------- doc/guides/prog_guide/cryptodev_lib.rst | 83 ++--- doc/guides/rel_notes/release_22_03.rst | 13 + drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +- drivers/crypto/cnxk/cn9k_cryptodev_ops.c | 6 +- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 11 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 29 +- drivers/crypto/openssl/rte_openssl_pmd.c | 5 +- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 23 +- drivers/crypto/qat/qat_asym.c | 53 +--- lib/cryptodev/cryptodev_pmd.h | 32 +- lib/cryptodev/cryptodev_trace_points.c | 6 +- lib/cryptodev/rte_cryptodev.c | 217 ++++++++----- lib/cryptodev/rte_cryptodev.h | 114 ++++--- lib/cryptodev/rte_cryptodev_trace.h | 26 +- lib/cryptodev/version.map | 7 +- 17 files changed, 451 insertions(+), 518 deletions(-) -- 2.25.1