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 BAB6AA034F; Tue, 28 Dec 2021 10:11:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D1AB1410F4; Tue, 28 Dec 2021 10:11:29 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10045.outbound.protection.outlook.com [40.107.1.45]) by mails.dpdk.org (Postfix) with ESMTP id 4C198410F3 for ; Tue, 28 Dec 2021 10:11:29 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVtqDCUx+IOacP7NBKwIFJS8zIaPtdYQTenTQGbZOZxRArdJHhgT7gbZLeGjB/L1Zv8NZmpkmptQ8JE5ExQq/qwf2iHMIceZWr3bh6AriYFJ6GsxnvYPrThPZt1DvFLUELH4oQKROJAxvopwHFnZAcgSlcD2BoI6n2Q9V7tXrog6cm8Xo3tPmFf6hc5GPjHP7RkLWJXbrPpXQv3YybHmzkrBy0QGRT671y2/nbiT4t1nX4Gtq70bZXueMrjGJEX/XVV06Rke7NybeagiQgncCL27K1PNK/2Z5AGW+Hv2nUAZrYaW/N4efqhV9JxKyCGebU2LU72dlwH8AUHXLqIohA== 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=0urMefVnJhWMUGI9opCSKmD95G8+VDRlnfOHRGeSpL4=; b=ketLTzlQhOfNOCdFfCeqfD0kV+wYofEfUIyLeRa+/Q+I5JUXqxGRnf2XGAuMxUZryreyce2ncsB46yQ9TZ4oVp1yLb08bEAJDeD41P2eC2uV5lk9I2VV/e/lryr18rzYWsvgQTZc3Tf4KiNjE/PNNMZWa5GYXJq/HmYqxcbU3eZM2gvvNXJ/CXsXdeqNwZv9M3euJfKpHIbDVhPr6X5BaqhLN9T+O4sIjXhbnwbEHnLaWnNvnOMQohl0wJhueXQu45KKV1n3Q/gAdr7kExofEILzn4U1ny8vKP8hYrfbn1jCVYlVFGdYWIlbrqKYc31J5bXDNAQc0BINvoNqpUGRng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; 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=0urMefVnJhWMUGI9opCSKmD95G8+VDRlnfOHRGeSpL4=; b=bzBf1TbbMPQnCGqLV+crJsq+lE08O313/kAPbouH6JYhvy4XNlcuX8+qEOOpIINVnjHuB0DLoOPnMdGnfWyAZgtATqgudSAzkjwtTzI+EH5Jybvaf4rIjLBach1v2pN4Agk28va41zI7GbaJnZdvLBV70s1P280Jr4OduZAIxUI= 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 AM6PR04MB6135.eurprd04.prod.outlook.com (2603:10a6:20b:bf::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.21; Tue, 28 Dec 2021 09:11:27 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4c23:c171:682e:9085]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4c23:c171:682e:9085%4]) with mapi id 15.20.4823.023; Tue, 28 Dec 2021 09:11:27 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH v2 2/8] common/dpaax: change job processing mode for PDCP SDAP Date: Tue, 28 Dec 2021 14:40:52 +0530 Message-Id: <20211228091058.3620177-3-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211228091058.3620177-1-g.singh@nxp.com> References: <20211220102710.3083370-1-g.singh@nxp.com> <20211228091058.3620177-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0118.apcprd06.prod.outlook.com (2603:1096:1:1d::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: 50630648-5161-4c56-145c-08d9c9e20748 X-MS-TrafficTypeDiagnostic: AM6PR04MB6135: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: EfjYxznc3zY98f5YqKt5ZOKkCvilfHtn49/wJFiK27hPBArFWocTYOIlgyMkR/JZ5yizsKngzQO+wjmfKuQV/UP+xLqaCqVzdoRKd886L24byLc9tygIQxWhLEkeEMzbEg367D2VMn5MxteWRLjM1sz+6feLwFlvkliK46ycjJOLKNKilehfr9/iR+G0WTRC/cBuehcMXYQdWLbBxkNqyWeJfxRaWouVXSO/VPbXmqH0Vhc/l5FqsEDd7Dzx3hIIVep8KYJcw/0529fDuvJTm85aqT2YOZVSYCw7V6ayieoaaEvcPo2NSfVzcopAa5HvBU5HweL5Rm1ztbsOT1FndVXLUhtEIlep04dU4EVE1eWzKPrUcgdx+m1ptl0l1XSeQsOSHuIHYf+8Rs3O6E5T/mRjcjdJwVH6tSiv7VvDHfHToX0P39tGUREvD0dRiAZLsEvTY+kbNbo7yTZ3uoWlbwM3Uoq9fzUvVBmMAJNeIeeM800xEW8dkjNNPy+Yegt++rsC42NZ+uQiJftYjYzyWDG2RXUVgIAmaC7MIJcb9IEz+LkT/nhsg53LCkrbl4tRM29C4L2t7SC5T8FV+XNqx/vckiUycd2/6BKNVIhH/b4LpN6JmUp1+5+v1ppF2VErO0nt7zH/uZErJz7BKHIGAh75Cltxk3ysGxOGUPKuUuSCP4Ayp7gck5gPvU/0clsEdMR0WR8APNuxVu2ILphjbw== 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:(4636009)(366004)(316002)(8676002)(2616005)(6486002)(4326008)(6506007)(66556008)(66476007)(6512007)(6666004)(55236004)(38100700002)(38350700002)(36756003)(52116002)(83380400001)(2906002)(1076003)(66946007)(86362001)(26005)(5660300002)(8936002)(186003)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?32qQSgtqM0wCBRgQZVdtDrIrm9PC1bnogNYncv3RtPzeCVVwprSYqqSKwo3A?= =?us-ascii?Q?B/KSqU6d/4St1GoDrRsHLixwho4zXzC35BdvqG9wGY1ETVGtacroPfbPlU9/?= =?us-ascii?Q?JzIcYDOu0GBEtZ1RdKIxLvbV2JKYjCb/6MQ4lLUi25oUm0YbMdXXEqbSrwCr?= =?us-ascii?Q?Y3LQ5khinUEAzeKKtshHE3lafY5TKcAeYhnuHd34z9rGRndOXl4DZ1NV6PU2?= =?us-ascii?Q?XfUe0dszOeCDMF3e5yp3gR9pNYtCMmXhIEf66iHyZdCDE+RKd91QjT4ra7hr?= =?us-ascii?Q?EKxWPCA1Xvr/tsLN389skXMIr2I2IjYijUx//qL68mVnA4PuP7oHSrK0u7hj?= =?us-ascii?Q?QxOKaHcboC7omJPxBT991jX6Xuw2KoQ70BlTBO47U8cQKyFU+lC9jA7Me1pk?= =?us-ascii?Q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oz7h/LeqRHBsZ?= =?us-ascii?Q?CJy+GjDZUmSbSpYBQuc0rM7OY8uLenI2U3/u9jHN22p/NkbyxQBfA309HYWQ?= =?us-ascii?Q?QQ+rCKWaLkvE927pO8XaW3+Ao139SnBmLK2TKfpjZgreTNiMvEcRo231yCXd?= =?us-ascii?Q?SO2sM5AQT5oOacUMwyinS5+WdNkzPgOTzD5xm5DuLOxtdbzbhB0jYQfWDWGC?= =?us-ascii?Q?ypbubSeS1QjHF00viCYBaJYMH9x0VBQIHyugCzh8R3dqMhSdxl67srTlIUM+?= =?us-ascii?Q?gVqoPH+99H4B9T+S2C4=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 50630648-5161-4c56-145c-08d9c9e20748 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2021 09:11:27.4404 (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: LBKszJAFcqvnZwMeXfVVg99e0cwYc5QPanmwJecPcKWfTsvDZK25ySkckENdlFOu X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6135 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 ee03e95990..1737e14fa6 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