get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1707,
    "url": "https://patches.dpdk.org/api/patches/1707/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1417455659-24854-1-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": "<1417455659-24854-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1417455659-24854-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2014-12-01T17:40:59",
    "name": "[dpdk-dev] ixgbe: fix build with bypass and debug enabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0631e2ca456e0f86fb6aca4129b70fb70035c07a",
    "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/1417455659-24854-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/1707/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/1707/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 7947E7EFC;\n\tMon,  1 Dec 2014 18:41:32 +0100 (CET)",
            "from mail-wi0-f173.google.com (mail-wi0-f173.google.com\n\t[209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 4533668AC\n\tfor <dev@dpdk.org>; Mon,  1 Dec 2014 18:41:31 +0100 (CET)",
            "by mail-wi0-f173.google.com with SMTP id r20so25403446wiv.12\n\tfor <dev@dpdk.org>; Mon, 01 Dec 2014 09:41:31 -0800 (PST)",
            "from XPS13.dev.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net.\n\t[82.239.227.177]) by mx.google.com with ESMTPSA id\n\tk9sm15022064wjb.38.2014.12.01.09.41.29 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 01 Dec 2014 09:41:30 -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:subject:date:message-id;\n\tbh=/LhVCUisIuMrAvLoAAAytEaXjcJun1lxh6J8mAKgF2o=;\n\tb=huIL/CiH7JiMzeUmY9vbQJkjNkvJZ6LT+puTa+JmVLYJxIs7iKWh9N7+9iijILJmhG\n\t4yMu9D+b9MURn5yliuITaxkOChPzAaC4pNP3mMY8Ok+458sCG98iXk9UIqYiKMFAECdv\n\tu1Xse5GbfnMFFjRc+X4RsCAR4qKJi43tWAx26W51awqJPQuXiMlmSlL52TqaJTEk+9mx\n\tB4N287Pmetb2sgF64EUndACFjzRdvxVOQpQ8/0HLOM+Lk1K92DMejPDmSgVrpoMnb9hd\n\tQNr1GtN2X+X+LSBnLIEVKKe3eiJI0hExFW2IcVGpU12pzySHBLJpQp4tw6XQl6KeXw+y\n\tCHAw==",
        "X-Gm-Message-State": "ALoCoQmEAz8CHZyemaWV/dwRgZzwezsP/uA3+I6I2PAKV2NFWHypLjcQYyTMttS+lpvjsxFkRtSY",
        "X-Received": "by 10.181.13.179 with SMTP id ez19mr35333419wid.65.1417455691085;\n\tMon, 01 Dec 2014 09:41:31 -0800 (PST)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  1 Dec 2014 18:40:59 +0100",
        "Message-Id": "<1417455659-24854-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.1.3",
        "Subject": "[dpdk-dev] [PATCH] ixgbe: fix build with bypass and debug enabled",
        "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": "Since commit aae1047905621 (\"use the right debug macro\"),\nDEBUGOUT was replaced by PMD_DRV_LOG which requires at least\n2 arguments. But the level argument was missing.\n\nCommit 7a10de5e27 fixed the logs but not the macros FUNC_PTR_OR_*\nwhich are not preprocessed if RTE_LIBRTE_IXGBE_DEBUG_DRIVER is disabled.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n lib/librte_pmd_ixgbe/ixgbe_bypass.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_bypass.c b/lib/librte_pmd_ixgbe/ixgbe_bypass.c\nindex 15203a4..832f415 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_bypass.c\n+++ b/lib/librte_pmd_ixgbe/ixgbe_bypass.c\n@@ -42,7 +42,7 @@\n /* Macros to check for invlaid function pointers. */\n #define\tFUNC_PTR_OR_ERR_RET(func, retval) do {              \\\n \tif ((func) == NULL) {                               \\\n-\t\tPMD_DRV_LOG(\"%s:%d function not supported\", \\\n+\t\tPMD_DRV_LOG(ERR, \"%s:%d function not supported\", \\\n \t\t\t    __func__, __LINE__);            \\\n \t\treturn retval;                            \\\n \t}                                                   \\\n@@ -50,7 +50,7 @@\n \n #define\tFUNC_PTR_OR_RET(func) do {                          \\\n \tif ((func) == NULL) {                               \\\n-\t\tPMD_DRV_LOG(\"%s:%d function not supported\", \\\n+\t\tPMD_DRV_LOG(ERR, \"%s:%d function not supported\", \\\n \t\t\t    __func__, __LINE__);            \\\n \t\treturn;                                     \\\n \t}                                                   \\\n",
    "prefixes": [
        "dpdk-dev"
    ]
}