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 DCD4FA00C2; Thu, 10 Feb 2022 05:32:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C7984013F; Thu, 10 Feb 2022 05:32:01 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2086.outbound.protection.outlook.com [40.107.21.86]) by mails.dpdk.org (Postfix) with ESMTP id 37BE840041 for ; Thu, 10 Feb 2022 05:32:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iyAuN35PC9m7YDFAN3nMsugzdpIyVzIvfI8MufrucFrTcRMfFqDs6LvmU8lzfyhZ4E2cOXi47hviQwPpNK07aTormh6gUjEwcB7DLMPiBVmnNQETZJCx0c5S7stQ0enEuBPaIoxnkY2eHWfnAxQPlhTW4TIyKmE2A77VRTS5mcimr317oxHjhBb7wR36Fc7TlFCLbUSwUYTkiOfMnU0Lvth510FBRQo4WuIDc1FJu7dvvFjfpDlOdGIJ7LuCm2GoMUNIaPaBu5TFeqYuooM8T3BNjbfBlZmIImp4e1qJW95Uslnufo7Y+kriElcLU4Cp2SmXe+zIfYZZ76+n5rL2JQ== 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=iFVtZHhFetv1Cp8wnIKIgYsgtyuQOPag3LJ295wfig8=; b=kaLKRVHwmXv+qsOBaQ6dn0CtNI8q+czjWN3vId3QSVspDQ4yCUSJ0kbKzbk5mGBkHmZTgmW0noHIEpwOQZEWD6gGI9uQGKgLFwd9b0ZOaon3ekrZJNHevqe1XcoZhtnSH5gTUn26qwD92B7JTxtwOPtDD6eLs00qhtw78nmZpNcfp7YnpAKs+iVhk9+80zjWm6N9kA8QOQIeYp7x3t16K+WmE1gf1axfvt94QGCDIxjiM4CDdTPUq5Ixsg1S4zlB5d+o/cUsLpsOIrPil9R4zT3BzdqvlRpcHuu+IDGeDJK9MLcBD6dxIJ0seDae4XrpUrSM/uHnJLJ7G52+aiak8Q== 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=iFVtZHhFetv1Cp8wnIKIgYsgtyuQOPag3LJ295wfig8=; b=cp5QN9B5CDlhAkofCNJAWCBMB13FA1z4yRXKJ/hwEhJVkLe/YxjZzwbc1G5TcC+JpvTN7ZuOaHIVp8EBVQk599RnS/XK5ZkqXFx2WG63C/6x7QYNZbJTikAqr1440vVue3P7v5ZoS0VDjdkul6Mim2ivJQJjDx9630sv8HtoIEw= 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:31:58 +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:31:58 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh Subject: [PATCH v3 0/7] NXP crypto drivers changes Date: Thu, 10 Feb 2022 10:01:29 +0530 Message-Id: <20220210043136.304845-1-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211228091058.3620177-2-g.singh@nxp.com> References: <20211228091058.3620177-2-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: f773c9a8-ba65-4c08-bc26-08d9ec4e4602 X-MS-TrafficTypeDiagnostic: DBBPR04MB6106:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7MEpUvwFuLgFX5n9OWH5owzD1Bpqy0FfrfHkYK1i6f6PwyqhwwCfDVNK7YV+A/T43GfB8fgXEs7qRt4m1WpKwghZlQ5L7swcJ5Nn1HYr9a3C2ulijRioiOdzD5fOK5NU0N+QUhV/k+FfboUMhT8soTJdmakNdUtM/L1ilO+EaE9w/jVdMzfS3Qw6g2zCxk8WgEtw1JYBRRBFIOHutN77eMSYiAWOKHQ1ozIYO8xg1SGZt3GGmD/RuBcE2vKUAr6k1cyCf1EwDElibyHp7q1ug4LIJ8gNwqvin5q5w7SzIOH99v4gyQJuXOUv9ECJjTRPvHv51/JPBP1+HBwzYsYAiu5ExMnsUhBtVAtMKWZ/k4wn8TwXhlQ/U1XqQDcescsknm7kOmlbJcWtbQzxQoyPALMaGeTUqF8NMs1YFCseiYZDiLuDHvArwBvYRnZz1A7qM3FwaU3MQlX8rY7SoORhIWbzN3ZG/RNzr0CknskPgESMx6p0h0RKct55amuoBzYs1makUZ0tPF6DtpticakaxFFceTS5hqY7uaQbkh8d2hvyllOVup8AHZnVjVhUKRzxjP7WcU80Ms/BhGNDoVd55/tEXj5lrcox2BKe2mioJBdsi7yupsSMkicE6DQaT2zMqRBmxgO3YVckSwTqIKcKY8W0hyPyid34gs9qyM1eKAB6RU2oSPCUuKqg1NvxgjUMAl7R+fwZLYR+qFKcOhp6jA== 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?mthy/rntgvszzadwVIGQkfDP2AEtUa+hkwHzqlr2dHznoXHwFeunKJKMe0Af?= =?us-ascii?Q?UefffSuH30I0/qamv0OE38R76e8XwS+n33g+KK5P6OgutLZWsOQvbjKLrOUi?= =?us-ascii?Q?oG3CCjnWYuL5tOc1+Kef9HFqngCqCf+hJ6OB8Nkzeo7t22A8IFiLwz3sIQyu?= =?us-ascii?Q?tppj3VmNNSVV3zqjxV3YEdTCbZxQUg1fgndXJr8Zcc7EVgh57S60ywHEgGIQ?= =?us-ascii?Q?WaEg0IfQzO4JZbHTYDz2ZszmXb8eJMkbn88S0+PJYGA0kqx3ejUbGqJET2S/?= =?us-ascii?Q?yjD23ab8wBVZNonN/v+i1FM+qcojNGM5Za0tnqg4zEjgEKpkqEF02PbQPWR4?= =?us-ascii?Q?j0Lq1aWexHA0R+o/NDDvmOvGdizGAeBnf4QFO2eMbjF7epWPvUaKQQLLVG5a?= =?us-ascii?Q?4iD9S0AQFtn/9fCm024fVGR+JTBf4iY4XbepP7zugIoA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EYMalkLbbNMbqdBYPKDKZ2AyceR9Ld8X/SyKiLO?= =?us-ascii?Q?InSnDu7S1lKlV6Dx18Uc/02nYDsxR83lQ+hq+Q5DJdRXMxhAv5XyG1uVZaf0?= =?us-ascii?Q?clsv55SNbYIJL5IPx378DHPooSV7GyGEyObT3K5tmYeiaaW14v7GOFn5agVG?= =?us-ascii?Q?q/lnXMFx34rwsfEiT0hhFk/LNbYfzqWZlaQigAkelw2gA2fWimokGDO4r2pF?= =?us-ascii?Q?DGw2DTFttUOFTljZhv8=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f773c9a8-ba65-4c08-bc26-08d9ec4e4602 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:31:58.2241 (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: RDnHaE03Ma06xZuCnjH8/S8EJ9/ypH3u3BeBeWLaRfxqrpTKvyQJ7XhabRB/zC/l 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 v3-change-log * fix checkpatch issues * use devargs for strict ordering * fix AES_CMAC capabilities * remove GMAC patch from this series. I will send it as separate patch. v2-change-log * using dev args for both DPAA1 and DPAA2 drivers to dump debug prints on sec error. Franck LENORMAND (1): common/dpaax: caamflib: Remove code related to SEC ERA 1 to 7 Gagandeep Singh (3): common/dpaax: change job processing mode for PDCP SDAP crypto/dpaa2_sec: add useful debug prints in sec dequeue crypto/dpaa_sec: add debug framework Hemant Agrawal (2): crypto/dpaa2_sec: change capabilities for AES_CMAC crypto/dpaa2: fix to check next type for auth or cipher Nipun Gupta (1): crypto/dpaa2_sec: ordered queue support doc/guides/cryptodevs/dpaa2_sec.rst | 17 + doc/guides/cryptodevs/dpaa_sec.rst | 10 + drivers/bus/dpaa/dpaa_bus.c | 16 +- drivers/common/dpaax/caamflib/desc/pdcp.h | 939 ++++---------------- drivers/common/dpaax/caamflib/desc/sdap.h | 111 +-- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 421 ++++++++- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 13 +- drivers/crypto/dpaa2_sec/mc/fsl_dpseci.h | 14 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 212 ++++- 9 files changed, 841 insertions(+), 912 deletions(-) -- 2.25.1