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 0404FA0547; Sun, 17 Oct 2021 18:21:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8EF4940041; Sun, 17 Oct 2021 18:21:26 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80048.outbound.protection.outlook.com [40.107.8.48]) by mails.dpdk.org (Postfix) with ESMTP id C97B64003C for ; Sun, 17 Oct 2021 18:21:24 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Duvzo2v+GKX83oYbdIfUAup2P5kFpl98hmWOBv6JEGcTi3kIC4sOH/FsyI2lrPaiKbXe6qmUYyUljIEYnIhGm5FwVmi1jp8J/vIB45u2vBqrpoueapyPQU7zE8oG0RZiuNoQ1LUci8UG17rN88JVwccqwhGLE4/wsGqwQarQefyx+e5xXTU5UyBmhZCEptPJryTPupnRj1BB5xzCNlHY6QdcAE6vVASbVZ7VDqJe645h8ZxvpFB0lippvlOYQ3XtTJu0dNwFJCjV4ZDnqw5j6jTPSN0Ez27Whg+EM9xb0gRR5Hyd62/X5pCub/W601ntUGPtVdEr4X3H2c9b7TOstw== 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=AV+aB8Wei0IPX89+CF5G4/PBFBueAVbGC9zmSVO5HVA=; b=TQXSnHoXd21LlO804HBeuxxGfL3fFmzkP9vQCgIKPl6rKrOrV1WTFDpcCreV1z9Rd98bfI0rOxY3UzIVOP00qkwy2sHLfboT0K5nH9+UBphJzP2K5CzGtjmmko98/GpvS3gKy+OyfCH/AZmM9PwJVow1nvYq25Obb5+XWShV0JboOLCYf8rbPVs520uosmrlLeWdyZyX5S6pDcTSkhwItFHf5XWcWULPclBVXreI3d4ECqWAQlTdhdpEj1FPnRrYLZUz+EYPDXmjTo2kKaC+5kipQ5VVgClNo/txvdV+ecf7z3g+KJ2goDh9ZP0TBaVODJs3jd5Eas/CBAROt+ZZtw== 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=AV+aB8Wei0IPX89+CF5G4/PBFBueAVbGC9zmSVO5HVA=; b=DqYFS2wxY2KdIfKAQ0rL2+ovoBaPW9qdNrGyhWL4wmBBKFdyhcy0t6mDhKDLlAr3TSkYUIyZuVilBkrwipuiw6tKUnSwZHJ9y+Es+TzSPZq9z0eNRIcKxSuhogiOjQONB4iRgxgx4zbQrh9adJtykolVQqfGDu6ZeyviwNfylQk= 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 DU2PR04MB8615.eurprd04.prod.outlook.com (2603:10a6:10:2da::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Sun, 17 Oct 2021 16:21:23 +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.4608.018; Sun, 17 Oct 2021 16:21:23 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Sun, 17 Oct 2021 21:46:36 +0530 Message-Id: <20211017161651.9220-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013190032.2308-1-hemant.agrawal@nxp.com> References: <20211013190032.2308-1-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR01CA0053.apcprd01.prod.exchangelabs.com (2603:1096:4:193::7) 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 SI2PR01CA0053.apcprd01.prod.exchangelabs.com (2603:1096:4:193::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Sun, 17 Oct 2021 16:21:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d501907c-adb1-49c1-66b5-08d9918a28fd X-MS-TrafficTypeDiagnostic: DU2PR04MB8615: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6jJkZN6eAndQqs1k7W8xg91pXAct1vFIxUzxSOtLEcJ7nSlfoAqLe7VRylxG21oq9fx8lBSHi6JUNN8/xLdJYDPQqieugdy6p2gv05v61u8dC2hUeOUDcTT+7KqtSq8SYKrUAPYjEKGet9H3C+jdMlTu/HPtc4tky2ndDtIBgbFJuqNhzmHppDb3eImcm8/py2bJ+Z7qn/DrOzVnD3KisDACvfjQKzWhjnH4SfJ8fRM6nWqXfSmR58dxxlOUEm2s7/EdJwp1T6LSrKz7edB0XVGe6Z9Es8wgmkudQfDvarXDdQd3UnIwVR6ZwIv1Lt3vdABbdcbKczi5AMxXpa7SehOmrDQUZNls/DtSvNmSEk+UuiNBOqqEL7wB2g/2D/MqME77ednbqTQhi8I+xOj3YEcyUzroJEjMG/vdGTyGf1Rk9bKE7Sru8Xpkepl+mopUy/myna8MNvVTpzB5GuzwMMq38Hkp0KyK5lNEgBTyFtZDHl61LBGi+vpKE3I32u1XM7JWbmccdWB6zL/yY7VmJqg6g8flyue/xusUSc4is3ATLCKzln5TXQDhDHvIxkRE7uB59C/lwTDCFD4wo0HX9dA9US3tz3eah2cNHwbXbf2z6ZdlBWfUXkAlMvKziuvRGyfiemQj26P33inGwyrtloFgkDPEElmbCaJHOZSxLYjXup1PHx5Hmu/pGeh6xODlwqkH38kUD9rWRcAdrRVSPQ== 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)(6486002)(66476007)(8936002)(66556008)(66946007)(86362001)(52116002)(36756003)(5660300002)(38350700002)(8676002)(38100700002)(508600001)(6506007)(26005)(44832011)(4326008)(6512007)(2616005)(83380400001)(6666004)(1076003)(2906002)(316002)(186003)(956004); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z3hkNlFqTnRneVBPL1lwdHJUUnNqbVRvN2ZiN2xzU2JKL241QndGWGh2dDh5?= =?utf-8?B?YU1XVHZGd0pWbW9nTW1xYjFJZXZzUGUrcm1oT3VreXFhWVpMK1pvcXVOVXlD?= =?utf-8?B?dXdiQWJ1VWd5d1hDTHVYL0lwamZ4eUp2bjNKaWh1Snl1M2xYOVVGb1dsOFZE?= =?utf-8?B?SlI0Vzh4QlBTWW5BSy9hNHVnbVJYd29jc3FYb2xrc21ESTR2Mk8vV3hjc1RN?= =?utf-8?B?N1pRdm9seVk4MTBFb1E4V3d6TUFBaE0zWjczVk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ejdMNVpRZ3FvV0xzWnVTTy9iYTBoTm1IalNy?= =?utf-8?B?eWIwYnFnb3JRL3VNZ0JLUElJQWZlMWZIY2lueWUzNnZ4NW9XZkNtRmJsL3pY?= =?utf-8?B?bkZQWitvTXBNK3VpdVE5OFJQcWROcDZNSkdDVkRjZWYwcE1IY1MxQkx4MU5I?= =?utf-8?B?bVdOU1NuTnliSHVMb3hoRGVSRkd1bm4yUmZBT1hiUU9pdlJQZUFVK1FxQldx?= =?utf-8?B?M2lROHV3RVNwbkducmdyUjBnV3dXcGQvQklpMGZ0eUF4ZmY3VzJZV0VMdDlH?= =?utf-8?B?MTRqM3RLZlpqY0hoVmM4ZGNycDdMQTQ1UlYyanNjdGlKdVFVMEtLbG5Zdmt5?= =?utf-8?B?aTNBTjQ3L2IxQkVoQ1NDTkNqL0Vmckt3SEVtbWNIQWdGRGZySy9VYS8yTUo5?= =?utf-8?B?a0tzMEFOZXlObm9NNFNETDBRUnNhL3dka0hPWWIwUkxxMlhweTBxTTY5YU5s?= =?utf-8?B?WTB2NGY2OTNKcW10R3ZPejJBUWt5Rk1ZTnBzcnNiNlFaYWhNMzZuc3MxS0l1?= =?utf-8?B?QzArZkxXNWNOSWlaNEVFbjhxNjBhdFF2ek1NbnRqdUhQbDc5TDVHRUwyZ3h0?= =?utf-8?Q?WjnuJW/c+l4+HZ0lr7Ecg0wgriXT3Wb43HCv1f4?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d501907c-adb1-49c1-66b5-08d9918a28fd X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2021 16:21:23.1195 (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: klnwLXKkArKCj9eh1reWiC78EiI8l44fIdDMuK/tqPB97mNID+9Kodh6pRxXs4YqgNJcBEI9dow6hhlmpu6b+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8615 Subject: [dpdk-dev] [PATCH v5 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 v5: address comments from Akhil/Konstantin - update rel notes 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 | 11 + 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 | 11 +- lib/ipsec/misc.h | 4 +- 16 files changed, 2408 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