Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74609/?format=api
https://patches.dpdk.org/api/patches/74609/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200722080720.5977-2-adamx.dybkowski@intel.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20200722080720.5977-2-adamx.dybkowski@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200722080720.5977-2-adamx.dybkowski@intel.com", "date": "2020-07-22T08:07:20", "name": "[v4,1/1] common/qat: support GEN2 QAT device 200xx", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "5e265b33a8790e30d9cdfcbb6e38e9851f2df4a0", "submitter": { "id": 1322, "url": "https://patches.dpdk.org/api/people/1322/?format=api", "name": "Dybkowski, AdamX", "email": "adamx.dybkowski@intel.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200722080720.5977-2-adamx.dybkowski@intel.com/mbox/", "series": [ { "id": 11230, "url": "https://patches.dpdk.org/api/series/11230/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11230", "date": "2020-07-22T08:07:19", "name": "common/qat: support GEN2 QAT device 200xx", "version": 4, "mbox": "https://patches.dpdk.org/series/11230/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/74609/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/74609/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id BBEB3A0526;\n\tWed, 22 Jul 2020 10:08:14 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 2931E1BFEF;\n\tWed, 22 Jul 2020 10:08:12 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id BB8F61BFE7\n for <dev@dpdk.org>; Wed, 22 Jul 2020 10:08:07 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jul 2020 01:08:06 -0700", "from adamdybx-mobl.ger.corp.intel.com ([10.104.121.92])\n by orsmga002.jf.intel.com with ESMTP; 22 Jul 2020 01:08:05 -0700" ], "IronPort-SDR": [ "\n 6rj065k3WNQCXqWzWaGJc/tpCQMA/cMwuYqsEmh+1WC7ZLi6zbTX+pYgxit+gUSfr/G9ZwV2Fw\n GOngDvvHAVGQ==", "\n pH7M2yReGLq415rYr/Sm7dI79TPwXKgpdEEllFRUI+uJPu/dnHJZ/qVKdzjbn1dNKyXP+6teHu\n XYWeXM8tqgwA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9689\"; a=\"214928885\"", "E=Sophos;i=\"5.75,381,1589266800\"; d=\"scan'208\";a=\"214928885\"", "E=Sophos;i=\"5.75,381,1589266800\"; d=\"scan'208\";a=\"301878762\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Adam Dybkowski <adamx.dybkowski@intel.com>", "To": "dev@dpdk.org,\n\tfiona.trahe@intel.com,\n\takhil.goyal@nxp.com", "Cc": "Adam Dybkowski <adamx.dybkowski@intel.com>", "Date": "Wed, 22 Jul 2020 10:07:20 +0200", "Message-Id": "<20200722080720.5977-2-adamx.dybkowski@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200722080720.5977-1-adamx.dybkowski@intel.com>", "References": "<20200716114723.965-1-adamx.dybkowski@intel.com>\n <20200722080720.5977-1-adamx.dybkowski@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v4 1/1] common/qat: support GEN2 QAT device 200xx", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This adds pci detection and documentation for Intel GEN2\nQuickAssist device 200xx (PF Did 0x18ee, VF Did 0x18ef).\n\nSigned-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>\n---\n doc/guides/cryptodevs/qat.rst | 7 +++++--\n doc/guides/rel_notes/release_20_08.rst | 8 +++++---\n drivers/common/qat/qat_device.c | 6 +++++-\n 3 files changed, 15 insertions(+), 6 deletions(-)", "diff": "diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst\nindex 7ede427a2..e5d2cf499 100644\n--- a/doc/guides/cryptodevs/qat.rst\n+++ b/doc/guides/cryptodevs/qat.rst\n@@ -22,6 +22,7 @@ poll mode crypto driver support for the following hardware accelerator devices:\n * ``Intel QuickAssist Technology DH895xCC``\n * ``Intel QuickAssist Technology C62x``\n * ``Intel QuickAssist Technology C3xxx``\n+* ``Intel QuickAssist Technology 200xx``\n * ``Intel QuickAssist Technology D15xx``\n * ``Intel QuickAssist Technology C4xxx``\n \n@@ -393,6 +394,8 @@ to see the full table)\n +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+\n | Yes | Yes | Yes | \" | \" | 01.org/4.2.0+ | \" | \" | \" | \" | \" | \" |\n +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+\n+ | Yes | No | No | 2 | 200xx | p | qat_200xx | 200xx | 18ee | 1 | 18ef | 16 |\n+ +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+\n | Yes | No | No | 2 | D15xx | 01.org/4.2.0+ | qat_d15xx | d15xx | 6f54 | 1 | 6f55 | 16 |\n +-----+-----+-----+-----+----------+---------------+---------------+------------+--------+------+--------+--------+\n | Yes | No | No | 3 | C4xxx | p | qat_c4xxx | c4xxx | 18a0 | 1 | 18a1 | 128 |\n@@ -619,8 +622,8 @@ adjust the unbind command below::\n done; \\\n done\n \n-For Intel(R) QuickAssist Technology C3xxx or D15xx device\n-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+For Intel(R) QuickAssist Technology C3xxx or 200xx or D15xx device\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n \n The unbind command below assumes ``BDFs`` of ``01:01.00-01:02.07``, if your\n VFs are different adjust the unbind command below::\ndiff --git a/doc/guides/rel_notes/release_20_08.rst b/doc/guides/rel_notes/release_20_08.rst\nindex 2c8ac3647..48620e823 100644\n--- a/doc/guides/rel_notes/release_20_08.rst\n+++ b/doc/guides/rel_notes/release_20_08.rst\n@@ -187,10 +187,12 @@ New Features\n \n * **Updated the QuickAssist Technology (QAT) PMD.**\n \n- * Added support for lookaside protocol offload for DOCSIS through the\n- ``rte_security`` API.\n- * Added Chacha20-Poly1305 AEAD algorithm.\n+ * Added support for lookaside protocol offload in QAT crypto PMD\n+ for DOCSIS through the ``rte_security`` API.\n+ * Added Chacha20-Poly1305 AEAD algorithm in QAT crypto PMD.\n * Improved handling of multi process in QAT crypto and compression PMDs.\n+ * Added support for Intel GEN2 QuickAssist device 200xx\n+ (PF Did 0x18ee, VF Did 0x18ef).\n \n * **Updated the OCTEON TX2 crypto PMD.**\n \ndiff --git a/drivers/common/qat/qat_device.c b/drivers/common/qat/qat_device.c\nindex a6ab29f95..b050ce20e 100644\n--- a/drivers/common/qat/qat_device.c\n+++ b/drivers/common/qat/qat_device.c\n@@ -1,5 +1,5 @@\n /* SPDX-License-Identifier: BSD-3-Clause\n- * Copyright(c) 2018 Intel Corporation\n+ * Copyright(c) 2018-2020 Intel Corporation\n */\n \n #include <rte_string_fns.h>\n@@ -53,6 +53,9 @@ static const struct rte_pci_id pci_id_qat_map[] = {\n \t\t{\n \t\t\tRTE_PCI_DEVICE(0x8086, 0x6f55),\n \t\t},\n+\t\t{\n+\t\t\tRTE_PCI_DEVICE(0x8086, 0x18ef),\n+\t\t},\n \t\t{\n \t\t\tRTE_PCI_DEVICE(0x8086, 0x18a1),\n \t\t},\n@@ -223,6 +226,7 @@ qat_pci_device_allocate(struct rte_pci_device *pci_dev,\n \tcase 0x37c9:\n \tcase 0x19e3:\n \tcase 0x6f55:\n+\tcase 0x18ef:\n \t\tqat_dev->qat_dev_gen = QAT_GEN2;\n \t\tbreak;\n \tcase 0x18a1:\n", "prefixes": [ "v4", "1/1" ] }{ "id": 74609, "url": "