]> git.droids-corp.org - dpdk.git/commitdiff
common/dpaax: change PDCP SDAP job processing mode
authorGagandeep Singh <g.singh@nxp.com>
Thu, 10 Feb 2022 10:58:47 +0000 (16:28 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Sat, 12 Feb 2022 11:10:43 +0000 (12:10 +0100)
For PDCP SDAP test cases, HW sec engine process the
jobs in WAIT mode.

Signed-off-by: Gagandeep Singh <g.singh@nxp.com>
drivers/common/dpaax/caamflib/desc/sdap.h

index f0e712093a44f6fe5463671f9c6278b8256585d2..07a544295e2df560495740489c3d2cd9d40991d6 100644 (file)
@@ -895,27 +895,27 @@ cnstr_shdsc_pdcp_sdap_u_plane(uint32_t *descbuf,
                        {
                                /* NULL */
                                SHR_WAIT,   /* NULL */
-                               SHR_ALWAYS, /* SNOW f9 */
-                               SHR_ALWAYS, /* AES CMAC */
-                               SHR_ALWAYS  /* ZUC-I */
+                               SHR_WAIT, /* SNOW f9 */
+                               SHR_WAIT, /* AES CMAC */
+                               SHR_WAIT  /* ZUC-I */
                        },
                        {
                                /* SNOW f8 */
-                               SHR_ALWAYS, /* NULL */
-                               SHR_ALWAYS, /* SNOW f9 */
+                               SHR_WAIT, /* NULL */
+                               SHR_WAIT, /* SNOW f9 */
                                SHR_WAIT,   /* AES CMAC */
                                SHR_WAIT    /* ZUC-I */
                        },
                        {
                                /* AES CTR */
-                               SHR_ALWAYS, /* NULL */
-                               SHR_ALWAYS, /* SNOW f9 */
-                               SHR_ALWAYS, /* AES CMAC */
+                               SHR_WAIT, /* NULL */
+                               SHR_WAIT, /* SNOW f9 */
+                               SHR_WAIT, /* AES CMAC */
                                SHR_WAIT    /* ZUC-I */
                        },
                        {
                                /* ZUC-E */
-                               SHR_ALWAYS, /* NULL */
+                               SHR_WAIT, /* NULL */
                                SHR_WAIT,   /* SNOW f9 */
                                SHR_WAIT,   /* AES CMAC */
                                SHR_WAIT    /* ZUC-I */
@@ -979,7 +979,7 @@ cnstr_shdsc_pdcp_sdap_u_plane(uint32_t *descbuf,
                SHR_HDR(p, desc_share[cipherdata->algtype][authdata->algtype],
                        0, 0);
        else
-               SHR_HDR(p, SHR_ALWAYS, 0, 0);
+               SHR_HDR(p, SHR_WAIT, 0, 0);
 
        /* Construct the PDB */
        pdb_type = cnstr_pdcp_u_plane_pdb(p, sn_size, hfn, bearer, direction,