get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 14640,
    "url": "https://patches.dpdk.org/api/patches/14640/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1467905790-10597-10-git-send-email-thomas.monjalon@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": "<1467905790-10597-10-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1467905790-10597-10-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-07-07T15:36:28",
    "name": "[dpdk-dev,09/11] eal: move PCI table macro",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "03cf9e57ef26b99396d94412397a3dc6ce6375b7",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1467905790-10597-10-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/14640/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/14640/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 A866F37A4;\n\tThu,  7 Jul 2016 17:36:46 +0200 (CEST)",
            "from mail-wm0-f47.google.com (mail-wm0-f47.google.com\n\t[74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 1B8764CE6\n\tfor <dev@dpdk.org>; Thu,  7 Jul 2016 17:36:43 +0200 (CEST)",
            "by mail-wm0-f47.google.com with SMTP id f126so215571167wma.1\n\tfor <dev@dpdk.org>; Thu, 07 Jul 2016 08:36:43 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tp126sm559331wmp.13.2016.07.07.08.36.42\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 07 Jul 2016 08:36:42 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=5fAfr8k6GMlqZA/T4KgJ2YRM5TQEvTaB1gnCMTmeCJA=;\n\tb=TZiZ7gbbHuDayeKA+uQzB/jax9ivbWRN4XJjSp8MXX2us9BJSvm2zYY8qJ4M+RABqC\n\tFOJUuwkoqXFTSvlz+AwVgDV72AIyMNbuT8XLt4icFpqNnjysivfvff6ugRgFYj6g6lKE\n\tZwpCS+A2AC2yiLUok84qULBaExK1ucpazlTpJe0FhnUvNXIyMzk9wGYNxQ0jYudWKFZJ\n\tDaNIHP0/jyff023N+Ufp0xGifUe5DfE9328oqoAtyM2rHfXGKl2DM9bIYW/u462LN4YN\n\tw3YgGROdJInanQM0PBBaJVkmUa/+HLfpt/bgfizav/QUEsMzig6m+SCATLMj4RLvCT0r\n\tovGw==",
        "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:in-reply-to\n\t:references;\n\tbh=5fAfr8k6GMlqZA/T4KgJ2YRM5TQEvTaB1gnCMTmeCJA=;\n\tb=AzYTxmCvbWsM16z7cY4JRkMeuxLjVJ0GU1nda0tIYTa3Y30eZc7WBLm73qD7P+kWuU\n\tBdpPYe0j59SJeXhZVlRL8WKNOHZO4SxlSFU/oH1zPLkfK4R5C6Ks1U5RahB0mWQVbp2G\n\t4KpysEX6FZoh+Y0ByqqlHxdWGXieCKQTmX/B7TYeBRx6LwTAS08XjBhpKsyaIdfembiX\n\tLGjJcpAyfahlwhshKuTRJTLADP4bdKXuhvogOOkFxATwMPiIFzkhENMvcPl7dRkl0ryx\n\tsbe4zjqOPZ8lGz3SLFdE6UfQgE9v/8TmpN0GBU2UVebyRuCd/Pz6avGBGUaNz6Eb+W99\n\t4xnQ==",
        "X-Gm-Message-State": "ALyK8tLxNueBI9PFkyybIfaySGZwYmOY/+pTxRH6F0ORgYH5MjY4ZFQGzKbYbkGJC1WHk5/J",
        "X-Received": "by 10.194.95.74 with SMTP id di10mr813646wjb.52.1467905802912;\n\tThu, 07 Jul 2016 08:36:42 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "Neil Horman <nhorman@tuxdriver.com>",
        "Cc": "dev@dpdk.org",
        "Date": "Thu,  7 Jul 2016 17:36:28 +0200",
        "Message-Id": "<1467905790-10597-10-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1467905790-10597-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH 09/11] eal: move PCI table macro",
        "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": "Remove include of rte_pci.h in the generic header rte_dev.h\nand move the macro DRIVER_REGISTER_PCI_TABLE in rte_pci.h.\n\nFixes: cb6696d22023 (\"drivers: update registration macro usage\")\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_eal/common/include/rte_dev.h | 6 +-----\n lib/librte_eal/common/include/rte_pci.h | 5 +++++\n 2 files changed, 6 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h\nindex e6f0d4c..68ca7ef 100644\n--- a/lib/librte_eal/common/include/rte_dev.h\n+++ b/lib/librte_eal/common/include/rte_dev.h\n@@ -48,7 +48,7 @@ extern \"C\" {\n \n #include <stdio.h>\n #include <sys/queue.h>\n-#include <rte_pci.h>\n+\n #include <rte_log.h>\n \n __attribute__((format(printf, 2, 0)))\n@@ -195,10 +195,6 @@ DRIVER_EXPORT_NAME(nm, __COUNTER__)\n \n #define DRV_EXP_TAG(name, tag) __##name##_##tag\n \n-#define DRIVER_REGISTER_PCI_TABLE(name, table) \\\n-static const char DRV_EXP_TAG(name, pci_tbl_export)[] __attribute__((used)) = \\\n-RTE_STR(table)\n-\n #define DRIVER_REGISTER_PARAM_STRING(name, str) \\\n static const char DRV_EXP_TAG(name, param_string_export)[] \\\n __attribute__((used)) = str\ndiff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h\nindex fa74962..3b0d26a 100644\n--- a/lib/librte_eal/common/include/rte_pci.h\n+++ b/lib/librte_eal/common/include/rte_pci.h\n@@ -188,6 +188,11 @@ struct rte_pci_device {\n \t.subsystem_device_id = PCI_ANY_ID\n #endif\n \n+#define DRIVER_REGISTER_PCI_TABLE(name, table) \\\n+static const char __##name##_pci_tbl_export[] \\\n+\t__attribute__((used)) = \\\n+\tRTE_STR(table)\n+\n struct rte_pci_driver;\n \n /**\n",
    "prefixes": [
        "dpdk-dev",
        "09/11"
    ]
}