get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 92630,
    "url": "https://patches.dpdk.org/api/patches/92630/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210503102937.274-1-pbhagavatula@marvell.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": "<20210503102937.274-1-pbhagavatula@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210503102937.274-1-pbhagavatula@marvell.com",
    "date": "2021-05-03T10:29:35",
    "name": "[v2] common/cnxk: rename deprecated constant",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "829badad4e1d3ede65cd825dc01cf4017d0110b4",
    "submitter": {
        "id": 1183,
        "url": "https://patches.dpdk.org/api/people/1183/?format=api",
        "name": "Pavan Nikhilesh Bhagavatula",
        "email": "pbhagavatula@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "https://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210503102937.274-1-pbhagavatula@marvell.com/mbox/",
    "series": [
        {
            "id": 16795,
            "url": "https://patches.dpdk.org/api/series/16795/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16795",
            "date": "2021-05-03T10:29:35",
            "name": "[v2] common/cnxk: rename deprecated constant",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/16795/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/92630/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/92630/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 54512A0524;\n\tMon,  3 May 2021 12:30:05 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0063340142;\n\tMon,  3 May 2021 12:30:05 +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 15E0140041\n for <dev@dpdk.org>; Mon,  3 May 2021 12:30:03 +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 143AU3d1020341 for <dev@dpdk.org>; Mon, 3 May 2021 03:30:03 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 38ad05gcfs-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Mon, 03 May 2021 03:29:57 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) 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 03:29:55 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Mon, 3 May 2021 03:29:55 -0700",
            "from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176])\n by maili.marvell.com (Postfix) with ESMTP id 6BF703F703F;\n Mon,  3 May 2021 03:29:53 -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=SEG9Nc1Ha9Pu/E7ayyuKJsczDXHqtdsntpgaPQB1klo=;\n b=OXdNkYrEEv6vHeInv/dWQnPpULJqU7lhimrFOrpohQdKDCDouzA/RufahEiyF2KETjVF\n BERhEbm8mcvolOgp0NC0Uo9sdMnzyngjo0kBIJZWbOg6bEsbwGnKfruhmMEfNL8dnd7E\n QpDr0nZFLOnBbQBTFYCzMY90GDWng19hTbmSqpxluetuyK0hNeIDVuxi3sIN4X5ut2Qy\n Tsqos/lYjstTVbi3orVHgrF3LybWqosHnTj+QY73qjYErqTSFv72JM/pIVg0DaP8zFkd\n EFaOgjT4ahdiiQgWOBN6EDCVacZPF/wIOhz/DEiX51FKTXQZdRpjTGcQ09d5rRtvKF07 Cw==",
        "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 15:59:35 +0530",
        "Message-ID": "<20210503102937.274-1-pbhagavatula@marvell.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20210503102303.261-1-pbhagavatula@marvell.com>",
        "References": "<20210503102303.261-1-pbhagavatula@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-GUID": "PqqAwL8qwpZAxmMV_9al01e5OJ26f8b8",
        "X-Proofpoint-ORIG-GUID": "PqqAwL8qwpZAxmMV_9al01e5OJ26f8b8",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761\n definitions=2021-05-03_06:2021-05-03,\n 2021-05-03 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v2] 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 v2 Changes:\n - s/depricated/deprecated.\n\n drivers/common/cnxk/roc_platform.h | 24 ++++++++++--------------\n 1 file changed, 10 insertions(+), 14 deletions(-)\n\n--\n2.17.1",
    "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": [
        "v2"
    ]
}