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 3DB3FA034F; Tue, 28 Dec 2021 10:50:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01DDD40040; Tue, 28 Dec 2021 10:50:04 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id E0FE84003C for ; Tue, 28 Dec 2021 10:50:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640685002; x=1672221002; h=from:to:cc:subject:date:message-id; bh=Js+kwBNJY2hxQDV1kkcuIURA7tSSTsJqIq5d6+Nsva4=; b=TEvG0NgIGRw+lmpPr96td585Q3NuUclsRTupH88L0Ixz0ctgextAs6QA +4wahVA9PmKuALxotUgJ9NMvtdUvL21Lzuo1V7ZxQvSULHheQm8RGSgwm FAbAvWTAFWD+v2WK0q2Tyz/YmsAFoqHhepskbA77Gc41/6ZmsHs3Dze/H YmIl0JDGOrwCaO4ZTR8KfDBzI7BwJyLyCORwbul+Na/eUkaRMr3kX5drA rqABLPQ4z/KtE4N6ddkDHD1XBtG62a0tKtUwE2S2yxCVKSHTSEQWwxZyu suXBZG+uFodV5T4CvBSs94Jr+e45Hms9itE+Nfpw1kay2rV90ZXPoJZiB w==; X-IronPort-AV: E=McAfee;i="6200,9189,10210"; a="327669476" X-IronPort-AV: E=Sophos;i="5.88,242,1635231600"; d="scan'208";a="327669476" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Dec 2021 01:50:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,242,1635231600"; d="scan'208";a="618705693" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga004.jf.intel.com with ESMTP; 28 Dec 2021 01:49:59 -0800 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Subject: [PATCH] common/qat: enable gen4 b devices Date: Tue, 28 Dec 2021 09:49:54 +0000 Message-Id: <20211228094954.22743-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 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 CPM2.0b devices in Intel QuickAssist Technology PMD. Signed-off-by: Arek Kusztal --- doc/guides/cryptodevs/qat.rst | 2 ++ doc/guides/rel_notes/release_22_03.rst | 4 ++++ drivers/common/qat/qat_device.c | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index 666a01df33..88a50b2816 100644 --- a/doc/guides/cryptodevs/qat.rst +++ b/doc/guides/cryptodevs/qat.rst @@ -377,6 +377,8 @@ to see the full table) +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+ | Yes | No | No | 4 | 4xxx | N/A | qat_4xxx | 4xxx | 4940 | 4 | 4941 | 16 | +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+ + | Yes | No | No | 4 | 401xxx | N/A | qat_401xxx | 4xxx | 4942 | 2 | 4943 | 16 | + +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+ * Note: Symmetric mixed crypto algorithms feature on Gen 2 works only with 01.org driver version 4.9.0+ diff --git a/doc/guides/rel_notes/release_22_03.rst b/doc/guides/rel_notes/release_22_03.rst index 6d99d1eaa9..49917d0a4f 100644 --- a/doc/guides/rel_notes/release_22_03.rst +++ b/doc/guides/rel_notes/release_22_03.rst @@ -55,6 +55,10 @@ New Features Also, make sure to start the actual text at the margin. ======================================================= +* **Added support for CPM2.0b devices to Intel QuickAssist Technology PMD.** + + * CPM2.0b (4942) 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 437996f2e8..1f870d689a 100644 --- a/drivers/common/qat/qat_device.c +++ b/drivers/common/qat/qat_device.c @@ -47,6 +47,9 @@ static const struct rte_pci_id pci_id_qat_map[] = { { RTE_PCI_DEVICE(0x8086, 0x4941), }, + { + RTE_PCI_DEVICE(0x8086, 0x4943), + }, {.device_id = 0}, }; @@ -192,6 +195,7 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev, qat_dev_gen = QAT_GEN3; break; case 0x4941: + case 0x4943: qat_dev_gen = QAT_GEN4; break; default: -- 2.30.2