get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92639,
    "url": "http://patches.dpdk.org/api/patches/92639/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210503152238.2437-2-pbhagavatula@marvell.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": "<20210503152238.2437-2-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210503152238.2437-2-pbhagavatula@marvell.com",
    "date": "2021-05-03T15:22:04",
    "name": "[v4,01/34] common/cnxk: rename deprecated constant",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "f7bbcd19b70637360e04dce3a56a9a8eca84f41d",
    "submitter": {
        "id": 1183,
        "url": "http://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210503152238.2437-2-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 16799,
            "url": "http://patches.dpdk.org/api/series/16799/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=16799",
            "date": "2021-05-03T15:22:03",
            "name": "Marvell CNXK Event device Driver",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/16799/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/92639/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/92639/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 7204DA0562;\n\tMon,  3 May 2021 17:22:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id F365C410DE;\n\tMon,  3 May 2021 17:22:51 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id BA07840F35\n for <dev@dpdk.org>; Mon,  3 May 2021 17:22:50 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id\n 143FAGLr032533 for <dev@dpdk.org>; Mon, 3 May 2021 08:22:50 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 38ad05hecu-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 03 May 2021 08:22:50 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Mon, 3 May 2021 08:22:48 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 3 May 2021 08:22:48 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176])\n by maili.marvell.com (Postfix) with ESMTP id 4A2833F703F;\n Mon,  3 May 2021 08:22:44 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=pgMLxdVVUSrIEq8DC+WQqhdXBIDshtvmJQw+b1IN/dw=;\n b=jET5bKQH1f9hcNm5ulTIQXlcVTLHBkIUS6JAcvGpwrWPcObf1rgiXvutBdYZHS48sKXL\n 3jw9SylOq/vcreeFMf2mPWlUJLHguBG0qT7gL80ol+IK1n6wrsUiaZs+IUD+rTsZ+ym2\n V/TPZtitRHdlYdlRhAsFaPvyPpul90J53fctpxCBr3yPeE5MJtFCtXA0P+XdO0Qc7L+R\n 4Ag9UnpiW8SoQsS9jSIB4FWNUuXUPOHL+RqLfajJXyYZ6z27f9Rqr9BXPoafpW7Ft4Qs\n Y3x1S/OMAZgc+Li3/npgZ3fj5IN+5h8gauWplzFca/fruisQlDbwOvFQ9lPwEP7QJSvp Jg==",
        "From": "<pbhagavatula@marvell.com>",
        "To": "<jerinj@marvell.com>, Nithin Dabilpuram <ndabilpuram@marvell.com>, \"Kiran\n Kumar K\" <kirankumark@marvell.com>, Sunil Kumar Kori <skori@marvell.com>,\n Satha Rao <skoteshwar@marvell.com>",
        "CC": "<dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>",
        "Date": "Mon, 3 May 2021 20:52:04 +0530",
        "Message-ID": "<20210503152238.2437-2-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210503152238.2437-1-pbhagavatula@marvell.com>",
        "References": "<20210430135336.2749-1-pbhagavatula@marvell.com>\n <20210503152238.2437-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "4wRxQVruczj27jvgYmAiz4-5unluRxE3",
        "X-Proofpoint-ORIG-GUID": "4wRxQVruczj27jvgYmAiz4-5unluRxE3",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-05-03_10:2021-05-03,\n 2021-05-03 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v4 01/34] common/cnxk: rename deprecated constant",
        "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": "From: Pavan Nikhilesh <pbhagavatula@marvell.com>\n\nThe PCI_ANY_ID constant is deprecated and renamed as RTE_PCI_ANY_ID.\n\nSigned-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>\n---\n drivers/common/cnxk/roc_platform.h | 24 ++++++++++--------------\n 1 file changed, 10 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h\nindex 97600e56f..29ab71240 100644\n--- a/drivers/common/cnxk/roc_platform.h\n+++ b/drivers/common/cnxk/roc_platform.h\n@@ -165,22 +165,18 @@ extern int cnxk_logtype_tm;\n #define plt_tm_dbg(fmt, ...)\tplt_dbg(tm, fmt, ##__VA_ARGS__)\n \n #ifdef __cplusplus\n-#define CNXK_PCI_ID(subsystem_dev, dev)\t\t\t\t\\\n-\t{\t\t\t\t\t\t\t\\\n-\t\tRTE_CLASS_ANY_ID,\t\t\t\t\\\n-\t\tPCI_VENDOR_ID_CAVIUM,\t\t\t\t\\\n-\t\t(dev),\t\t\t\t\t\t\\\n-\t\tPCI_ANY_ID,\t\t\t\t\t\\\n-\t\t(subsystem_dev),\t\t\t\t\\\n+#define CNXK_PCI_ID(subsystem_dev, dev)                                        \\\n+\t{                                                                      \\\n+\t\tRTE_CLASS_ANY_ID, PCI_VENDOR_ID_CAVIUM, (dev), RTE_PCI_ANY_ID, \\\n+\t\t\t(subsystem_dev),                                       \\\n \t}\n #else\n-#define CNXK_PCI_ID(subsystem_dev, dev)\t\t\t\t\\\n-\t{\t\t\t\t\t\t\t\\\n-\t\t.class_id = RTE_CLASS_ANY_ID,\t\t\t\\\n-\t\t.vendor_id = PCI_VENDOR_ID_CAVIUM,\t\t\\\n-\t\t.device_id = (dev),\t\t\t\t\\\n-\t\t.subsystem_vendor_id = PCI_ANY_ID,\t\t\\\n-\t\t.subsystem_device_id = (subsystem_dev),\t\t\\\n+#define CNXK_PCI_ID(subsystem_dev, dev)                                        \\\n+\t{                                                                      \\\n+\t\t.class_id = RTE_CLASS_ANY_ID,                                  \\\n+\t\t.vendor_id = PCI_VENDOR_ID_CAVIUM, .device_id = (dev),         \\\n+\t\t.subsystem_vendor_id = RTE_PCI_ANY_ID,                         \\\n+\t\t.subsystem_device_id = (subsystem_dev),                        \\\n \t}\n #endif\n \n",
    "prefixes": [
        "v4",
        "01/34"
    ]
}