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 30DEDA0C55; Wed, 13 Oct 2021 21:05:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A692641204; Wed, 13 Oct 2021 21:05:02 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70081.outbound.protection.outlook.com [40.107.7.81]) by mails.dpdk.org (Postfix) with ESMTP id DDEC041186 for ; Wed, 13 Oct 2021 21:05:00 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bEXPBqkHUl58fl90S4yx7qmvojIacb8XSZ0PDYOWKspynOCj2JfoKGde/CJv2anwGQ1XfI3xMg1ssn5mzZ+0GVlYo3r2Q2qSwtKLafyQ6vD1vzPZhMRSiKiH6HaCLxUTvGL3jSfcoE0Ni56VqM5XwA+il0UIL9/cFhwaeLOaDos9UH3JHUk3SmiKm80zpNPZV4BhAIFYtsn9Whf51RaLBre19CkPkTTcaPCyyDCamGWxH8zJXpxUm+I9YBOn33ozjeIFe6fscogXvtFk8XmEr84jzBNBuUsE25uM/5kFyNN/+Vm9p7j+wswqsRQBLC21YuaMk3FH9BVh/LsbYGNJPA== 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=E+pmEiG0P+EgMcbiyqYlU9GQXnMZnoI/lI2pIuIThWI=; b=A23LUV1uOC4fhy7toQ52syGm4UVFoFVLjUiwHEIJTXxbp8ZYcbcOp232il2phjhntChc9H3CmNUxZ+45IsEcPdTZxQ9uWj05qRRIInyEC7ts98D2pEjvMxJWLctZb/zPHe/XcYZM4q4lwMi238vK1jPzqNTGC7WXz+o0Dod9qVaMG79GrkbDbneKNObCU+AbRtuJymZpccYLWwO2pK4pPd496EvfmjjIrvbsuKkfx38MZ7JhU3RhuRqAaZnybK2KMRce/gO+w+/1By8upxMWWZl7CD5iIr/L1tVHB1OR2kaAnEcAIDn5vLoZAONSypMVK7tTxLX4N1g3M2hARD0H/A== 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=E+pmEiG0P+EgMcbiyqYlU9GQXnMZnoI/lI2pIuIThWI=; b=UvNQ59HpNVEoYpy27lnLC9LGOgpWi+e6+xUE36N/zFmOdgy5QKSdUnVohN9/l4mky1KZJhe2argVFHsdkg2nKroV+Wqqfydu990pBR7+zB+qJXLzK4jR4+YiTOSxq21QloDxQqWAI+LsCbFg1tC2LyzfxKwu+01YA8X11fxDbBw= 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 DU2PR04MB8870.eurprd04.prod.outlook.com (2603:10a6:10:2e1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Wed, 13 Oct 2021 19:04:59 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80%3]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 19:04:59 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Thu, 14 Oct 2021 00:30:17 +0530 Message-Id: <20211013190032.2308-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210907075957.28848-1-hemant.agrawal@nxp.com> References: <20210907075957.28848-1-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR0302CA0011.apcprd03.prod.outlook.com (2603:1096:3:2::21) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR0302CA0011.apcprd03.prod.outlook.com (2603:1096:3:2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.4 via Frontend Transport; Wed, 13 Oct 2021 19:04:57 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 33f6cf44-c316-4ffb-196f-08d98e7c5a21 X-MS-TrafficTypeDiagnostic: DU2PR04MB8870: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1AEBA59YUIhXhLY1fPDLK3D3wOSbfvlM8aSXfecgtnsWzDNqjJrj2LGViqcQAWcOrVloWPryKevVbiqgsaCvrqlL9iXYeDx81OsBmAAs8FI5PGsLRXi28plxJfMPw/LrQF0hbIMwUtzcgGyh8WMBinv5xZU5yPdk29ROCLYeixpFT1zP2hAW9PurG9E/L6+nMSaPdKYF4ribaUL2G8Ju0DmXc7KIau+IyOC89rFLabokmowr9+UwRHplIy1hVtkFh3v/Qtu7DoHPGNtLeOCfpMQBcr78TFVDn6B8/vxwAJM0wU+p7uScSHRtLdAP+LY3SMEILM+fT1XIZxl35CNL7GingirbmRGRi8gF4F5k/m9QGcJe/mlJhxQy2rMa+ArcaHWydR5/QehiJwr4XeCkS3wbpqcvdX5e1ByjXjb+pT3sqL1oBr/w405D6N0DfRx+dwTv5CqPzTLksxDc75K+a84ftk5ML+cFBqepBa0mY/WL4AdmgDktgAlOendBj8LKOJbNn3Y6uWIFBjNPPpRkqrYyeWeW6JtDNL1N5c9qO8M6iIGjX4oaTd27b3176qrTddk8rK41jDOc4+vECK1JJP6Nfp1JQlfy2sC7LS4pjZP1M8dDPMGfFyW0zg8qR943wPYJ1zFYab+kGMXyjSVBVih5q62NDbJWUGFnJsQNbc4rTI17BdosoboO6VUIiZQp4OS9/dvIXt9l6dqeTQsr2g== 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)(66946007)(66556008)(316002)(6666004)(6506007)(36756003)(6512007)(2906002)(8936002)(1076003)(52116002)(186003)(4326008)(956004)(66476007)(2616005)(5660300002)(83380400001)(38100700002)(44832011)(38350700002)(8676002)(26005)(6486002)(508600001)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?dWZKWTJsNWNEbU1LOWhLcXk5dXZXemxxdWRRR2k0NWh1VStibjd6YUJGb1Iy?= =?utf-8?B?Y2NqL3RFby9pSG1yUUs0ZUxTNFJaQTNyd2dKMEI0ZThJWkxYN2NyNnRMNXUz?= =?utf-8?B?ZmJDRDFFUXE0L20rOXhGVEM4MnFLNjh1RmFRc3JLM2crbmp1dms3SmppamZT?= =?utf-8?B?MW41SlBwYnY3bG5QL1FybXNSSTBaeStDRXhTVWtLNjRIK1MwSE1pY2hGTHRr?= =?utf-8?B?TkZHZ1BzOFNRWWZZU1IvSEdYSVV4M3pMeXR2bzNPUTJIRmtBcjBWN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HpTRHFSNlJHNHgyajFwaEVUenFUVW8weDMx?= =?utf-8?B?UHZPYXNEZlBkUURqeHlTMWV4dnVHc2tjNVdMMTVuRXlxaE40MWxoRFZpaExN?= =?utf-8?B?dm9IUFZ4OUNIYjJwT3QvOVdsSzBWd0kzR3o3K3VKU0g0UjVXRTBGN3pXQThu?= =?utf-8?B?TlRmQlltSjhiMXpTQmg3cWNWblVLdVk2QjhkbDh2SWR2VGYvMDE2L1dTcWQ1?= =?utf-8?B?U0lOS0lXUWo0cFdqL2t2WkNWSjRRWGVjczNkUCtaTHBhMzZYZGh3VFpiTElY?= =?utf-8?B?UzVTekJhaW9FVCsxWWFQeTRMVVFkTTFGUkw1QmFlZXE0RFo1V0tWNytLcFJE?= =?utf-8?B?eGFPbjRsVWlKSWRPNXlUNTlBNUpvMDJJakx0VW9YVjQxM2RPdnJxTVpxczV0?= =?utf-8?B?eXl3YnNFVkYvTVZhZ3JZMHN0S1paODh4dUZmMzVUMGxwckU0RWlOTThTOVdt?= =?utf-8?B?K013RVk2SlNNZURDMzh5dWJEVjlqTG9wWmVEbFF0Z2wvY2RjbHliODVIcWpB?= =?utf-8?B?VkFvcFE3VnhsTWtzRDVKTlN2QUJ2a2pIUURqVm5FbnBNaTY4YzR3MXprM3h3?= =?utf-8?Q?iwAvN3Lwel3cfSsOYFZmnyyJeSpI6ShXduFJQ8Y?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33f6cf44-c316-4ffb-196f-08d98e7c5a21 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2021 19:04:59.4269 (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: g6UU1tPhhZoodX4yLODVSQjmMcIXA3QGceEwexm0QNI5AL5KjKqqF2KcGjn6mU/Xxc9H9pIbFPyZyAg7lKQtmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8870 Subject: [dpdk-dev] [PATCH v4 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. v2: fix aesni compilation and add release notes. v3: ignore it v4: fix the tot_length patch as per Konstantin's comments 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 +++- doc/guides/rel_notes/deprecation.rst | 12 - doc/guides/rel_notes/release_21_11.rst | 2 + drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 6 +- 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 | 14 +- lib/ipsec/misc.h | 4 +- 16 files changed, 2402 insertions(+), 116 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