From: Gagandeep Singh <g.singh@nxp.com>
To: dev@dpdk.org, Hemant Agrawal <hemant.agrawal@nxp.com>,
Sachin Saxena <sachin.saxena@nxp.com>
Subject: [PATCH 04/11] common/dpaax: caamflib change desc sharing mode
Date: Wed, 3 Jul 2024 15:56:42 +0530 [thread overview]
Message-ID: <20240703102649.3096530-5-g.singh@nxp.com> (raw)
In-Reply-To: <20240703102649.3096530-1-g.singh@nxp.com>
Updating sharing mode for aes-aes and null-aes
pdcp test cases to SHR_ALWAYS.
This patch avoid Invalid key SEC err issue.
Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
---
drivers/common/dpaax/caamflib/desc/pdcp.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/common/dpaax/caamflib/desc/pdcp.h b/drivers/common/dpaax/caamflib/desc/pdcp.h
index 0ed9eec816..bc35114cf4 100644
--- a/drivers/common/dpaax/caamflib/desc/pdcp.h
+++ b/drivers/common/dpaax/caamflib/desc/pdcp.h
@@ -2349,7 +2349,7 @@ cnstr_shdsc_pdcp_c_plane_encap(uint32_t *descbuf,
{ /* NULL */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* SNOW f8 */
@@ -2361,7 +2361,7 @@ cnstr_shdsc_pdcp_c_plane_encap(uint32_t *descbuf,
{ /* AES CTR */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* ZUC-E */
@@ -2489,7 +2489,7 @@ cnstr_shdsc_pdcp_c_plane_decap(uint32_t *descbuf,
{ /* NULL */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* SNOW f8 */
@@ -2501,7 +2501,7 @@ cnstr_shdsc_pdcp_c_plane_decap(uint32_t *descbuf,
{ /* AES CTR */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* ZUC-E */
@@ -2654,7 +2654,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf,
{ /* NULL */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* SNOW f8 */
@@ -2666,7 +2666,7 @@ cnstr_shdsc_pdcp_u_plane_encap(uint32_t *descbuf,
{ /* AES CTR */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* ZUC-E */
@@ -2839,7 +2839,7 @@ cnstr_shdsc_pdcp_u_plane_decap(uint32_t *descbuf,
{ /* NULL */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* SNOW f8 */
@@ -2851,7 +2851,7 @@ cnstr_shdsc_pdcp_u_plane_decap(uint32_t *descbuf,
{ /* AES CTR */
SHR_WAIT, /* NULL */
SHR_WAIT, /* SNOW f9 */
- SHR_WAIT, /* AES CMAC */
+ SHR_ALWAYS, /* AES CMAC */
SHR_WAIT /* ZUC-I */
},
{ /* ZUC-E */
--
2.25.1
next prev parent reply other threads:[~2024-07-03 10:27 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-03 10:26 [PATCH 00/11] DPAA and DPAA2 crypto specific fixes Gagandeep Singh
2024-07-03 10:26 ` [PATCH 01/11] common/dpaax: caamflib: fix PDCP-SDAP wdog DECO err Gagandeep Singh
2024-07-03 10:26 ` [PATCH 02/11] common/dpaax: caamflib: fix PDCP AES-AES " Gagandeep Singh
2024-07-03 17:25 ` [EXTERNAL] " Akhil Goyal
2024-07-03 10:26 ` [PATCH 03/11] crypto/dpaa: fix SEC err due to an wrong desc Gagandeep Singh
2024-07-03 10:26 ` Gagandeep Singh [this message]
2024-07-03 10:26 ` [PATCH 05/11] crypto/dpaa_sec: improve return value for retired queues Gagandeep Singh
2024-07-03 10:26 ` [PATCH 06/11] crypto/dpaax_sec: improve non-supported algo logs Gagandeep Singh
2024-07-03 10:26 ` [PATCH 07/11] crypto/dpaa2_sec: adding session update API support Gagandeep Singh
2024-07-03 10:26 ` [PATCH 08/11] crypto/dpaa2_sec: add a check on nb desc Gagandeep Singh
2024-07-03 10:26 ` [PATCH 09/11] crypto/dpaa2_sec: initialize the authdata Gagandeep Singh
2024-07-03 10:26 ` [PATCH 10/11] crypto/dpaa2_sec: initialize esp sequence number Gagandeep Singh
2024-07-03 10:26 ` [PATCH 11/11] crypto/dpaa2_sec: fix issue of user ctxt for Event queue Gagandeep Singh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240703102649.3096530-5-g.singh@nxp.com \
--to=g.singh@nxp.com \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=sachin.saxena@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).