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 B9239A00C2; Thu, 10 Feb 2022 05:32:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F54041155; Thu, 10 Feb 2022 05:32:05 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2069.outbound.protection.outlook.com [40.107.21.69]) by mails.dpdk.org (Postfix) with ESMTP id A969B4114A for ; Thu, 10 Feb 2022 05:32:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A776iV/E4cbpTi65GmrxdI6n42ZmXkEW14IcRHAoNpGRX9SxhOhiDMOLu7SN0C0gQT5Gqpo9FiOx2CqDoEq0O0nr7xlzL07RTSHDJZ56RT9fCHdrv8cWsJQ5aoHaYpIJJ93F2nb4nFJuKx75XNnpFI8OgIDBSV/hGvb82UNbUwvBZC6vkGI4PSQvazD9Ui4kqg6PZKSsVOw37Pebgz+YFuke+6iSorEL3khlEZKhcn/luqYwt03tI8j7iJlf/WOSxbxmNj5rvlIhGCWj+RRhwXbIMDLqAabd/5FQ1EoY0Vx7toRDuIoDNHybg8iJtUXf/ljj3B+aR6IAfRxvNgWPLQ== 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=OZb93pZCQaXRwQnOUpPtsiS4OAYgBagJJJnYtVL0fw7WhC53qzpP14RkukSHINwWV36/BPH9eAOiBDXZ6FpusCGpQb06ZtHzN5spZqfT8yCYwo76OCkuUu16AqY5lZ7Fr6KKyzrVDnEr+zB8bp47dNpZMjMGJ6IdPNAVl8zlg62vo1A962qYHtrXl3LQZSAXd4ssqUh3ttBddUcqI7lTbFAqennUvhbfiMQDxK2R5MUgxPglV+wDbyn7pwHsU85zPsAmbXztWw6A7P2A8NkZ4SqpucLKMkJa+TC7j6MWxf1l4ZNcGzT6JzPl0GC8Uh+0ctSGl60jIGutVcnRXadVlA== 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=0urMefVnJhWMUGI9opCSKmD95G8+VDRlnfOHRGeSpL4=; b=rXQVq7NKJKTDa0OBPxdSuqQDpoTO3aCGXwRHoIQM6jFFWf59PXwIWye3FBFoQM7F7n4ilthY1Q9/qxn8KqJZwdVEXeN9meuyL/fNIs1tSYR3+8dc/ARHI2AYsKj/EiDmfP/NhLrqRrfyeI+H94Pfe7mumla3p9Y/2xWzZruHA/A= 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 DBBPR04MB6106.eurprd04.prod.outlook.com (2603:10a6:10:c5::20) 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 04:32:02 +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 04:32:02 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH v3 2/7] common/dpaax: change job processing mode for PDCP SDAP Date: Thu, 10 Feb 2022 10:01:31 +0530 Message-Id: <20220210043136.304845-3-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220210043136.304845-1-g.singh@nxp.com> References: <20211228091058.3620177-2-g.singh@nxp.com> <20220210043136.304845-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG3P274CA0003.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::15) 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: 3cfed89b-5b13-493b-aa7e-08d9ec4e48d5 X-MS-TrafficTypeDiagnostic: DBBPR04MB6106: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: q++lt8vNgaa5qhxWbPgkaXDdL7HJPGH7bVM78z8o85y0p/MsuZLVdJ0KtJUIEv5wmSSl5qWY+SqDCDwOIIEzxNYI64OVcy4FL+UOyZXDUo5i75vcG0uK+dRQEyqGjhOIMCO5m/VHci5fjUP1/taVs/EKAEqqu5B3P+O1fR7NeCNXtqTiR2KYDiCwBVUZUMkXeXPZ/+u+62rn4ezS3tintOm53s6XLE7L0B2xWxVn1f6l5sAidwN4CATxVncTAQoNmxbzN8PWTVxO3PBaJw9CeAX+ECoUWckC7RRY681ruXF25p1QpCNiiMwRPnCjVkygYs8CWXdLF6SZzDs0rN1dVq14S/JLqtNDnOMcxGYI0jboa5410iHSKKxnHl1o3dz1czZuwX29uPKiXx0lt7GviXybSTzZwA5E5Q4WlVYhYtFAe9q5vflkNUpD9ASWrWKsn0E/2kv+4+EMDdE/RiQYhyHlS7oiR0LFBTSLf77GQ4OIYuMwsQzO405cMtEDNNA/hC3xEndvOcWbHXIVEiENK/AJTyEoY98mtVbwr6kcuXU1uxmzawmeLbBKq9SIZjCAVS8jjUQMWez/f5SSnnqXl0SAonNo9afvOJmagXlPFm/l7UaR789stby5z3A9EMeHmHGz1u9oaYkLsdPHfLqy6tU/YmJJf6JAAMP/w89KJC5Rnc2fOh5Q/Jqx+JpHJuWxbYpBXNymNmwLQx2v4rKneg== 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)(66556008)(6486002)(316002)(66946007)(4326008)(66476007)(8676002)(508600001)(36756003)(86362001)(38350700002)(38100700002)(1076003)(186003)(55236004)(52116002)(6512007)(2616005)(6666004)(26005)(6506007)(83380400001)(5660300002)(8936002)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?SM2IlHrnilAqOI3RV1kfarwlADU8CLjmdGdgkN6aY+bTtfdeX3b77qTs9dIY?= =?us-ascii?Q?K4m70fLamGloSLGBp5XTPYTtugvLIzwk9ARgVS/ijGQSGK5HeSNP+8XdPlsH?= =?us-ascii?Q?/0ylgQ68+tFNNFJle27HnRcaP5g7fVcbzprxnYAnXNzKEptyvFKRBgh9DGFV?= =?us-ascii?Q?S51wE+CCpSOHatQNDyl0DQFxgTT9sh2j5Z5N5GazkDrsSOK7TZAwvGgUHlkc?= =?us-ascii?Q?F/35kg62iY4e2TmEjkW2RSgniPlcSW+8L43K+Gay2Cv/MR2897S/xQFez/AQ?= =?us-ascii?Q?Nhths0v8wK4FcVbWqC0+aR71NQ7n2tIMMA2SSQTm/LwYkAUBnRwjwu69SwtN?= =?us-ascii?Q?ztj1SBcysmDdd+TEsX8ZASVYCdX508J6qwr+YuX4jYl2zCmhCvJqfV0IeHmS?= =?us-ascii?Q?mhUkhO8r+G0dWB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?us-ascii?Q?A7zheKlkXwJbk9Aghp7n4rXaxHAiso/7DD5iGi1Z+MCcXxeXsnuYE6H076r5?= =?us-ascii?Q?3cH2Qq43mwT5q0dQ5K243rd5TMfXo0kmU2+ec+hLCklG8saCUT5v82io5NmF?= =?us-ascii?Q?p35491WRCNHeJrU3Fz2Q7YvhdMeTxumPCaDRxdjaj7n7io6t6XjTno2OMrYw?= =?us-ascii?Q?p/9ab3SdUyyDVI8k+WfBxUhP9Ur8Lk99gRETPYvub+Pd7r0vb93YQT3E++9w?= =?us-ascii?Q?MToH2JwrOzuvfbU1a4k=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3cfed89b-5b13-493b-aa7e-08d9ec4e48d5 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2022 04:32:02.5847 (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: 5POwOxtvVnh2J/5mXUnrYqBMRSMzXiEQzlPqZj2Lc5oyL2h/Za+34YH6/a2sGYqf X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6106 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