get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 406,
    "url": "https://patches.dpdk.org/api/patches/406/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1410961612-8571-10-git-send-email-david.marchand@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": "<1410961612-8571-10-git-send-email-david.marchand@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1410961612-8571-10-git-send-email-david.marchand@6wind.com",
    "date": "2014-09-17T13:46:41",
    "name": "[dpdk-dev,v3,09/20] i40e/base: add a raw macro for use by shared code",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a70066b97d3e2991e2d37cf0e6844a6a95113cb3",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1410961612-8571-10-git-send-email-david.marchand@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/406/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/406/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 C26C6B3CC;\n\tWed, 17 Sep 2014 15:41:40 +0200 (CEST)",
            "from mail-wi0-f174.google.com (mail-wi0-f174.google.com\n\t[209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 65EB4B3C6\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:37 +0200 (CEST)",
            "by mail-wi0-f174.google.com with SMTP id n3so1251503wiv.13\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:17 -0700 (PDT)",
            "from alcyon.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\tfa20sm5712872wic.1.2014.09.17.06.47.16 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:17 -0700 (PDT)"
        ],
        "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=CtrJFGsR7enIH1aEPDYyOO0hJgEhDUr2TERx5KP1OsI=;\n\tb=TEn17LNU9WwMiLNSSOlnsvjup/3umlUxo+l8gh0ITLtyQNaomEZ9yExpdVGrV0hRiV\n\taYmW5VtDnOn0hYZNgqK5Fv4Crrsxg7dvDLIlnjwnZRoewKXxR36PGgQ7PI8QT8IJ5j+l\n\toIpXGr2TECOAnEw0b/X5QrXfzuA9bO3fo5NGTiiWqYltzu6BW3k8dweeYx+o4j1CTnIQ\n\tkf5XVPkCqii+rn4sRacTpyk5sohsu1IEBOdyn8JIehx+rWEItQjwOPH76ZTx24xE3pVN\n\tNgLJA+lMLsCumwYzb6QdOx+qthgNLgKEfbIiSt2YqjATCxnW/kVyM3af9Lp9gjlyrLL4\n\tXqFA==",
        "X-Gm-Message-State": "ALoCoQnU/tg4uOYnZblllIGejpwIGz6pLr6Ve+ZZrUQh0Yt4lANheHu8B754GZ4dexPxf0qiWgR5",
        "X-Received": "by 10.194.179.197 with SMTP id di5mr3242429wjc.125.1410961637870;\n\tWed, 17 Sep 2014 06:47:17 -0700 (PDT)",
        "From": "David Marchand <david.marchand@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Wed, 17 Sep 2014 15:46:41 +0200",
        "Message-Id": "<1410961612-8571-10-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "In-Reply-To": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "References": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v3 09/20] i40e/base: add a raw macro for use by\n\tshared code",
        "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 shared code always add a trailing \\n, add a PMD_DRV_LOG_RAW macro that\nwill not add one.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_pmd_i40e/i40e/i40e_osdep.h |    8 ++++----\n lib/librte_pmd_i40e/i40e_logs.h       |    9 ++++++---\n 2 files changed, 10 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e/i40e_osdep.h b/lib/librte_pmd_i40e/i40e/i40e_osdep.h\nindex 0ed4b65..de71b0d 100644\n--- a/lib/librte_pmd_i40e/i40e/i40e_osdep.h\n+++ b/lib/librte_pmd_i40e/i40e/i40e_osdep.h\n@@ -100,10 +100,10 @@ typedef enum i40e_status_code i40e_status;\n #define FIELD_SIZEOF(t, f) (sizeof(((t*)0)->f))\n #define ASSERT(x) if(!(x)) rte_panic(\"IXGBE: x\")\n \n-#define DEBUGOUT(S)        PMD_DRV_LOG(DEBUG, S)\n-#define DEBUGOUT1(S, A...) PMD_DRV_LOG(DEBUG, S, ##A)\n+#define DEBUGOUT(S)        PMD_DRV_LOG_RAW(DEBUG, S)\n+#define DEBUGOUT1(S, A...) PMD_DRV_LOG_RAW(DEBUG, S, ##A)\n \n-#define DEBUGFUNC(F) DEBUGOUT(F)\n+#define DEBUGFUNC(F) DEBUGOUT(F \"\\n\")\n #define DEBUGOUT2 DEBUGOUT1\n #define DEBUGOUT3 DEBUGOUT2\n #define DEBUGOUT6 DEBUGOUT3\n@@ -112,7 +112,7 @@ typedef enum i40e_status_code i40e_status;\n #define i40e_debug(h, m, s, ...)                                \\\n do {                                                            \\\n \tif (((m) & (h)->debug_mask))                            \\\n-\t\tPMD_DRV_LOG(DEBUG, \"i40e %02x.%x \" s,           \\\n+\t\tPMD_DRV_LOG_RAW(DEBUG, \"i40e %02x.%x \" s,       \\\n \t\t\t(h)->bus.device, (h)->bus.func,         \\\n \t\t\t\t\t##__VA_ARGS__);         \\\n } while (0)\ndiff --git a/lib/librte_pmd_i40e/i40e_logs.h b/lib/librte_pmd_i40e/i40e_logs.h\nindex f991dd2..043ecba 100644\n--- a/lib/librte_pmd_i40e/i40e_logs.h\n+++ b/lib/librte_pmd_i40e/i40e_logs.h\n@@ -65,10 +65,13 @@\n #endif\n \n #ifdef RTE_LIBRTE_I40E_DEBUG_DRIVER\n-#define PMD_DRV_LOG(level, fmt, args...) \\\n-\tRTE_LOG(level, PMD, \"%s(): \" fmt \"\\n\", __func__, ## args)\n+#define PMD_DRV_LOG_RAW(level, fmt, args...) \\\n+\tRTE_LOG(level, PMD, \"%s(): \" fmt, __func__, ## args)\n #else\n-#define PMD_DRV_LOG(level, fmt, args...) do { } while(0)\n+#define PMD_DRV_LOG_RAW(level, fmt, args...) do { } while (0)\n #endif\n \n+#define PMD_DRV_LOG(level, fmt, args...) \\\n+\tPMD_DRV_LOG_RAW(level, fmt \"\\n\", ## args)\n+\n #endif /* _I40E_LOGS_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "09/20"
    ]
}