get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 3818,
    "url": "http://patchwork.dpdk.org/api/patches/3818/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2015-03-03T08:44:55",
    "name": "[dpdk-dev] eal/linux: fix build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "bb0c2db0f0a330914a44af2646e8f48283a139dd",
    "submitter": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/3818/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/3818/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 4A97F5A57;\n\tTue,  3 Mar 2015 09:45:49 +0100 (CET)",
            "from mail-we0-f176.google.com (mail-we0-f176.google.com\n\t[74.125.82.176]) by dpdk.org (Postfix) with ESMTP id 98DD7595A\n\tfor <dev@dpdk.org>; Tue,  3 Mar 2015 09:45:47 +0100 (CET)",
            "by wesw55 with SMTP id w55so38298521wes.5\n\tfor <dev@dpdk.org>; Tue, 03 Mar 2015 00:45:47 -0800 (PST)",
            "from localhost.localdomain (136-92-190-109.dsl.ovh.fr.\n\t[109.190.92.136]) by mx.google.com with ESMTPSA id\n\tyy9sm287475wjc.20.2015.03.03.00.45.45\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tTue, 03 Mar 2015 00:45:46 -0800 (PST)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-type:content-transfer-encoding;\n\tbh=GrCZlcPvMUtKsWPnSAWgo/jc70+vmpUxN5RAYJr7Ah4=;\n\tb=AXXGl47Y67VTrh4+8FzMehrivmjKeJpJ8cbNMcTLdvbhUzF/TuW9I02LqoY/cHw+EK\n\tfTw4cG6X4TXUf/E/QlxMNqtYOurG1iXLEj8j+en98XSgZbLkwvDDCYDxsss0wzOOEc9O\n\tEjHeaP3Pd2Ndg2Ybfw/b8WNCc1WqwH1m+zMJEHxsoPkbDCs2fZ6ULInJlBjyq8rUHl3N\n\tgaruwuNNOXpaR2werDF0R4kwKTlSJ6sDJ3ZygbgI09snIewePPl+8MXTyed1u8+JC31H\n\tduvIiGLtDLh3u6lFHjhHnat9nKuVzrKUGVowT0YXolExVB71o58WYorCtIu5Y00ejvSN\n\ttl2A==",
        "X-Gm-Message-State": "ALoCoQldMYqNCn+lGrThPgWEOTKvo+8TtLxDEhFkPTq60weesl+/RDYkgYeVvuLvvG6TybsQrG18",
        "X-Received": "by 10.181.8.99 with SMTP id dj3mr43921460wid.83.1425372347472;\n\tTue, 03 Mar 2015 00:45:47 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Tue,  3 Mar 2015 09:44:55 +0100",
        "Message-Id": "<1425372295-27839-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.2.2",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH] eal/linux: fix build",
        "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": "Compilation fails in some distributions because of missing unistd.h\nneeded for pread/pwrite (seen with Suse):\n\tlib/librte_eal/linuxapp/eal/eal_pci_uio.c:62:2:\n\terror: implicit declaration of function ‘pread’\n\nFixes: 4a499c649590 (\"eal/linux: enable uio_pci_generic support\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\nindex 35d31c5..0b397ca 100644\n--- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n+++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c\n@@ -32,6 +32,7 @@\n  */\n \n #include <string.h>\n+#include <unistd.h>\n #include <fcntl.h>\n #include <dirent.h>\n #include <sys/stat.h>\n",
    "prefixes": [
        "dpdk-dev"
    ]
}