From patchwork Fri Aug 11 12:38:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ciara Power X-Patchwork-Id: 130162 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A4F0443033; Fri, 11 Aug 2023 14:38:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 959CA43247; Fri, 11 Aug 2023 14:38:40 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id C0D3943247 for ; Fri, 11 Aug 2023 14:38:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1691757518; x=1723293518; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=M69COeex88yIM2BGOeGikzNTuIkvwtcpga2FhRfZXHM=; b=TcaTd9OetIVwiT2Sl7BSyq210RGKuOrCIJCnatWDF14XJk9z52TSvOXn u8+NFli/hVkqnaZreeCJCvmPFzafuuGEJGXhbF9eOCIljLlMg9Y9gCHzk iljJc6BWMndSNjhCuazWSE4VPObl2j9ySqTUv82S+ODwsCdp/y9UmQiAp 1Y8hzIuzbAV44/jbZ7de+KathD9qI67UQdXcRUBnFgi+attMiuT54+XFz KyusW3+bOV4kezIjruToixRGXH95BZamxOH6qNHnOFCrBOWHeAKB7fAjH xhoGB28549+tSsoX7J2VoKXqtz4yZzxcd/06mGGdOQv1v+zD08VAoH+yE w==; X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="435562182" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="435562182" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Aug 2023 05:38:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10798"; a="726251665" X-IronPort-AV: E=Sophos;i="6.01,165,1684825200"; d="scan'208";a="726251665" Received: from silpixa00400355.ir.intel.com (HELO silpixa00400355.ger.corp.intel.com) ([10.237.222.80]) by orsmga007.jf.intel.com with ESMTP; 11 Aug 2023 05:38:36 -0700 From: Ciara Power To: dev@dpdk.org Cc: arkadiuszx.kusztal@intel.com, Ciara Power , Kai Ji Subject: [PATCH] common/qat: enable gen4 c devices Date: Fri, 11 Aug 2023 12:38:33 +0000 Message-Id: <20230811123833.3114791-1-ciara.power@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 commit enables QAT 2.0c devices in the Intel QuickAssist Technology PMD. Signed-off-by: Ciara Power --- doc/guides/cryptodevs/qat.rst | 4 ++++ doc/guides/rel_notes/release_23_11.rst | 3 +++ drivers/common/qat/qat_device.c | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index afdfb0bd22..fc5a212d00 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 | 402xxx | linux/6.4+ | qat_402xxx | 4xxx | 4944 | 2 | 4945 | 16 | + +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+ + | Yes | No | No | 4 | 402xxx | IDZ/ N/A | qat_402xxx | 4xxx | 4944 | 2 | 4945 | 16 | + +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+ * Note: Symmetric mixed crypto algorithms feature on Gen 2 works only with IDZ driver version 4.9.0+ diff --git a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst index 4411bb32c1..3bdd51a4a5 100644 --- a/doc/guides/rel_notes/release_23_11.rst +++ b/doc/guides/rel_notes/release_23_11.rst @@ -72,6 +72,9 @@ New Features Also, make sure to start the actual text at the margin. ======================================================= +* **Added support for QAT 2.0c devices to Intel QuickAssist Technology PMD.** + + * QAT 2.0c (4944) devices are now enabled for QAT. 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[] = { { RTE_PCI_DEVICE(0x8086, 0x4943), }, + { + RTE_PCI_DEVICE(0x8086, 0x4945), + }, {.device_id = 0}, }; @@ -202,6 +205,7 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev, break; case 0x4941: case 0x4943: + case 0x4945: qat_dev_gen = QAT_GEN4; break; default: