doc: announce crypto op struct changes

Message ID 1627902685-130-1-git-send-email-anoobj@marvell.com (mailing list archive)
State Accepted, archived
Headers
Series doc: announce crypto op struct changes |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/github-robot success github build: passed
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-testing success Testing PASS
ci/iol-spell-check-testing warning Testing issues
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-abi-testing success Testing PASS
ci/iol-x86_64-unit-testing fail Testing issues
ci/iol-x86_64-compile-testing success Testing PASS

Commit Message

Anoob Joseph Aug. 2, 2021, 11:11 a.m. UTC
  One reserved byte in rte_crypto_op struct would be used to indicate
warnings and other information from the crypto/security operation. This
field will be used to communicate events such as soft expiry with IPsec
in lookaside mode.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
---
 doc/guides/rel_notes/deprecation.rst | 5 +++++
 1 file changed, 5 insertions(+)
  

Comments

Akhil Goyal Aug. 2, 2021, 12:36 p.m. UTC | #1
> One reserved byte in rte_crypto_op struct would be used to indicate
> warnings and other information from the crypto/security operation. This
> field will be used to communicate events such as soft expiry with IPsec
> in lookaside mode.
> 
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>
> ---
Acked-by: Akhil Goyal <gakhil@marvell.com>

@Konstantin Ananyev: Could you Ack this notice, it is as per our discussion.
  
Ananyev, Konstantin Aug. 2, 2021, 9:18 p.m. UTC | #2
> One reserved byte in rte_crypto_op struct would be used to indicate
> warnings and other information from the crypto/security operation. This
> field will be used to communicate events such as soft expiry with IPsec
> in lookaside mode.
> 
> Signed-off-by: Anoob Joseph <anoobj@marvell.com>
> ---
>  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 6a35c76..b5f50a4 100644
> --- a/doc/guides/rel_notes/deprecation.rst
> +++ b/doc/guides/rel_notes/deprecation.rst
> @@ -151,3 +151,8 @@ Deprecation Notices
>  * security: The functions ``rte_security_set_pkt_metadata`` and
>    ``rte_security_get_userdata`` will be made inline functions and additional
>    flags will be added in structure ``rte_security_ctx`` in DPDK 21.11.
> +
> +* cryptodev: The structure ``rte_crypto_op`` would be updated to reduce
> +  reserved bytes to 2 (from 3), and use 1 byte to indicate warnings and other
> +  information from the crypto/security operation. This field will be used to
> +  communicate events such as soft expiry with IPsec in lookaside mode.
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>

> 2.7.4
  
Hemant Agrawal Aug. 3, 2021, 6:52 a.m. UTC | #3
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
  
Thomas Monjalon Aug. 4, 2021, 4:31 p.m. UTC | #4
02/08/2021 14:36, Akhil Goyal:
> > One reserved byte in rte_crypto_op struct would be used to indicate
> > warnings and other information from the crypto/security operation. This
> > field will be used to communicate events such as soft expiry with IPsec
> > in lookaside mode.
> > 
> > Signed-off-by: Anoob Joseph <anoobj@marvell.com>
> > ---
> Acked-by: Akhil Goyal <gakhil@marvell.com>

Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

Applied, thanks.
  

Patch

diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 6a35c76..b5f50a4 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -151,3 +151,8 @@  Deprecation Notices
 * security: The functions ``rte_security_set_pkt_metadata`` and
   ``rte_security_get_userdata`` will be made inline functions and additional
   flags will be added in structure ``rte_security_ctx`` in DPDK 21.11.
+
+* cryptodev: The structure ``rte_crypto_op`` would be updated to reduce
+  reserved bytes to 2 (from 3), and use 1 byte to indicate warnings and other
+  information from the crypto/security operation. This field will be used to
+  communicate events such as soft expiry with IPsec in lookaside mode.