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 74C5043B6F; Fri, 1 Mar 2024 07:12:07 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2FA51402CD; Fri, 1 Mar 2024 07:12:07 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AF7EE4025C for ; Fri, 1 Mar 2024 07:12:05 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4211IKVn005188; Thu, 29 Feb 2024 22:12:05 -0800 Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2168.outbound.protection.outlook.com [104.47.56.168]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3wjfay6hrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Feb 2024 22:12:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vl4E8dxEtxB9KOItarH6W3zH7lI4pEH2wzKJrqmMSrTv95n9W1oaQhXihifYonlGguClF5Pz74u/PiCAIq8aP5mdQmiETw+pkaGvjbM74PxsfGKZohlgs8eVLk7zEkjwE+Z+A5kCseAxHXBc0kTdiQFxPuJFpG6wGtvQN8A17Bcigw+MJuIHzynFP5xw4/OeWdDLeq5n2Um8rSaAs74FYc8cUrKeCLlttGXIDh/jf5Y/7BnSECKU774a5w/fr1xuy0MKQph+/tH7GqAcwRJVWOaGjggHe/0xFb5m8Go3T8wsRllzKvVsrX0IEzJEMGTKCGl3+Mga8vn6sTLHsZGCxQ== 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=pKaWo+amTsFvs3YWT/ESCKS4eOvPMccuGs80sVKROpo=; b=bR0Ue0Eo2afuuUIVYXxHZXhVmjaEaxwafYdo/DcY/+K0tb75mVzEaEZf5XxP4cEkjvUdrAYLGIsADmBORglGort1ZVzsBQWL8iJQKvIzhlUrzPiD+1M3P6qIcsiPIPcMIKHP136ycpqSv8iql2CvgK0gEMXmcijpwV3slfiIj8bxvCMe0LH1MOlNf2CuLN1lB+nqt80k7eOYbpUoBYomquSJwhJcf1mfeUlVhB8SV+3CM1VWCAhZpbWLo/+TjDCRttrzqPp6UsJsquBr4gz0Uo2NqLeMnHqtpFFPV3XTcL0voUHVPP7SfjYJZ8whh0h+AaLdyujRmKnkfrM46ylpdw== 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=pKaWo+amTsFvs3YWT/ESCKS4eOvPMccuGs80sVKROpo=; b=QNj5vm61UcTk9MKJOPWeYxzcOB5FehTN4229MhWE36WKz9cWyjljQLvHIYzuvkbyaWxtqA3X0F8oeDXTIvBn858ahOfEnF+sPfhijKb7zztIjiGSaPawKltNrjaU5oRc+nrO04NeB1P4OsjTfpKNMZrC0+5BVJSmLjuT/1trOgI= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN9PR18MB4123.namprd18.prod.outlook.com (2603:10b6:408:134::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.34; Fri, 1 Mar 2024 06:12:01 +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; Fri, 1 Mar 2024 06:12:00 +0000 From: Akhil Goyal To: Ciara Power , "dev@dpdk.org" CC: "kai.ji@intel.com" , "arkadiuszx.kusztal@intel.com" , "rakesh.s.joshi@intel.com" Subject: RE: [EXTERNAL] [PATCH v8 0/3] add QAT GEN LCE device Thread-Topic: [EXTERNAL] [PATCH v8 0/3] add QAT GEN LCE device Thread-Index: AQHaa0fSu1fBpj0k8kGYVWMTKBZRSrEiaBLw Date: Fri, 1 Mar 2024 06:12:00 +0000 Message-ID: References: <20231220132616.318983-1-nishikanta.nayak@intel.com> <20240229194510.2741004-1-ciara.power@intel.com> In-Reply-To: <20240229194510.2741004-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_|BN9PR18MB4123:EE_ x-ms-office365-filtering-correlation-id: 0492e65a-c519-4dca-89fb-08dc39b681fb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zob7GIvpi1LXuWl5YWVH5Ii+hl0u62+XaNFKAQfbYuMzv+aVEW0cmorLLUet3vKI2d/+KXIJkzLQqkN0eS3UsvJOQ9Ydf0I+x5Z4ezZq2Qq6gqYUrd9FyDvEBjs5kv95xuMfANFp4zyNkQs+0UVgkxTIW+fYhlXbhlk1rKm+xz7RcqajyKJ+WWgy/SDSALtIw3QQep/Ns1qdSuVs3VTzwVz9lB7VBgDH85ZPCr+FG+bwFIOptlH0TM2eaLtRowDnFNIey8ChCLjFOlczHCTZvKOB6C9tUvSfZIt+zF/WrQHClkUDpYi9ciLEQVeVyggZ+hthoxN8u7mLfJmvMpjSIoighjzxWfPinlLWusWB8vuObuP8mjM1ZpuECz7B36PJUt/KIlpZg0pc27tQyMz5xJuL+odhe5GcCxTFvEy3x2z0A/wPtXcylU9pso9LGjLQAxoYbJaXwwhDDV7I4GCUjyFN5+8PG7oV8TEnvQjoxJR5QoNvJGqetcD/T5h46P778PxjZt4kwtyoBpdZ+ING8bwKFFRYaBUmh/y4SEOzSxFJY/2tDSJDLBMtWHwd6hbHxosqdTQZOmXE2WjLlKN96XZHCtbujl9SQR7oXBWuYOlD7GGCECz/Sxn7E/kgCPvTwn06BR1W3JTVdDbvSv5gWyQx1GIjXKUeDytHSF1rjVr59+CtkfaDZC0Bm+8BC7VR5Vw+etahEIR6bLxnXvlUP5C/CSUDDwEJ2a0lD5UVf8c= 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?C/6E4uYtAPo0EYxYPe0CyUMc9j22VB2cdh+jqKgZBnYw7JABwddimMeOFe9r?= =?us-ascii?Q?PLymGzD8MlTl7BaKRX2+JOLSf1L5jeUH2KvvFSvbyHyt5sFqje+nKDmIHv97?= =?us-ascii?Q?pp64B4skt50Kf0o27CNH0Pr1Lm3jbaAkoAUYQcimNEnXDFFxSybDMMbROaR1?= =?us-ascii?Q?jOIvRU0+MeW3g2HTL3BkCuzhlE0gl1QvbUDuiUqRYVv58CFcdY3HougCKQRO?= =?us-ascii?Q?SKhBZhV7YCiSZOZVyi8WPqJfyii4N6N3jkxQP5siHdLTgVxxxqsw1AdGGPV/?= =?us-ascii?Q?BfFf6wOgSRTK6N8Ibq2fcdf0O4oe4TkXWOjZhPf5LYHVUFqm/HyrQ7ZHNvyT?= =?us-ascii?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D?= =?us-ascii?Q?yI4N/AZrykaksFZGuRRD7HZHBEqJ4z9SDtL6U3srQdxnzvG9cOnC6/qy/J2u?= =?us-ascii?Q?9QhBM3uwGnrDHaf6/WbFUmOIcJYmzv4DQcBiZY31A27iPMm7tfIhb5nOKZvN?= =?us-ascii?Q?i4vTyvA/J/jltji1wvSCEXGX7o354eswaNxZP2FteRoGOyK8A3TMt4Rdk2BI?= =?us-ascii?Q?eMcUo+gHP4GMwh4lP5sV5AYuD4YXUhQfUNhh8/VpQzl7h3yk1p57Bq10BL+o?= =?us-ascii?Q?eXJxQ6X8yPacGbCC9M/HoRxJZ6qrjn5JyzBMxHTT21Cthymr7pW9cuKB1X8v?= =?us-ascii?Q?MNdxL6GKcL2r1Nj6DDQUETH7xBc6K6hES9SUOq4F?= 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: 0492e65a-c519-4dca-89fb-08dc39b681fb X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2024 06:12:00.6838 (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: Iq6xO7nyEj2GTUC1Agocq4B14YtpdIQm5jHn4QJam1XKJ7FioQ3A/X3lJuPktkeI+LqhUZabsa/B4glEUs4DuQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR18MB4123 X-Proofpoint-ORIG-GUID: EqYAul48AKz38hNtDc1UF2CpYJnofm7Z X-Proofpoint-GUID: EqYAul48AKz38hNtDc1UF2CpYJnofm7Z 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-03-01_03,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 a new QAT LCE device. > The device currently only supports symmetric crypto, > and only the AES-GCM algorithm. >=20 > v8: Rebased on latest next-crypto-for-main. > v7: > - Squashed patch 1 and 2. > - Fixed formatting to leverage 100 char line limit. > - Removed unnecessary whitespace and indent changes. > - Fixed copyright year typo on new file. > - Added second developer to commit message signed-off tags. > v6: > - Added documentation and release note changes. > - Removed unused device PCI ID. > v5: > - Fixed compilation issue by replacing __u8 with uint8_t. > v4: > - Fixed cover letter, v3 included the wrong details relating > to another patchset. > v3: > - Fixed typos in commit and code comments. > - Replaced use of linux/kernel.h macro with local macro > to fix ARM compilation in CI. > v2: > - Renamed device from GEN 5 to GEN LCE. > - Removed unused code. > - Updated macro names. >=20 > Nishikant Nayak (3): > common/qat: add support for GEN LCE device > crypto/qat: update headers for GEN LCE support > test/cryptodev: add tests for GCM with 64 byte AAD >=20 > .mailmap | 1 + > app/test/test_cryptodev.c | 43 ++- > app/test/test_cryptodev_aead_test_vectors.h | 62 ++++ > doc/guides/cryptodevs/qat.rst | 1 + > doc/guides/rel_notes/release_24_03.rst | 1 + > drivers/common/qat/dev/qat_dev_gen_lce.c | 295 +++++++++++++++++ > drivers/common/qat/meson.build | 2 + > .../qat/qat_adf/adf_transport_access_macros.h | 1 + > .../adf_transport_access_macros_gen_lce.h | 51 +++ > .../adf_transport_access_macros_gen_lcevf.h | 48 +++ > drivers/common/qat/qat_adf/icp_qat_fw.h | 34 ++ > drivers/common/qat/qat_adf/icp_qat_fw_la.h | 59 +++- > drivers/common/qat/qat_common.h | 1 + > drivers/common/qat/qat_device.c | 5 + > .../crypto/qat/dev/qat_crypto_pmd_gen_lce.c | 310 ++++++++++++++++++ > drivers/crypto/qat/qat_sym.c | 14 +- > drivers/crypto/qat/qat_sym.h | 57 +++- > drivers/crypto/qat/qat_sym_session.c | 57 +++- > drivers/crypto/qat/qat_sym_session.h | 10 +- > 19 files changed, 1037 insertions(+), 15 deletions(-) > create mode 100644 drivers/common/qat/dev/qat_dev_gen_lce.c > create mode 100644 > drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lce.h > create mode 100644 > drivers/common/qat/qat_adf/adf_transport_access_macros_gen_lcevf.h > create mode 100644 drivers/crypto/qat/dev/qat_crypto_pmd_gen_lce.c >=20 Applied to dpdk-next-crypto Thanks.