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 BF59FA00BE; Mon, 20 Dec 2021 11:27:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5CDE740040; Mon, 20 Dec 2021 11:27:45 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00050.outbound.protection.outlook.com [40.107.0.50]) by mails.dpdk.org (Postfix) with ESMTP id 8BC3D4003C for ; Mon, 20 Dec 2021 11:27:43 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HdyXePxnWqKd6PS05KHoUHZKgIObIh5rkNMhNAraaXGOSExLuY+RceSWJf8TRpNPENh2yt5wuiWkzEpglM7hJUJoujPLAMNEw3gPLptXfoNACabG657MuVADvKNeTHx9FVYKRmF3DCuVUZCCYQ3Zgk0r0UgxnBSkjXE/PxOilRtTASxEVmn/Hynyg+S53mE+bB1OOVOXtK6S+aluuQgbR9yr3aGmb/LpL4koHM7ar0DTgMimKsaDCPFk2gYwnsa1yISChUFZbSMsXfzapM/VCijIGQD47D9TDi0dhiJMPXN8vwFG6Nw73Y0vpup3bwl90igKyFs9tYaoj8eEckUUcw== 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=bvCyiqc693dmvI+C6m5C0QMlusT7Kg30BhAVCfE4ESfqZ7EbpamcWWRTy6mBdbsueALKJ8hUf3XVkJeDVxGDIirnIERSbp0weTdAt6Zu1Ct3a1fr3t5IlNGgBuiaLTYPCjWa2cC8s0wIocVtY5gMi+SW2lI8YoGpB+8Tx2eTecS6xeUitJ8VgJBt8ZTnlDMNTbp/597xqqcZm6YE+fabNg+PXizgAZlSwl/G0RjxVbyhnaamRlcdcQzHPme7ANVkZE/O8CNmN6SKRC8M/as1DGbVaDxh+6WljF/obqMKcBd1hix1xORhWwbC5HzBZJnguPji8g9K9LgVzcITQxEeKw== 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=JKtWTQRs7GwrNr5soKqRxAvd6NUK7D3rLUhdAqW3mwkfEsb1l9PlnzfVbBLsClmgWmf0qTLM1RFGEESsbb2639fcomyBkxcofphb2Hkwbie440KT7ZCvQ/4t04q1y7qQ7g8bXxWCzQBcI1tQZJ1uF3Ao6pceZbTiNziNZxlb73w= 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 AM6PR0402MB3703.eurprd04.prod.outlook.com (2603:10a6:209:19::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.20; Mon, 20 Dec 2021 10:27:41 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::71ab:27ce:856d:5aac]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::71ab:27ce:856d:5aac%4]) with mapi id 15.20.4801.020; Mon, 20 Dec 2021 10:27:41 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH 2/8] common/dpaax: change job processing mode for PDCP SDAP Date: Mon, 20 Dec 2021 15:57:04 +0530 Message-Id: <20211220102710.3083370-2-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211220102710.3083370-1-g.singh@nxp.com> References: <20211220102710.3083370-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0205.apcprd06.prod.outlook.com (2603:1096:4:68::13) 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: 27b03563-51ff-4a75-0274-08d9c3a35a49 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3703: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: JLRSoLy53SZV831P1ZM//YJ4gUXw9OC0rtcZJkm+EhLERwglhvkECe81KCLJjzXH7C3fnNnY/ylWna+cT0XiSj20QcpwwsPWYlOntijFqkzvdlEdpHQsdACdW9CGkjp6vTI/7s5mam9zWn93lrllzWvUh/+zJdhpx/jcfvgaXG8QPu1X+puRNpxyWJDh+Q3EzqTi0pD+R9i5iVz8ePKYA9323tpBVnzava/jufGccLKZTmbEsEYp7of8E5bKxkXGc2AAMKwaEbWZegkxlvpLZ7TwyD8sn/8TKg6MNuazkdCFtgTXQ+CZAdO6lOmth72onCFDg4lxpPkiIzkb4oAaT4rDXP+uxD81Td5weWAjoZ3LZRgI1q30I+XjE5KYd7t7wuMVX4UbBUot3+Ij/9Z62BBhH/qbyRLRK3s57YSVAcsuUd327z1OvKdi0B7JPJlyKa2UWAvi7zGGjpQ+XLI3xxecd7BaI1QC0YPIj0gXJId+FT4c5HScYKaP1YSHRxAu8ybN+V3wEJr9sAvtk4RtSiXdy1cQKZPRjLq3Ph8LnrPp0wKQRPOi5JcvTodXfvx5O8QnYXJUi/AIMzZnQZEtVNkhAWSqtWSXw8SdEMkd5Gy8RqdvFEYCOKM5EBsNJn4S9baNenx7kFIM89MTzBPtUzw6zOeg1WYGN0lmbEaxXIX8Hv/dZ0etKlEe4vRn2n5CKJOtofUHwhKt4tRZMa/KIw== 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)(83380400001)(5660300002)(38350700002)(8676002)(6666004)(38100700002)(316002)(55236004)(66556008)(186003)(66476007)(66946007)(2906002)(52116002)(26005)(6506007)(8936002)(86362001)(4326008)(6486002)(1076003)(2616005)(6512007)(508600001)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ynKFf6uu5uSV0xTTKSC5qFlXr0GUHMrTWwqFD3DXNHbae0gdvuufGs0sAl4a?= =?us-ascii?Q?oiYZyyjEVvx19ljvIxr5odFhHJnE3PdWihA1i0ZUl0+RofAPByHih9HGoV1u?= =?us-ascii?Q?rdTOClC/32W/qyKpQT/FFBOjNXE5B0CRpztG/zQcTy6K7101Qdmiyisp702h?= =?us-ascii?Q?seWCjr88FoLIcFTPrC1sYnobHcjp6ly4z1KbzaXXyhQ1prK/suEBD2oqt7lO?= =?us-ascii?Q?22AHIo7HOdZ48I1F1+bgnT3Q2Cz9LZJct8vXpkpjqRlo2tzqurIU9EeLsX0z?= =?us-ascii?Q?mQIm7DTx9CpGyNz8OpqTkvC7+x6iMUjjgCqdZH/WbKswv5kfCIYYYV7SUHwn?= =?us-ascii?Q?oZ0EedAP2vyiFAaPvuCOX8wqTsXmo5c+HMNFGdQ9ubJ4C1tuH5mvdUjNk3R0?= =?us-ascii?Q?iX+ROwKoNiS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1sJP?= =?us-ascii?Q?mfiRa28ZClGQK/7tBUOUt8RJIePEC8pUUPyXlQ6j8xSvi9LnFLzp977hJLYJ?= =?us-ascii?Q?bZEuAAFosrjjD4lHYKUiZWbWlOSeZ5Va5XKmS1iEYa68DDIz8Trr1argL6pA?= =?us-ascii?Q?AsKEC5jbskV0G/dbOfcl2J+fRbRCMy6ndiKm0ZAhUeXrLBPKgkxoglexjSn+?= =?us-ascii?Q?nkRKYJDqfdfpw/G076k58d1hNdeIjMeqHKP3nC7TBLw3YUyzgTa405JWyKyb?= =?us-ascii?Q?dk8SRWaEiap/UCf2iOw=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 27b03563-51ff-4a75-0274-08d9c3a35a49 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2021 10:27:41.4423 (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: hkRAD07HM2omu8WRhK2vWsSm70i1RvoOMla+fpqTxbO7yhV6iokWHL1kq1wsCSKS X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3703 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