From: Hemant Agrawal Date: Wed, 13 Oct 2021 19:00:20 +0000 (+0530) Subject: cryptodev: add field for out-of-place in raw vector X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=68f5d3d320eff27dd4c3cc2f5ec2ffe85c8bb190;p=dpdk.git cryptodev: add field for out-of-place in raw vector The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal Acked-by: Konstantin Ananyev --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 5cdc91d7e5..cc57c07dcf 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -185,11 +185,6 @@ Deprecation Notices and ``rte_vhost_driver_set_protocol_features`` functions will be removed and the API functions will be made stable in DPDK 21.11. -* cryptodev: The structure ``rte_crypto_sym_vec`` would be updated to add - ``dest_sgl`` to support out of place processing. - This field will be null for inplace processing. - 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 diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst index ccc0e8aaed..6e1e6b2414 100644 --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst @@ -272,6 +272,9 @@ API Changes * cryptodev: The structure ``rte_crypto_vec`` was updated to add ``tot_len`` field to support total buffer length to facilitate protocol offload case. +* cryptodev: The structure ``rte_crypto_sym_vec`` was updated to add + ``dest_sgl`` to support out of place processing. + ABI Changes ----------- diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h index 1f2f0a572c..c907b1646d 100644 --- a/lib/cryptodev/rte_crypto_sym.h +++ b/lib/cryptodev/rte_crypto_sym.h @@ -72,6 +72,8 @@ struct rte_crypto_sym_vec { uint32_t num; /** array of SGL vectors */ struct rte_crypto_sgl *src_sgl; + /** array of SGL vectors for OOP, keep it NULL for inplace*/ + struct rte_crypto_sgl *dest_sgl; /** array of pointers to cipher IV */ struct rte_crypto_va_iova_ptr *iv; /** array of pointers to digest */