get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2430,
    "url": "https://patches.dpdk.org/api/patches/2430/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1421873870-21754-5-git-send-email-nhorman@tuxdriver.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": "<1421873870-21754-5-git-send-email-nhorman@tuxdriver.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1421873870-21754-5-git-send-email-nhorman@tuxdriver.com",
    "date": "2015-01-21T20:57:29",
    "name": "[dpdk-dev,v7,05/26] mem: search only dpdk hugetlbfs maps",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "18d9a6da749cf7ab7c8bbd48308747b8a261605f",
    "submitter": {
        "id": 32,
        "url": "https://patches.dpdk.org/api/people/32/?format=api",
        "name": "Neil Horman",
        "email": "nhorman@tuxdriver.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1421873870-21754-5-git-send-email-nhorman@tuxdriver.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/2430/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/2430/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 C50DA5AA9;\n\tWed, 21 Jan 2015 21:58:10 +0100 (CET)",
            "from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58])\n\tby dpdk.org (Postfix) with ESMTP id B67265A15\n\tfor <dev@dpdk.org>; Wed, 21 Jan 2015 21:58:08 +0100 (CET)",
            "from hmsreliant.think-freely.org\n\t([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost)\n\tby smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63)\n\t(envelope-from <nhorman@tuxdriver.com>)\n\tid 1YE2Lk-00079G-6Q; Wed, 21 Jan 2015 15:58:06 -0500"
        ],
        "From": "Neil Horman <nhorman@tuxdriver.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 21 Jan 2015 15:57:29 -0500",
        "Message-Id": "<1421873870-21754-5-git-send-email-nhorman@tuxdriver.com>",
        "X-Mailer": "git-send-email 2.1.0",
        "In-Reply-To": "<1421873870-21754-1-git-send-email-nhorman@tuxdriver.com>",
        "References": "<1419109299-9603-1-git-send-email-nhorman@tuxdriver.com>\n\t<1421873870-21754-1-git-send-email-nhorman@tuxdriver.com>",
        "X-Spam-Score": "-2.9 (--)",
        "X-Spam-Status": "No",
        "Subject": "[dpdk-dev] [PATCH v7 05/26] mem: search only dpdk hugetlbfs maps",
        "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": "From: Vlad Zolotarov <vladz@cloudius-systems.com>\n\nWhen scanning the hugetlbfs maps search only for the DPDK maps.\nThis will allow the application create its own hugetlbfs mappings\nand use the DPDK facilities on the same hugetlbfs mount point.\n\nSigned-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>\nAcked-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/linuxapp/eal/eal_memory.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_eal/linuxapp/eal/eal_memory.c b/lib/librte_eal/linuxapp/eal/eal_memory.c\nindex bae2507..a67a1b0 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_memory.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_memory.c\n@@ -611,7 +611,7 @@ find_numasocket(struct hugepage_file *hugepg_tbl, struct hugepage_info *hpi)\n \t}\n \n \tsnprintf(hugedir_str, sizeof(hugedir_str),\n-\t\t\t\"%s/\", hpi->hugedir);\n+\t\t\t\"%s/%s\", hpi->hugedir, internal_config.hugefile_prefix);\n \n \t/* parse numa map */\n \twhile (fgets(buf, sizeof(buf), f) != NULL) {\n",
    "prefixes": [
        "dpdk-dev",
        "v7",
        "05/26"
    ]
}