From eed159074e0e17dbd4971a0b9808f164c02acf5c Mon Sep 17 00:00:00 2001 From: Akhil Goyal Date: Tue, 3 Aug 2021 17:31:12 +0530 Subject: [PATCH] doc: announce hiding crypto session structures The structures rte_cryptodev_sym_session and rte_cryptodev_asym_session are not used by the application directly. The application just need an opaque pointer which it can attach to rte_crypto_op while enqueue. Hence, these structures can be internal to library hidden from the user. Signed-off-by: Akhil Goyal Acked-by: Anoob Joseph Acked-by: Jerin Jacob Acked-by: Matan Azrad --- doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 26051cc589..c46497dfcd 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -218,6 +218,11 @@ Deprecation Notices data length so that driver/HW can write expanded size data after encryption. This change is targeted for DPDK 21.11. +* cryptodev: Hide structures ``rte_cryptodev_sym_session`` and + ``rte_cryptodev_asym_session`` to remove unnecessary indirection between + session and the private data of session. An opaque pointer can be exposed + directly to application which can be attached to the ``rte_crypto_op``. + * cryptodev: The interface between library and drivers will be marked as internal in DPDK 21.11. -- 2.20.1