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 0E8BEA0C53; Wed, 25 Aug 2021 09:18:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF8B840041; Wed, 25 Aug 2021 09:18:46 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60085.outbound.protection.outlook.com [40.107.6.85]) by mails.dpdk.org (Postfix) with ESMTP id 218604003D for ; Wed, 25 Aug 2021 09:18:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FsTG8DTlNZCzCeezn/sjz4wWdZLcBi7UMsRfzPinXvFgV22fopP5oEGvp7FnWWEIfAqpb3nvTq6K2a/OWjXaAflYG/QMI6N1PtO6J8iwf7gIj/U6H6hZmYtECcICfizgaGjpJNUSXbCjTjNP3Frgl5YEIeD32J+gI2nC0NAIGvpqMxGxfyZHc5GRVdUz5D9GwpsXWv2WtmqlW6iofXVzjXla4sR40fSQBEFXG+fS2+h7fZEJk1VOBEvkY7JGs7IYGZk5AaSXNWT9O5YponAWdzT6pc4jwAy812o3FE2WqoiPUnqj2SatcRL7cmjaLE7F5OEzhxkwJkJqAxkU+mwp6A== 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-SenderADCheck; bh=HNIqWfLE3Onknieeb1ZlMw3JWEULR9Fvh39WrWpeHfI=; b=FjIl0bCcn2Yryh9JIn8jXrtmL22PfBdiDuItR1i2edP271gjhCdDeyYNwNE9G4yelhXL+GRslxfuJQUHAZZz6fBH5aVL33A/NuERNZ2xdjrZN02oMFc7eaDRS/Tasai0YV38kpKQZ5l/VnrS/ILNZUcOgkTTRhQlts+F1d4DFhKpVqRnqfZ1EdUPz2CkyuYsZdTKONe0GHg9PNv+HWzuXB1a6BiImUuwJLCAUBQ1yZNm6K1LFwejEMzO64XbL4feq1laxoxjEv/D9MODHCi7hhgFLFdRBmdN37ArnA8jCNJBdjXYVvhhdwKTDESZUMgiEezbX0teVYcCykOMWWeI2g== 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=HNIqWfLE3Onknieeb1ZlMw3JWEULR9Fvh39WrWpeHfI=; b=GExSNE4aklK7BNof9pqR8h7l3UzdL8LrYl7+UB0TyGd4sFhqf9bE613UyffLnmZGFQS+/mfUxwb4BhU5FF7aVhoWK8caEKl9oljHnl5cTPOtHv/BRDl7BABUY6HHuAy3CM9XExBOYWwvsCYdvNke/H48r62Tpt7Q4pTMzcuFSgQ= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB9018.eurprd04.prod.outlook.com (2603:10a6:10:2d9::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Wed, 25 Aug 2021 07:18:44 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793%8]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 07:18:44 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Wed, 25 Aug 2021 12:44:55 +0530 Message-Id: <20210825071510.7913-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210812071244.28799-1-hemant.agrawal@nxp.com> References: <20210812071244.28799-1-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Wed, 25 Aug 2021 07:18:42 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b0767a9a-40df-4265-ec24-08d967989266 X-MS-TrafficTypeDiagnostic: DU2PR04MB9018: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BmyDg2FSKtFbrGjTyq0VIO0uVLpSAi8hG92oL65d3lAFKr6G2GE7v9iS5Y+HkOiExTCz6u59wlGp0lGUvx8/YSAxWfZWJgKBDxddJMGRft6+9RXSXANaC0b637WyasyuL0lvp6XTTcGvHnYaaoM3+OUjBsA/oel7c2Wcg8zFRbxltG6W4Og/B2hAWER0R5r/cMw7UqFhxNvUKeX65AOX6nfgf+BL8LAY8Z9TOp6DLhVoMRK3cNSrKPqxHP47d7rE35BkmADibISVyzVX+sAMeRsmFr6iJrpFsSNaJmixYqirZiWy6L9vYn7FrbIDGaHHT6wI9+7DSWb83r1X3BozDht1WCKXaQs/wH4p19zCVXXXAvL720fjewwsZnMqn1FhDEy5kd9HgQMiyVCdF908MlCiJILTCfN8vT3OGAMqcQsG9G1WTVJSLY51XdBq/lKC5MR3AbTt/vIwPwtYNa+scCL/GJ2JNn+Sd72LGK24RW7F2P9O7gl4LrqbEnRjsQjhOLwVHvM795gTJVBJAcxwULQlYWLxWnmdms/UqvGIzn0/Z6wmtcCXG63wuNUX8D3hoaMduZ1S2ql3TjRENzLuNcu/gX1TpO9WzIvLej8F71uB0Y8UK15b75bPGAJxOJWa0ks6hPILpgPaJMS1R0PEt0KwII8bTxCC1Mx3KH8/v22GgHNZKlNAkqvuvOQAQkX7tT0fOwq5Q8SlmcZ4OoMb3Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8630.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(38350700002)(38100700002)(83380400001)(5660300002)(6486002)(36756003)(86362001)(52116002)(6512007)(2906002)(8676002)(6506007)(186003)(4326008)(66946007)(8936002)(6666004)(44832011)(1076003)(66476007)(66556008)(26005)(508600001)(956004)(2616005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z3UwT2lDZXZvMzVmWm92QktKN2l6UjMxL3BVZU9vMXd1WmxnbjVPK1lPcU14?= =?utf-8?B?eHNIUHVoNHlIU25YWkFiQThXVmhsUWZaVE83UktMZU5heVZJR0pYU1A2U3Fl?= =?utf-8?B?QUI4NTJ4bThLbjhyM3lIQmxTMnMvN1pvUTdXZkg3bERjVzZIQ1lqZWRKNFNo?= =?utf-8?B?cEY2ZnFyUmQ1STRSOHFKMW1lWUVlM1JhRkNsN1hCbkVsY215UkJlVFZIaVNN?= =?utf-8?B?eHFWd3dqcjBBQjMwWUozTlJ0VFU2ZTFPSy9DYkpEcXh4MXNteHhTZ1FHbXBE?= =?utf-8?B?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9pRTFOOGZjUHBnYmpoVE5HSzN0cm9mdStFeHArMnMyRFdCOTdNbzJ2alNw?= =?utf-8?B?WjBmc2FoTHF0d0pRWVp4V0NtOTk2Wm9vMzZqOC9haTV0UXNFNy9DVUM4TkJo?= =?utf-8?B?Ui93bWdXNUlUUVJzdzJ2eTlsZ2RKbUFWNythUjVPNkVndmJySDNGWE1kTnBS?= =?utf-8?B?NndJOS8ybmxQN1NFNkFHeW5ZMkhqVnltdHlNeGtEYlEzS01SSGZ4dE9ZRWpj?= =?utf-8?B?UXVYRmdOdnlPWUc2dGtraDJ3a2NhQldlTFU4QlhzODdua2xrSVpnb3VkQ2hK?= =?utf-8?B?elRsb1paU0ptcVRKOVVRa1o2T3FDenpJTnM0OGFNRCtsTVl3YlcraU5lcjBU?= =?utf-8?B?emcySTVSMjkwdmRnOXpXMmQ0ZEN2aTVwSnNLSkpITGZjTjJXZjRWUFJIZjMv?= =?utf-8?B?dzRQaXN5aFhESmxrMHJtYzlZUXEzRmhZaDVUcUVQbkZKQmVrcWtHTnZEak9L?= =?utf-8?B?aXBLYStlaTVSSmdRelBVQTEvS2hlQzRYUHhRQnJKeVVGa3YyeGk2V3dJZFE0?= =?utf-8?Q?fc/dYKxXS1mUI8P7QLVLKD1RJ+wYUzSa9EeHVsH?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b0767a9a-40df-4265-ec24-08d967989266 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2021 07:18:44.1730 (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: 2vHEAJQQj6PgKIbPCsPNLI2wwFLNND/8CxsO8+HOp8F+4ds8TE33xnKIijRYQh5xEEmV7f+U6/zOteEjO4o0hw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB9018 Subject: [dpdk-dev] [PATCH 00/15] crypto: add raw vector support in DPAAx 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 Sender: "dev" This patch series adds support for raw vector API in dpaax_sec drivers This also enhances the raw vector APIs to support OOP and security protocol support. Gagandeep Singh (11): crypto: add total raw buffer length crypto: fix raw process for multi-seg case crypto/dpaa2_sec: support raw datapath APIs crypto/dpaa2_sec: support AUTH only with raw buffer APIs crypto/dpaa2_sec: support AUTHENC with raw buffer APIs crypto/dpaa2_sec: support AEAD with raw buffer APIs crypto/dpaa2_sec: support OOP with raw buffer API crypto/dpaa2_sec: enhance error checks with raw buffer APIs crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agrawal (4): crypto: change sgl to src_sgl in vector crypto: add dest_sgl in raw vector APIs test/crypto: add raw API test for dpaax test/crypto: add raw API support in 5G algos app/test/test_cryptodev.c | 179 +++- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 82 +- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 1045 ++++++++++++++++++ drivers/crypto/dpaa2_sec/meson.build | 3 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h | 40 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 1052 +++++++++++++++++++ drivers/crypto/dpaa_sec/meson.build | 4 +- drivers/crypto/qat/qat_sym_hw_dp.c | 27 +- lib/cryptodev/rte_crypto_sym.h | 13 +- lib/ipsec/misc.h | 4 +- 12 files changed, 2390 insertions(+), 95 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c -- 2.17.1