get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 4678,
    "url": "https://patches.dpdk.org/api/patches/4678/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1431386118-2811-1-git-send-email-emmericp@net.in.tum.de/",
    "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": "<1431386118-2811-1-git-send-email-emmericp@net.in.tum.de>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1431386118-2811-1-git-send-email-emmericp@net.in.tum.de",
    "date": "2015-05-11T23:15:18",
    "name": "[dpdk-dev] prefetch second cacheline of mbufs on alloc",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "10ccebc5e52d0cfd0c232595737034519abba217",
    "submitter": {
        "id": 229,
        "url": "https://patches.dpdk.org/api/people/229/?format=api",
        "name": "Paul Emmerich",
        "email": "emmericp@net.in.tum.de"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1431386118-2811-1-git-send-email-emmericp@net.in.tum.de/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/4678/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/4678/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 70F3D5692;\n\tTue, 12 May 2015 01:15:27 +0200 (CEST)",
            "from mail-out1.informatik.tu-muenchen.de\n\t(mail-out1.informatik.tu-muenchen.de [131.159.0.8])\n\tby dpdk.org (Postfix) with ESMTP id 8CB622716\n\tfor <dev@dpdk.org>; Tue, 12 May 2015 01:15:26 +0200 (CEST)",
            "from omanyte.baltikum.net.in.tum.de (omanyte.baltikum.net.in.tum.de\n\t[188.95.232.221])\n\tby mail.net.in.tum.de (Postfix) with ESMTPSA id 8B53E1944B46;\n\tTue, 12 May 2015 01:15:23 +0200 (CEST)"
        ],
        "From": "Paul Emmerich <emmericp@net.in.tum.de>",
        "To": "dev@dpdk.org",
        "Date": "Tue, 12 May 2015 01:15:18 +0200",
        "Message-Id": "<1431386118-2811-1-git-send-email-emmericp@net.in.tum.de>",
        "X-Mailer": "git-send-email 1.9.1",
        "Subject": "[dpdk-dev] [PATCH] prefetch second cacheline of mbufs on alloc",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <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": "this improves the throughput of a simple tx-only application by 11% in\nthe full-featured ixgbe tx path and by 14% in the simple tx path.\n---\n lib/librte_mbuf/rte_mbuf.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h\nindex ab6de67..f6895b4 100644\n--- a/lib/librte_mbuf/rte_mbuf.h\n+++ b/lib/librte_mbuf/rte_mbuf.h\n@@ -538,6 +538,7 @@ static inline struct rte_mbuf *__rte_mbuf_raw_alloc(struct rte_mempool *mp)\n \tif (rte_mempool_get(mp, &mb) < 0)\n \t\treturn NULL;\n \tm = (struct rte_mbuf *)mb;\n+\trte_prefetch0(&m->cacheline1);\n \tRTE_MBUF_ASSERT(rte_mbuf_refcnt_read(m) == 0);\n \trte_mbuf_refcnt_set(m, 1);\n \treturn (m);\n",
    "prefixes": [
        "dpdk-dev"
    ]
}