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 CA67B43B93; Thu, 29 Feb 2024 19:53:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 508EB42DCB; Thu, 29 Feb 2024 19:53:16 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 75CF2402ED for ; Thu, 29 Feb 2024 19:53:15 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 41TIZERI022449; Thu, 29 Feb 2024 10:53:14 -0800 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2100.outbound.protection.outlook.com [104.47.58.100]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3wjp2yahg9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Feb 2024 10:53:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jD+N2E4qyFS2ifnuCM7SubrQDGr13MFpE8oBNBxn++M9HdmSriDTX7hlWWopN4R+RGWT0J7KdDp85jWnvzjLBGuWsGIdbhc52vZegRv1jeo7oqHoFXn7nzMcX3xE7xGR8r9Yj96eD0PsFSQEB7C1tUP1sdFL/c+WXhF3kCv5XwpxfH8rr+Py5iwfN1SI3+eFYLZsWBUepmDwLydFaVTGcro88KnNwG8ZKvMg2uy5SpE6w3s35Xwa4+hxFgytyUAdtu6EmTmTGydWhW+xtLuSElD5kFKB1gLO1j5NhULfMtUGk5bMopEuBAxlmT0tFiyO0xFsh/kZzK3BDfauItFcdA== 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=LRPyHjSShtJNbKAVHvSnZLPf4BzuYuPhQuzuwUNn24k=; b=m4I+v/w+xIwvbjwqY7et901zbPsx3DEEI1oxeDUoD963QiirayHRX3Rjj0zjev8pTChwjSC+lm5CgfNwMkA/nmFTOKX67tif2jlUfmZj0ncooj9GieZ5tFrRwmC3aT8bYCcI0BCA0xvDx8vGuigRryTjUOlWb+JidDvhL4yzW0Y0ez0Ti8r4nVqJ+NSxEofbKMwXupNRy00XS9MKz02gUVDo7wvJpj750go6AmjkCzfBmDDPW07fflRb5miPLAOcv1834zNHFwHy4hoy6W8iHhVnAtN0PpjPjABhIwZ2bU1ftYDik5wbHEuv9vOiaMO70s+bpkCm6hTzBvrcY1ZG/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LRPyHjSShtJNbKAVHvSnZLPf4BzuYuPhQuzuwUNn24k=; b=tEPiT17Xf8k+0Am/tL+g2yGC5lfUoAOmY2XMreuI7Zq8MaE71uwY9MhFzPLDK1NSgu6/TPnpv32ng3vw73KSdaQPTYpj74DKeBxSkGCoJThgXB+3sa7EScQ6GhHh2HmteC/Kn/Rfz3fb1jEdZJnvMircSWsZTsiz0Wc/2YsFe9c= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH7PR18MB5646.namprd18.prod.outlook.com (2603:10b6:510:2ef::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.32; Thu, 29 Feb 2024 18:53:10 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9345:cddf:24ca:5be9]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9345:cddf:24ca:5be9%4]) with mapi id 15.20.7316.039; Thu, 29 Feb 2024 18:53:10 +0000 From: Akhil Goyal To: Ciara Power , "dev@dpdk.org" CC: "arkadiuszx.kusztal@intel.com" Subject: RE: [EXT] [PATCH v3 0/4] add new QAT gen3 and gen5 Thread-Topic: [EXT] [PATCH v3 0/4] add new QAT gen3 and gen5 Thread-Index: AQHaaNZp9wdMJhRXTU23mIUGi4rZ3bEhr0Iw Date: Thu, 29 Feb 2024 18:53:10 +0000 Message-ID: References: <20231219155124.4133385-1-ciara.power@intel.com> <20240226170818.533793-1-ciara.power@intel.com> In-Reply-To: <20240226170818.533793-1-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4484:EE_|PH7PR18MB5646:EE_ x-ms-office365-filtering-correlation-id: 590412af-f60a-463e-72bd-08dc3957acc4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0AlXEJneK0gznKhkeew3EHi6FSeLO3/9k1q4IpgFD6yS5ihtn6jdJH2qJ5VgAtGu+jqX9Milw/VgrC0VfSAzA16eyNZYN34e1klgo+xRBJGFM+C6+EvY9V7TdmFePjaKBkN8FHRlocPJyGcuyTckGGmqn0Ac/130SgWJ0wZ2K+SPGkh+2KKlF6jUE48c/le5Gg7WCrv971kf4Z7wO7rPPWJBI9e2sbGMqwbdLGvAmjKV3fU5WDHlFs2+yeacikhGqn8paEV+hAeoZQj+drZVXjRxjO4WkbaD211Qjgbk7gpcf2sMU86mMka7mp/mjREdOT3ShePr4HdqK6LIfekK1bWGrp6FA/sbMSBUkYdB32FCJfedULqAcykQxyO992VHquksRVs+JenpVbMMIH2e+qwpvITltyFPCMVuSUctffSzdqxZTkR9IuuV9ImBLQOGsnWkcoBk0ej1dktUYbOg4MOTNfnj+qPFF1pQWF8SrFQ02h4EWASMJDRMY6F3P4b5Ci2iApxRbeX2EqsdNSRD8+x1HmBbU3Ps8Bx2GZpB7kMkcXTq8bE4z20RS+P8J09gJP5BHp0G8FzmTagAyOC0Ou4rL3CJR5atBaDAr0wbwyDVnjMwkFP8eSszdSeY16VDI4Ptuo/h3iLhGqbWZRkHvZcPEUyE2DmlJ5W2T74gw5uD75MfLXg1K9/tAJoofy90UTiGp4cjcP+v3rdMvDIZzdyLxGLrRliaH+1pjPT3CbU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oAklExqEHeATdMvq8hpm876KuR1uFiEzGO5vCLBLYxeN5dayc7O2LqMQ3tor?= =?us-ascii?Q?1OSNs7ymMBo99cT1WSKWTj0PWWMRXrBxnMYAheLJuOSwvRDfnlMc0inNf0zO?= =?us-ascii?Q?MdRaheS1HDWKND+VlYhqjPgVTbZXRVESXDdpxYt/C15Xg2QxG4zkZJyJd70Z?= =?us-ascii?Q?T5nwXdU1HCrPxCcO3KJGAkKxYk3zoXGp81QdlkTobt6msFOT0WCINvgqqqAD?= =?us-ascii?Q?3X9XfPQVkQhznV7O2feSYF65Lzeio4odDE/WZ80Mq7XtjUdv0SEcuTnR3Rov?= =?us-ascii?Q?y9OYhbMaNuygESg7NiNQP/FIEigA0dc9BdINUggwCKTZGpY+GHp67wWR38rQ?= =?us-ascii?Q?ZxUXkSC5uRs3CY04V02RU+ewR6OCkMisvwm5muG/gbh2tx4VuZobkNW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F48oVcj08XF0oaHfvBx7+6lRsgY0DEKxLn/+k67n?= =?us-ascii?Q?qcYidcAm4AxVqerVDchhGqKMWq1Ie7CF87emzpLfsnhWxSCk2a/UfGN5Avb4?= =?us-ascii?Q?koTqd80ggxTThb+9og3dRo7Jo0RMdi5umaHmdP+3DVakqiYGFK2X2aH9Ju/U?= =?us-ascii?Q?Vntz3oZcE4uNL4MdfCQG+llvyHZpRyM25EwEn7UUS0Mngw+Umja8RODRuEl6?= =?us-ascii?Q?JaV+N1wTlnkaePsU4MuwXEte8SVdzxrpnJKfdRrp8w1ztZNJy/+sAkAZnT18?= =?us-ascii?Q?6Ge6SnVj8uTM4TMzzHYh6cwmUi8yhfYQBbvkD24N?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 590412af-f60a-463e-72bd-08dc3957acc4 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Feb 2024 18:53:10.2745 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: U+EDYCKiFzLzadfJLp0vPyYMrbl9uXkOVl0xrsLAzMev/cqr5u+o/z3ZjSvnFW+OGyLSr9P9JSCC0mWqU0RdIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR18MB5646 X-Proofpoint-GUID: UloyH7LIpQIGvN_QNxH6Ksbc9oWlkyqG X-Proofpoint-ORIG-GUID: UloyH7LIpQIGvN_QNxH6Ksbc9oWlkyqG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-29_04,2024-02-29_01,2023-05-22_02 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 > This patchset adds support for two new QAT devices. > A new GEN3 device, and a GEN5 device, both of which have > wireless slice support for algorithms such as ZUC-256. >=20 > Symmetric, asymmetric and compression are all supported > for these devices. >=20 > v3: > - Modified year in licence tag of new gen5 files. > v2: > - New patch added for gen5 device that reuses gen4 code, > and new gen3 wireless slice changes. > - Removed patch to disable asymmetric and compression. > - Documentation updates added. > - Fixed ZUC-256 IV modification for raw API path. > - Fixed setting extended protocol flag bit position. > - Added check for ZUC-256 wireless slice in slice map. >=20 > Ciara Power (4): > common/qat: add new gen3 device > common/qat: add zuc256 wireless slice for gen3 > common/qat: add new gen3 CMAC macros > common/qat: add gen5 device >=20 > doc/guides/compressdevs/qat_comp.rst | 1 + > doc/guides/cryptodevs/qat.rst | 6 + > doc/guides/rel_notes/release_24_03.rst | 7 + > drivers/common/qat/dev/qat_dev_gen4.c | 31 ++- > drivers/common/qat/dev/qat_dev_gen5.c | 51 ++++ > drivers/common/qat/dev/qat_dev_gens.h | 54 ++++ > drivers/common/qat/meson.build | 3 + > drivers/common/qat/qat_adf/icp_qat_fw.h | 6 +- > drivers/common/qat/qat_adf/icp_qat_fw_la.h | 24 ++ > drivers/common/qat/qat_adf/icp_qat_hw.h | 26 +- > drivers/common/qat/qat_common.h | 1 + > drivers/common/qat/qat_device.c | 19 ++ > drivers/common/qat/qat_device.h | 2 + > drivers/compress/qat/dev/qat_comp_pmd_gen4.c | 8 +- > drivers/compress/qat/dev/qat_comp_pmd_gen5.c | 73 +++++ > drivers/compress/qat/dev/qat_comp_pmd_gens.h | 14 + > drivers/crypto/qat/dev/qat_crypto_pmd_gen2.c | 7 +- > drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c | 63 ++++- > drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c | 4 +- > drivers/crypto/qat/dev/qat_crypto_pmd_gen5.c | 278 +++++++++++++++++++ > drivers/crypto/qat/dev/qat_crypto_pmd_gens.h | 40 ++- > drivers/crypto/qat/dev/qat_sym_pmd_gen1.c | 43 +++ > drivers/crypto/qat/qat_sym_session.c | 177 ++++++++++-- > drivers/crypto/qat/qat_sym_session.h | 2 + > 24 files changed, 889 insertions(+), 51 deletions(-) > create mode 100644 drivers/common/qat/dev/qat_dev_gen5.c > create mode 100644 drivers/compress/qat/dev/qat_comp_pmd_gen5.c > create mode 100644 drivers/crypto/qat/dev/qat_crypto_pmd_gen5.c >=20 Series applied to dpdk-next-crypto Thanks.