get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28454,
    "url": "https://patches.dpdk.org/api/patches/28454/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170907122033.17983-1-olivier.matz@6wind.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": "<20170907122033.17983-1-olivier.matz@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170907122033.17983-1-olivier.matz@6wind.com",
    "date": "2017-09-07T12:20:32",
    "name": "[dpdk-dev,1/2] ring: increase maximum ring size",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a026a420f75b015198cfba7519ed37ec1749e23b",
    "submitter": {
        "id": 8,
        "url": "https://patches.dpdk.org/api/people/8/?format=api",
        "name": "Olivier Matz",
        "email": "olivier.matz@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170907122033.17983-1-olivier.matz@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28454/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/28454/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 465E6199B1;\n\tThu,  7 Sep 2017 14:20:50 +0200 (CEST)",
            "from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com\n\t[62.23.145.76]) by dpdk.org (Postfix) with ESMTP id B587D968\n\tfor <dev@dpdk.org>; Thu,  7 Sep 2017 14:20:48 +0200 (CEST)",
            "from glumotte.dev.6wind.com (unknown [10.16.0.195])\n\tby proxy.6wind.com (Postfix) with ESMTP id A8D58CD5D8;\n\tThu,  7 Sep 2017 14:17:06 +0200 (CEST)"
        ],
        "From": "Olivier Matz <olivier.matz@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "venki497@gmail.com,\n\tbruce.richardson@intel.com",
        "Date": "Thu,  7 Sep 2017 14:20:32 +0200",
        "Message-Id": "<20170907122033.17983-1-olivier.matz@6wind.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "Subject": "[dpdk-dev] [PATCH 1/2] ring: increase maximum ring size",
        "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": "There is no reason to prevent ring from beeing larger than 0x0FFFFFFF.\nIncrease the maximum size to 0x7FFFFFFF, which is the maximum possible\nwithout changing the code and the structure definition (size is stored\non a uint32_t).\n\nLink: http://dpdk.org/ml/archives/dev/2017-September/074701.html\n\nSuggested-by: Venkatesh Nuthula <venki497@gmail.com>\nSigned-off-by: Olivier Matz <olivier.matz@6wind.com>\n---\n lib/librte_ring/rte_ring.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_ring/rte_ring.h b/lib/librte_ring/rte_ring.h\nindex 8f5a4937f..9a211264a 100644\n--- a/lib/librte_ring/rte_ring.h\n+++ b/lib/librte_ring/rte_ring.h\n@@ -174,7 +174,7 @@ struct rte_ring {\n  * ring space will be wasted.\n  */\n #define RING_F_EXACT_SZ 0x0004\n-#define RTE_RING_SZ_MASK  (unsigned)(0x0fffffff) /**< Ring size mask */\n+#define RTE_RING_SZ_MASK  (unsigned)(0x7fffffff) /**< Ring size mask */\n \n /* @internal defines for passing to the enqueue dequeue worker functions */\n #define __IS_SP 1\n",
    "prefixes": [
        "dpdk-dev",
        "1/2"
    ]
}