Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96359/?format=api
http://patchwork.dpdk.org/api/patches/96359/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210728161831.6807-3-arkadiuszx.kusztal@intel.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20210728161831.6807-3-arkadiuszx.kusztal@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210728161831.6807-3-arkadiuszx.kusztal@intel.com", "date": "2021-07-28T16:18:31", "name": "[2/2] crypto/qat: fix asymmetric crypto pmd create on gen3", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "c4851230137d472a6784ba215a80e1212b84e8d5", "submitter": { "id": 452, "url": "http://patchwork.dpdk.org/api/people/452/?format=api", "name": "Arkadiusz Kusztal", "email": "arkadiuszx.kusztal@intel.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210728161831.6807-3-arkadiuszx.kusztal@intel.com/mbox/", "series": [ { "id": 18041, "url": "http://patchwork.dpdk.org/api/series/18041/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=18041", "date": "2021-07-28T16:18:29", "name": "drivers/qat: fix handling of unsupported services", "version": 1, "mbox": "http://patchwork.dpdk.org/series/18041/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96359/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/96359/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 035B8A0A0C;\n\tWed, 28 Jul 2021 18:18:53 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6D96541109;\n\tWed, 28 Jul 2021 18:18:46 +0200 (CEST)", "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by mails.dpdk.org (Postfix) with ESMTP id 128CF41103\n for <dev@dpdk.org>; Wed, 28 Jul 2021 18:18:44 +0200 (CEST)", "from fmsmga003.fm.intel.com ([10.253.24.29])\n by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 09:18:40 -0700", "from silpixa00400308.ir.intel.com ([10.237.214.190])\n by FMSMGA003.fm.intel.com with ESMTP; 28 Jul 2021 09:18:38 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10059\"; a=\"192290670\"", "E=Sophos;i=\"5.84,276,1620716400\"; d=\"scan'208\";a=\"192290670\"", "E=Sophos;i=\"5.84,276,1620716400\"; d=\"scan'208\";a=\"506588754\"" ], "X-ExtLoop1": "1", "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>", "To": "dev@dpdk.org", "Cc": "gakhil@marvell.com, fiona.trahe@intel.com, roy.fan.zhang@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>", "Date": "Wed, 28 Jul 2021 17:18:31 +0100", "Message-Id": "<20210728161831.6807-3-arkadiuszx.kusztal@intel.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20210728161831.6807-1-arkadiuszx.kusztal@intel.com>", "References": "<20210728161831.6807-1-arkadiuszx.kusztal@intel.com>", "Subject": "[dpdk-dev] [PATCH 2/2] crypto/qat: fix asymmetric crypto pmd create\n on gen3", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "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 patch disables asymmetric crypto pmd on gen3 devices.\n\nFixes: 1f5e4053f9b4 (\"common/qat: support GEN3 devices\")\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/qat/qat_asym_pmd.c | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/drivers/crypto/qat/qat_asym_pmd.c b/drivers/crypto/qat/qat_asym_pmd.c\nindex d4680c3847..4891766471 100644\n--- a/drivers/crypto/qat/qat_asym_pmd.c\n+++ b/drivers/crypto/qat/qat_asym_pmd.c\n@@ -255,6 +255,10 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev,\n \t\tQAT_LOG(ERR, \"Asymmetric crypto PMD not supported on QAT 4xxx\");\n \t\treturn -(EFAULT);\n \t}\n+\tif (qat_pci_dev->qat_dev_gen == QAT_GEN3) {\n+\t\tQAT_LOG(ERR, \"Asymmetric crypto PMD not supported on QAT c4xxx\");\n+\t\treturn -(EFAULT);\n+\t}\n \tsnprintf(name, RTE_CRYPTODEV_NAME_MAX_LEN, \"%s_%s\",\n \t\t\tqat_pci_dev->name, \"asym\");\n \tQAT_LOG(DEBUG, \"Creating QAT ASYM device %s\\n\", name);\n", "prefixes": [ "2/2" ] }{ "id": 96359, "url": "