get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 41075,
    "url": "https://patches.dpdk.org/api/patches/41075/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1528945789-117899-1-git-send-email-haiyue.wang@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": "<1528945789-117899-1-git-send-email-haiyue.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1528945789-117899-1-git-send-email-haiyue.wang@intel.com",
    "date": "2018-06-14T03:09:49",
    "name": "[v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "1c389013a64fe83b4348aa0bf23a3e0fffc8f89c",
    "submitter": {
        "id": 1044,
        "url": "https://patches.dpdk.org/api/people/1044/?format=api",
        "name": "Wang, Haiyue",
        "email": "haiyue.wang@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1528945789-117899-1-git-send-email-haiyue.wang@intel.com/mbox/",
    "series": [
        {
            "id": 115,
            "url": "https://patches.dpdk.org/api/series/115/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=115",
            "date": "2018-06-14T03:09:49",
            "name": "[v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/115/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/41075/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/41075/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7159B1EA02;\n\tThu, 14 Jun 2018 05:10:20 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 7AE5A1E9CC;\n\tThu, 14 Jun 2018 05:10:18 +0200 (CEST)",
            "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t13 Jun 2018 20:10:17 -0700",
            "from dpdk-haiyue-s2600wfp.sh.intel.com ([10.67.111.114])\n\tby fmsmga006.fm.intel.com with ESMTP; 13 Jun 2018 20:10:01 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,221,1526367600\"; d=\"scan'208\";a=\"237299552\"",
        "From": "Haiyue Wang <haiyue.wang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Haiyue Wang <haiyue.wang@intel.com>,\n\tstable@dpdk.org",
        "Date": "Thu, 14 Jun 2018 11:09:49 +0800",
        "Message-Id": "<1528945789-117899-1-git-send-email-haiyue.wang@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH v1] mbuf: fix RTE_ETH_IS_IPV6_HDR comment typo",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "It should be IPv6, not IPv4.\n\nCc: stable@dpdk.org\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\n---\n lib/librte_mbuf/rte_mbuf_ptype.h | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf_ptype.h b/lib/librte_mbuf/rte_mbuf_ptype.h\nindex 79ea314..01acc66 100644\n--- a/lib/librte_mbuf/rte_mbuf_ptype.h\n+++ b/lib/librte_mbuf/rte_mbuf_ptype.h\n@@ -653,9 +653,9 @@ extern \"C\" {\n #define  RTE_ETH_IS_IPV4_HDR(ptype) ((ptype) & RTE_PTYPE_L3_IPV4)\n \n /**\n- * Check if the (outer) L3 header is IPv4. To avoid comparing IPv4 types one by\n- * one, bit 6 is selected to be used for IPv4 only. Then checking bit 6 can\n- * determine if it is an IPV4 packet.\n+ * Check if the (outer) L3 header is IPv6. To avoid comparing IPv6 types one by\n+ * one, bit 6 is selected to be used for IPv6 only. Then checking bit 6 can\n+ * determine if it is an IPV6 packet.\n  */\n #define  RTE_ETH_IS_IPV6_HDR(ptype) ((ptype) & RTE_PTYPE_L3_IPV6)\n \n",
    "prefixes": [
        "v1"
    ]
}