get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/95699/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 95699,
    "url": "https://patches.dpdk.org/api/patches/95699/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210712081633.3156-1-arkadiuszx.kusztal@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": "<20210712081633.3156-1-arkadiuszx.kusztal@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210712081633.3156-1-arkadiuszx.kusztal@intel.com",
    "date": "2021-07-12T08:16:33",
    "name": "drivers/qat: fix unused asymmetric crypto pmd on gen3",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": true,
    "hash": "d15918dfdf0fb09b448f7916b39697baa310c3c2",
    "submitter": {
        "id": 452,
        "url": "https://patches.dpdk.org/api/people/452/?format=api",
        "name": "Arkadiusz Kusztal",
        "email": "arkadiuszx.kusztal@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/20210712081633.3156-1-arkadiuszx.kusztal@intel.com/mbox/",
    "series": [
        {
            "id": 17767,
            "url": "https://patches.dpdk.org/api/series/17767/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=17767",
            "date": "2021-07-12T08:16:33",
            "name": "drivers/qat: fix unused asymmetric crypto pmd on gen3",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/17767/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/95699/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/95699/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 7BE22A0C50;\n\tMon, 12 Jul 2021 10:16:43 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E7CDF4069E;\n\tMon, 12 Jul 2021 10:16:42 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n by mails.dpdk.org (Postfix) with ESMTP id 0D3FC40685;\n Mon, 12 Jul 2021 10:16:40 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Jul 2021 01:16:40 -0700",
            "from silpixa00400308.ir.intel.com ([10.237.214.190])\n by orsmga002.jf.intel.com with ESMTP; 12 Jul 2021 01:16:38 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10042\"; a=\"206927111\"",
            "E=Sophos;i=\"5.84,232,1620716400\"; d=\"scan'208\";a=\"206927111\"",
            "E=Sophos;i=\"5.84,232,1620716400\"; d=\"scan'208\";a=\"429564197\""
        ],
        "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>, stable@dpdk.org",
        "Date": "Mon, 12 Jul 2021 09:16:33 +0100",
        "Message-Id": "<20210712081633.3156-1-arkadiuszx.kusztal@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] drivers/qat: fix unused asymmetric crypto pmd on\n 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\")\nCc: stable@dpdk.org\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\n---\n drivers/crypto/qat/qat_asym_pmd.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/crypto/qat/qat_asym_pmd.c b/drivers/crypto/qat/qat_asym_pmd.c\nindex a2c8aca2c1..0ebd1212a0 100644\n--- a/drivers/crypto/qat/qat_asym_pmd.c\n+++ b/drivers/crypto/qat/qat_asym_pmd.c\n@@ -251,6 +251,11 @@ qat_asym_dev_create(struct qat_pci_device *qat_pci_dev,\n \tstruct rte_cryptodev *cryptodev;\n \tstruct qat_asym_dev_private *internals;\n \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+\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": []
}