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 2B514425D7; Mon, 18 Sep 2023 16:31:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D201E4025D; Mon, 18 Sep 2023 16:31:45 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 5EB044025C for ; Mon, 18 Sep 2023 16:31:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695047504; x=1726583504; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=laov3qzeYb91ygIO7YgmrMq5t9xy5XmFcuvyVzgV2MI=; b=W5YESngY1eEpLYWjncshmHP5qGu/ed/2uys9AqYZI0ARlg5sN+zqLaQN ZMs92BZniPZlhAiFJ6VcuStiysEftn1RouHMFyZWJRnvTVBeikSGPbc91 Irxzebu97IAY6EORKNHSg4+PHCtAQN/y4i3VcR76nqpwyVoY7rD4HLAt/ x3ifkx7jpZzuCBaWg5v2mYzXrtTaezps06dwk8tgN4daIDaJnCL+aGjVy gFWzEH9KAlIPyD6oOnnZ65QsMOBMQ13U2SOBTWvTvZKxdusupHdsGawL1 OMF8+U07TnyoSaoH2qf1XeDe8Machg4GEy8UPDDDTSFNZ643egn8Qxbjh Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="359920741" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="359920741" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2023 07:31:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10837"; a="722476489" X-IronPort-AV: E=Sophos;i="6.02,156,1688454000"; d="scan'208";a="722476489" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Sep 2023 07:31:31 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Mon, 18 Sep 2023 07:31:31 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32 via Frontend Transport; Mon, 18 Sep 2023 07:31:31 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.173) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.32; Mon, 18 Sep 2023 07:31:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K6Mz8CluosbmKH9/g4QHCjA7Dupdtnkb0vtRSXj4SnoupSy2SKMCH3GQCAh8WZAhYIhk8YDPLjN3sDbosflpfz+DanDRLcOoLAdzsOpn5/j+Lz1uyu3gvB7f591wkA547ZW5+p9fNkqX2TTRp77BJaBrQF2Nk4MrrQ7y2O7fKIoU+qRGatqbNyDA2YLj5BdVgvfLlB3FZEAGHj8THngAbxzydh+YVnNoTxw3L2eVLOnUbICHYisMtMSOIMohmo/pXymOxtqtALvY49meMB5Ebee2uXGP1eyVWNzYODo2I908MwuL+zhdvrT12jQ1W9znD5eJ5zOjLzyBoPeQSDA4GA== 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=0soPWA6Eq1dQ0pY83QLAF1yIzYyigh8igyyaFI76JAg=; b=eFkt67UdFYXYj1fymMu2LbJbwrRhC6z1JLMbDnWTJc25vm+89rxoaTjhxRzdva6IMWSsc1e2h5xCNsFWQOn1OkFUiq4nl5W7JVqTzYVFNZ8lWYo+2rNmPB+0Dt/R62ou0QAwQ3FVdIts3YwSAUf1c/PWgM2fENMBbXNE62085z863QGOEM3R4SWdIZ/O4Weo1w61rlkN25AaNZXzbha9tzuOMJr9fOsfI6tXLKVmFzBOJnzF3qPaWJ5Eku+vw7LCeZDzizehveoB2WAIZ5b29NUrywqp1oXiKd21+us6qFUTahvT7IL4Ns4nCvbb0UD/9ipJz6LjYyUmCuGkEu9ykw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SJ0PR11MB5056.namprd11.prod.outlook.com (2603:10b6:a03:2d5::6) by DM4PR11MB7760.namprd11.prod.outlook.com (2603:10b6:8:100::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26; Mon, 18 Sep 2023 14:31:27 +0000 Received: from SJ0PR11MB5056.namprd11.prod.outlook.com ([fe80::fdd1:4474:f026:bd87]) by SJ0PR11MB5056.namprd11.prod.outlook.com ([fe80::fdd1:4474:f026:bd87%3]) with mapi id 15.20.6792.026; Mon, 18 Sep 2023 14:31:27 +0000 From: "Dooley, Brian" To: "Power, Ciara" , "dev@dpdk.org" CC: "Kusztal, ArkadiuszX" , "david.marchand@redhat.com" , "Power, Ciara" , "Ji, Kai" Subject: RE: [PATCH v2] common/qat: enable QAT 2.0c devices Thread-Topic: [PATCH v2] common/qat: enable QAT 2.0c devices Thread-Index: AQHZ1BK8m35Sh3pp2kKHfNYzwhk8xrAg0NSg Date: Mon, 18 Sep 2023 14:31:27 +0000 Message-ID: References: <20230811123833.3114791-1-ciara.power@intel.com> <20230821093349.3519591-1-ciara.power@intel.com> In-Reply-To: <20230821093349.3519591-1-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SJ0PR11MB5056:EE_|DM4PR11MB7760:EE_ x-ms-office365-filtering-correlation-id: 3a83ff62-8dc4-4c11-f047-08dbb853f193 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CSgVo2PjI4g80zEb6Q+/DV9S0rY2R+LRBYefDw9ZFeEwLPDwpo3lv5r7DJAXSKIGFwjwjecQ3dpqEtxJvgit2RXmr5F2uGOttSj4qaGzHf7K4+vrQXAM/1bzgBWczv1PctOCzIdcA+tTjnnIPGkFvfCZ8HhkCdC62gVURyaBXOxbEfswiaBD0iEi5fLbLjRM+4zcEK0B3hh5GbnK7GFU9evPWP1hU3F0cucgCFOGRt64mWVI7MVd75yTIL0FeML9nWogcOvVuIdmgPNSWJaZn3o15Isgg/RMlfIiwDQA+QPpcEBmf9/hy33Rc7Q/q2a6qZkS3kFsb0SwY0WtzHSC9rX0VHzd99oRIscDWu3fkR9K1KO59UBc93JU/axoifPu9rX9dtgon7kK3AWm2LID3EdejG+diM/MsMF4c7DqgvHcHmouXSSiisfE/Mx6ByyDi6h2LBdi3ijoAj979Dwsl4QeOpR5iDcOt3Pbt/GSmTEhdIZ1IwRf0WiQB+0qFamjnT1RHVIiayujlIuOwcDOJbV3PHrteiSaTfm5jsEUbLSx+h7i4v+1HRAfLRAzI+rq+hd85fjImsvFjzkNazzxDlUzxZwkckdnwENtTuCv/us5IKcwnxGl5oqX9zDzU53o x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR11MB5056.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(366004)(396003)(376002)(39860400002)(346002)(186009)(1800799009)(451199024)(26005)(52536014)(82960400001)(8936002)(4326008)(122000001)(8676002)(107886003)(83380400001)(2906002)(33656002)(5660300002)(55016003)(86362001)(53546011)(7696005)(6506007)(478600001)(71200400001)(316002)(54906003)(9686003)(110136005)(76116006)(41300700001)(64756008)(66946007)(38100700002)(66556008)(66446008)(38070700005)(66476007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oFfGhoeJO0V2hZ64zqIvOT1HzDjHQ40g69DYwn/j3lXiBy/hrlzViGGbsj9y?= =?us-ascii?Q?X7yC7wB2zuD9HwjotxUpPhbFJkq6iwK56EFqekvtHgPap+E2PwhKrOfHNJUn?= =?us-ascii?Q?W3tEHWDqsPIipybkFNQDoPVEdP4pT7u3Z4X9uqsROpVIP+LZH+ROKauYl808?= =?us-ascii?Q?aHA335sHnImRKGzJftsLVqIPFQqrSpyYAA5+fynKzfyRTOuqkiR0Sc7Cvpbv?= =?us-ascii?Q?8ZQ+7O4uG5bUkL0kbuQH7RdBE5b5KhvKOE9BoQuhvjvImm2ZJHu/Q+iBTtH3?= =?us-ascii?Q?fLsWip8BI9jBN3s5ZLFBXtw48Dttcc0nH2oVFtma4Z8vBI5yOn6umeI1XPUF?= =?us-ascii?Q?EwjeR/7znZp2okPTro3CyUM0Mg62jX+1dijwoKJFBjquFK1OOL/5xIgnj4lA?= =?us-ascii?Q?BP8QBeNBqbms4pgQ9X/IaPDYtN8hqPF/y2egsnFMjq9wv5S52MbXvGz5XHVD?= =?us-ascii?Q?JTpruF+1qHNgnBSP+p83Kz0Vbtun1TkPfJXs7Xqp2RjrDeCOEfw0khFoyXsD?=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GMe3FLkpUwA/1UWb46NQNik?= =?us-ascii?Q?sHM3NdxyZiWgPB1jBbE8jsdOCkU0qBxbcrNPIk7vC6rQi0mG6gFWXnXfHyYy?= =?us-ascii?Q?70TdQgOgiuhkZR9YqONsB+Y75uMErvcjL2WbwSOgmr1s0nztNVmI4AwTXWAU?= =?us-ascii?Q?yt8YWElHVXO3ekQkNGJ1ahIEC7zLaMa0ydMtDkBD?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5056.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3a83ff62-8dc4-4c11-f047-08dbb853f193 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2023 14:31:27.7785 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: a84n9CLHiwVWfvaaih+M5dlSsMhzKcwykJpby+e6Vk0CpSrn3Y3+OikZyzRbT/PhrIq7Rv2StT5B4cJrCSyheg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB7760 X-OriginatorOrg: intel.com 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 Hi Ciara, > -----Original Message----- > From: Ciara Power > Sent: Monday, August 21, 2023 10:34 AM > To: dev@dpdk.org > Cc: Kusztal, ArkadiuszX ; > david.marchand@redhat.com; Power, Ciara ; Ji, Kai > > Subject: [PATCH v2] common/qat: enable QAT 2.0c devices >=20 > This commit enables QAT 2.0c devices in the Intel QuickAssist Technology > PMD. > These are 4th Generation QAT, 402xx devices. >=20 > Signed-off-by: Ciara Power >=20 > --- > v2: > - Fixed kernel module. > - Modified commit to align naming of new QAT device. > --- > doc/guides/cryptodevs/qat.rst | 4 ++++ > doc/guides/rel_notes/release_23_11.rst | 4 ++++ > drivers/common/qat/qat_device.c | 4 ++++ > 3 files changed, 12 insertions(+) >=20 > diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rs= t > index afdfb0bd22..730113da33 100644 > --- a/doc/guides/cryptodevs/qat.rst > +++ b/doc/guides/cryptodevs/qat.rst > @@ -457,6 +457,10 @@ to see the full table) > +-----+-----+-----+-----+----------+---------------+---------------+-= -----------+------- > -+------+--------+--------+ > | Yes | No | No | 4 | 401xxx | IDZ/ N/A | qat_401xxx | = 4xxx | > 4942 | 2 | 4943 | 16 | > +-----+-----+-----+-----+----------+---------------+---------------+-= -----------+------- > -+------+--------+--------+ > + | Yes | Yes | Yes | 4 | 402xx | linux/6.4+ | qat_4xxx | = 4xxx | 4944 > | 2 | 4945 | 16 | > + +-----+-----+-----+-----+----------+---------------+---------------+-= -----------+------ > --+------+--------+--------+ > + | Yes | No | No | 4 | 402xx | IDZ/ N/A | qat_4xxx | = 4xxx | 4944 > | 2 | 4945 | 16 | > + > + +-----+-----+-----+-----+----------+---------------+---------------+-- > + ----------+--------+------+--------+--------+ >=20 > * Note: Symmetric mixed crypto algorithms feature on Gen 2 works only wi= th > IDZ driver version 4.9.0+ >=20 > diff --git a/doc/guides/rel_notes/release_23_11.rst > b/doc/guides/rel_notes/release_23_11.rst > index 4411bb32c1..72dfb3fbf0 100644 > --- a/doc/guides/rel_notes/release_23_11.rst > +++ b/doc/guides/rel_notes/release_23_11.rst > @@ -72,6 +72,10 @@ New Features > Also, make sure to start the actual text at the margin. > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > +* **Added support for QAT 2.0c devices to Intel QuickAssist Technology > +PMD.** > + > + * QAT 2.0c (4944) devices are now enabled for QAT. > + >=20 > Removed Items > ------------- > diff --git a/drivers/common/qat/qat_device.c > b/drivers/common/qat/qat_device.c index 2675f0d9d1..cbf1e6a988 100644 > --- a/drivers/common/qat/qat_device.c > +++ b/drivers/common/qat/qat_device.c > @@ -50,6 +50,9 @@ static const struct rte_pci_id pci_id_qat_map[] =3D { > { > RTE_PCI_DEVICE(0x8086, 0x4943), > }, > + { > + RTE_PCI_DEVICE(0x8086, 0x4945), > + }, > {.device_id =3D 0}, > }; >=20 > @@ -202,6 +205,7 @@ qat_pci_device_allocate(struct rte_pci_device > *pci_dev, > break; > case 0x4941: > case 0x4943: > + case 0x4945: > qat_dev_gen =3D QAT_GEN4; > break; > default: > -- > 2.25.1 Acked-by: Brian Dooley