From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E43DA034D; Thu, 10 Feb 2022 11:59:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F5E8426DB; Thu, 10 Feb 2022 11:59:16 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60055.outbound.protection.outlook.com [40.107.6.55]) by mails.dpdk.org (Postfix) with ESMTP id 39414410E5 for ; Thu, 10 Feb 2022 11:59:15 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oXyzaENvpz2wovCGhQIeGkv6BgP+TTOfT0DQZf3ogM7td6fNJ802t1FCwkEIDqN69H/gnuhIxznjtOfBb8JkV9RFtITGKp8T/N2sWbwGberLH+ZsEsQ/xKxf+Y/aTzUMYnL/2CBD17iTDbpgdm//DIQRigNl0IU79AdRQyhJJKfYO0f5eysym9xu3hgVONZJkKE8kCqQtNR94+jwx5O2hfJixMgv34aA4BfJoGZXl6dvu132RK3a99H8zRZHPFU9klVEtjny6GgXNhEehhBYbd+oi83BdWip2mwr9B3AJMF1Oi1dgrM2UVq0soNu8fTUkzSP2Rhp44RI024qmUf18Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lIhVnV0IlrGZTDQSVF0LCELCU84X2uALMTyHhgtu1hE=; b=MAea63sA/IFUS6epVWoxLRv77MzoR4XEBANoFGFAVZWI/DbLumjvyicG6itInSOwoJMAKhuc7IJagpKSnLudXCFlYsovriC+T2thufT5amVgEskxlSxJ6ANhmIHcCFzr9uj5m3uICDqebYAa/sWThs5ibcZJmL5/lYOitMPu7XgfRM0xUGSYO3fI9F7WLvY3EiNpuXmkJV1igxnDFfjnkHnuL9J1QUnmaUeTL2h61xVg0WZysbXTO/Nz1rLiCZSUJDB8hnR0LaodyVPeUPg8m+r2KjzNXvNs4NSNUVEHRvq9oXKGAs0RR61eOFLau+ZuN+beTe1DJLiszS4lrlX53A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lIhVnV0IlrGZTDQSVF0LCELCU84X2uALMTyHhgtu1hE=; b=Qbf3nCqZvkCmTfDW4ASiJAukCr/4hLzL8eK7nPezmfe39nNiWm2ixzB/Ram7Ta9bgCKWb+uRmPYHFaGVzA+cTQHjkBXQoXxUyWcwgef6ocoed8ToeIszXb5UQ/3ySJ8RGWoGeA1+Hc5ErlmxF7SLuntHJ4UMeTvOzGa+F4apgsU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AM6PR04MB4294.eurprd04.prod.outlook.com (2603:10a6:209:4a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Thu, 10 Feb 2022 10:59:14 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4146:965b:5645:9269]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4146:965b:5645:9269%4]) with mapi id 15.20.4975.011; Thu, 10 Feb 2022 10:59:14 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH v4 2/7] common/dpaax: change job processing mode for PDCP SDAP Date: Thu, 10 Feb 2022 16:28:47 +0530 Message-Id: <20220210105852.1268506-3-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220210105852.1268506-1-g.singh@nxp.com> References: <20220210043136.304845-2-g.singh@nxp.com> <20220210105852.1268506-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0092.apcprd03.prod.outlook.com (2603:1096:4:7c::20) To AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d9e7f212-821f-4086-c7c8-08d9ec846022 X-MS-TrafficTypeDiagnostic: AM6PR04MB4294:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1388; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mb1klc0zCINqoS6cmxSJFcmLHcUnNy3L16/Urhg0gP0YdnjHA9z+2j/Re3MPiI1bEeLzHcMfKkY94yWT4QNdDaWKJDflFImL6FLPsAGcjD2F37EVvK87sx+3LH71B8taIaRJ+cvGOr/AW1QRpyT5Mcrhc6GvtmEfjNIPRAHK2t+Qd8U3Za2Nr+SvMQx40qK8MLc2kcRclwfSdpBBrqp2vrbXAwCjdaFDigOijeIJYQJPQIwcH2h8OKbAFz9eM4Od0Xrmb64cOKYD2E3/qAtRLg0F66Hb2G+1VDVxa/ICQDZcmhLeYY9cYWIa3cX3Y32cb9a4YB0SptKmGIPv/WGFpYGiqw4sWayFRhejKUta8lB5niXnOUtgGZhZZ/ml+hTmNcpEJ823LYId/FxRwHe4rR7BN4cvAQJsXgKKenMPXE8UBNlpcsiUrZybAw/Z4ZxRthmKFGPsZgO3eNyBPQjBhVUvrlgbRJ/s0vDOxiak28oIeXBpUMS7nFktrFGg1GUiPLcr+oUlHVWFiQ7PnIA0X2xFzz+B3S8qpk3+LcJuYbYeR3oeb/hzFzaxWBEAml5jFgffkwtbg2YulaUgrbx0NjC6LVm7MfJHCcj5j8JiqsWDPwT2QsT7z1Wxe9fUmrLnb0x0mqCoF7H/4dHAQdibBxRn+8upheuneG5rGPdmJZkhbQKStUX25Ih9xpirqkvIba9iB6Wevl/QS+MIsJfFKg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(6666004)(1076003)(186003)(86362001)(6486002)(26005)(316002)(508600001)(66556008)(4326008)(66476007)(8676002)(66946007)(2906002)(5660300002)(2616005)(8936002)(6512007)(55236004)(36756003)(83380400001)(38350700002)(38100700002)(52116002)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?8qT5zbdV5Phj419yXq0pBX4t5h5yAVDF4/TnQ8X6TK/a8Bx+VK5WLc+KjBjH?= =?us-ascii?Q?heFc88e795PbRSthTndxKs09oMYT5Lb+P8uJJmUgV5oHsRE4520PP7j4rcLp?= =?us-ascii?Q?p07Hpo9ifz4cpOs/Vei+glLgF5DOjqbuovxRSJ6KHusmNB8mizLbE08NVLxd?= =?us-ascii?Q?NyKQtXHq0aMnBeygPJHcaRHunefWceZFNgiU7DAYlkYwHq9t6obpcqXx2gNU?= =?us-ascii?Q?yM1jevUNyuUggvsZSp+OBxrFRnhmW8Q5PZvvkRzixBI5ilCG1Z4IgrYyDtvA?= =?us-ascii?Q?V8RKCDyRngyw1NVz7buNCZI4pWkg3LwmKoGLhZQTSLwNe14WNfXaam+F3fj1?= =?us-ascii?Q?pWTHwMFbAHjApQPf42YDWg4vk/71pi2IjSO3PA+bwd+pag6lV6ZAJboBbbIt?= =?us-ascii?Q?Gv8xsDoq9EPGcZou5rAfcGe6++mv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NxPFBQ8bzSHsOZjP05tX40ImSyMVYSeLJkUwshxtrt7GF/ZpUZX8hm2N?= =?us-ascii?Q?UwKh3NEpmOwz/3E3fihuH0kD55UThIlkCnTdJvq7kXU1P0K8XkwSVFHf3h5k?= =?us-ascii?Q?LO++UaxijL73dcGMjmTUhLV3VF2/vJtFIx46xZDhVCQXpB11v+OXqMj4Pqcy?= =?us-ascii?Q?Q3olSud8gc1Lmm8xSlCRkekU9wNArj5WETzqIEhTNURV9ft25sDHnoLoFpJq?= =?us-ascii?Q?Iy/+OIB8pH7t6RuNSMM=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d9e7f212-821f-4086-c7c8-08d9ec846022 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2022 10:59:14.4385 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ZmleSNIK2urcMvwVEak2NotCOl5wDFMBfuzodfwfAZKpHZv0uvcM7+nWOnrW4e7b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4294 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org For PDCP SDAP test cases, HW sec engine process the jobs in WAIT mode. Signed-off-by: Gagandeep Singh --- drivers/common/dpaax/caamflib/desc/sdap.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/common/dpaax/caamflib/desc/sdap.h b/drivers/common/dpaax/caamflib/desc/sdap.h index f0e712093a..07a544295e 100644 --- a/drivers/common/dpaax/caamflib/desc/sdap.h +++ b/drivers/common/dpaax/caamflib/desc/sdap.h @@ -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, -- 2.25.1