get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27189,
    "url": "http://patches.dpdk.org/api/patches/27189/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170725222107.23203-5-thomas@monjalon.net/",
    "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": "<20170725222107.23203-5-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170725222107.23203-5-thomas@monjalon.net",
    "date": "2017-07-25T22:21:05",
    "name": "[dpdk-dev,pktgen,4/6] fix compilation with gcc 7",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "60740d36a868c8f9608da68c4486989b62e831df",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170725222107.23203-5-thomas@monjalon.net/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27189/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/27189/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 8544A5592;\n\tWed, 26 Jul 2017 00:21:34 +0200 (CEST)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n\t[66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 68B84388F\n\tfor <dev@dpdk.org>; Wed, 26 Jul 2017 00:21:21 +0200 (CEST)",
            "from compute1.internal (compute1.nyi.internal [10.202.2.41])\n\tby mailout.nyi.internal (Postfix) with ESMTP id 0F86B212DF;\n\tTue, 25 Jul 2017 18:21:21 -0400 (EDT)",
            "from frontend2 ([10.202.2.161])\n\tby compute1.internal (MEProxy); Tue, 25 Jul 2017 18:21:21 -0400",
            "from xps.domain.com (bzq-164-168-31-206.red.bezeqint.net\n\t[31.168.164.206])\n\tby mail.messagingengine.com (Postfix) with ESMTPA id 10B2824130;\n\tTue, 25 Jul 2017 18:21:19 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n\tcc:date:from:in-reply-to:message-id:references:subject:to\n\t:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=2vH\n\tWA/gvZHo07zyPiaYk9j2y4/z36smvnYFzExft2SU=; b=m15fcYoA7ULbmGKg5oa\n\tx1wsJ3v1xzcTdOdWUqouI13riHcawDEMSJy6KXNksZlGtfWNy2vJTCZ0PZET3S2r\n\t8Lfibk0t+YDxaGAnxKs7FLVYkKnOEUQ8Ai0dcjjgR8N+lRKHv3cei7SX94+mR2FJ\n\ttN2nVNQmNKhT96UzHa9/Eg58=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n\tmessagingengine.com; h=cc:date:from:in-reply-to:message-id\n\t:references:subject:to:x-me-sender:x-me-sender:x-sasl-enc\n\t:x-sasl-enc; s=fm1; bh=2vHWA/gvZHo07zyPiaYk9j2y4/z36smvnYFzExft2\n\tSU=; b=RN62phQVeHGQEdx/pUPF9IyQtR5CYS6m7XfGbjdvBf9Q9Y0xZjipDqbQ+\n\tvyKDPPGBNTCPcOt0O7/uGOdU0J52A3n7uQyQP4urFp51wJRyT6maRRS9kycxfvGv\n\twhQFkwNGAoem7wWyLTfGwFqv1H3dVF79xDcObXl8hkRDU7E8tVaYD2gb5JfyK0Nd\n\tFZr4NHaNh9H5FeTPRjEyXDSSpjEvruNVInX8v07TJSDLDKQCbEaZoG5cmy2k0nPQ\n\tqLXSbdj8SUaqWAGmyEXRcI0OzwdVh5jSO0OR3O0HLErQf5NUjLov0I8HOb/K0JXa\n\tvsBYO3fjjb6r/1JkZy7sEgsKT74Sw=="
        ],
        "X-ME-Sender": "<xms:YcR3WYRKp1joK2Luucbk3nb19mwSqO4-h_cRYtAA2ovdY2xupE2xpQ>",
        "X-Sasl-enc": "YQFnzNZr7bX1spKqva78MeRYf9YUDCNtaQPYXcNFTe8+ 1501021280",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "keith.wiles@intel.com",
        "Cc": "dev@dpdk.org",
        "Date": "Wed, 26 Jul 2017 01:21:05 +0300",
        "Message-Id": "<20170725222107.23203-5-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.13.2",
        "In-Reply-To": "<20170725222107.23203-1-thomas@monjalon.net>",
        "References": "<20170725222107.23203-1-thomas@monjalon.net>",
        "Subject": "[dpdk-dev] [pktgen PATCH 4/6] fix compilation with gcc 7",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://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": "<http://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": "Signed-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/common/mbuf.h | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/lib/common/mbuf.h b/lib/common/mbuf.h\nindex 0191b28..31bfa96 100644\n--- a/lib/common/mbuf.h\n+++ b/lib/common/mbuf.h\n@@ -90,6 +90,7 @@ pg_pktmbuf_alloc_bulk(struct rte_mempool *pool,\n \t\t\trte_mbuf_refcnt_set(mbufs[idx], 1);\n \t\t\tpktmbuf_reset(mbufs[idx]);\n \t\t\tidx++;\n+\t\t\t/* fall-through */\n \t\tcase 3:\n #ifdef RTE_ASSERT\n \t\t\tRTE_ASSERT(rte_mbuf_refcnt_read(mbufs[idx]) == 0);\n@@ -99,6 +100,7 @@ pg_pktmbuf_alloc_bulk(struct rte_mempool *pool,\n \t\t\trte_mbuf_refcnt_set(mbufs[idx], 1);\n \t\t\tpktmbuf_reset(mbufs[idx]);\n \t\t\tidx++;\n+\t\t\t/* fall-through */\n \t\tcase 2:\n #ifdef RTE_ASSERT\n \t\t\tRTE_ASSERT(rte_mbuf_refcnt_read(mbufs[idx]) == 0);\n@@ -108,6 +110,7 @@ pg_pktmbuf_alloc_bulk(struct rte_mempool *pool,\n \t\t\trte_mbuf_refcnt_set(mbufs[idx], 1);\n \t\t\tpktmbuf_reset(mbufs[idx]);\n \t\t\tidx++;\n+\t\t\t/* fall-through */\n \t\tcase 1:\n #ifdef RTE_ASSERT\n \t\t\tRTE_ASSERT(rte_mbuf_refcnt_read(mbufs[idx]) == 0);\n",
    "prefixes": [
        "dpdk-dev",
        "pktgen",
        "4/6"
    ]
}