From: Akhil Goyal Date: Tue, 3 Aug 2021 12:01:12 +0000 (+0530) Subject: doc: announce hiding crypto session structures X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=eed159074e0e17dbd4971a0b9808f164c02acf5c;p=dpdk.git 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 --- 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.