Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74846/?format=api
http://patches.dpdk.org/api/patches/74846/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200727101408.3539-2-adamx.dybkowski@intel.com/", "project": { "id": 1, "url": "http://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": "<20200727101408.3539-2-adamx.dybkowski@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200727101408.3539-2-adamx.dybkowski@intel.com", "date": "2020-07-27T10:14:07", "name": "[v5,1/2] common/qat: support GEN2 QAT device 200xx", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "f9609cf38923f9cdb67ffb4e0a2cab31e774c6ff", "submitter": { "id": 1322, "url": "http://patches.dpdk.org/api/people/1322/?format=api", "name": "Dybkowski, AdamX", "email": "adamx.dybkowski@intel.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200727101408.3539-2-adamx.dybkowski@intel.com/mbox/", "series": [ { "id": 11320, "url": "http://patches.dpdk.org/api/series/11320/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11320", "date": "2020-07-27T10:14:06", "name": "common/qat: support GEN2 QAT device 200xx", "version": 5, "mbox": "http://patches.dpdk.org/series/11320/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/74846/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/74846/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 C10B2A0524;\n\tMon, 27 Jul 2020 12:16:27 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 945681C029;\n\tMon, 27 Jul 2020 12:16:22 +0200 (CEST)", "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id DBD141BFDD\n for <dev@dpdk.org>; Mon, 27 Jul 2020 12:16:19 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 27 Jul 2020 03:16:18 -0700", "from unknown (HELO adamdybx-MOBL.ger.corp.intel.com)\n ([10.104.113.9])\n by orsmga002.jf.intel.com with ESMTP; 27 Jul 2020 03:16:17 -0700" ], "IronPort-SDR": [ "\n z6QzpWWeNwxlf5blyAKlOJxoxX80XcnTBNZF8lDeTXb1ZqZcgm2xS/Mtzj/OYtGEnvrPG5y94B\n jAvzBNfDDhlA==", "\n zgUvlM4ruoI1UW3QQJJInNj0GRw4uM4u8VBnmieihslEVmZhfy9IwVWWTpZ2/fROpL6k6Ixq7I\n grMDYWobNaeQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6000,8403,9694\"; a=\"131050245\"", "E=Sophos;i=\"5.75,402,1589266800\"; d=\"scan'208\";a=\"131050245\"", "E=Sophos;i=\"5.75,402,1589266800\"; d=\"scan'208\";a=\"303405227\"" ], "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": "Mon, 27 Jul 2020 12:14:07 +0200", "Message-Id": "<20200727101408.3539-2-adamx.dybkowski@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20200727101408.3539-1-adamx.dybkowski@intel.com>", "References": "<20200722080720.5977-1-adamx.dybkowski@intel.com>\n <20200727101408.3539-1-adamx.dybkowski@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v5 1/2] 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>\nAcked-by: Fiona Trahe <fiona.trahe@intel.com>\n---\n doc/guides/cryptodevs/qat.rst | 7 +++++--\n doc/guides/rel_notes/release_20_08.rst | 2 ++\n drivers/common/qat/qat_device.c | 6 +++++-\n 3 files changed, 12 insertions(+), 3 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 d65f77250..bb4a10053 100644\n--- a/doc/guides/rel_notes/release_20_08.rst\n+++ b/doc/guides/rel_notes/release_20_08.rst\n@@ -200,6 +200,8 @@ New Features\n ``rte_security`` API.\n * Added Chacha20-Poly1305 AEAD algorithm.\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": [ "v5", "1/2" ] }{ "id": 74846, "url": "