Show a patch.

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

{
    "id": 275,
    "url": "https://patches.dpdk.org/api/patches/275/",
    "web_url": "https://patches.dpdk.org/patch/275/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1409567080-27083-3-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-01T10:24:25",
    "name": "[dpdk-dev,v2,02/17] ixgbe/base: add a _RAW macro for use by shared code",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "09c6b8dd9c08cafd5fe3db1c69658b0aa24d1ed2",
    "submitter": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/people/3/",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/275/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/275/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/275/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "X-Gm-Message-State": "ALoCoQl3R8IVvv12FsVzmm0zFFoy5KKW5wzfiLM1bzf1pB7hFOVhrwHFrgQt///Dv7lti49BkCRX",
        "List-Post": "<mailto:dev@dpdk.org>",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v2 02/17] ixgbe/base: add a _RAW macro for use by\n\tshared code",
        "From": "David Marchand <david.marchand@6wind.com>",
        "Received": [
            "from mail-wi0-f169.google.com (mail-wi0-f169.google.com\n\t[209.85.212.169]) by dpdk.org (Postfix) with ESMTP id B2AEAB398\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 12:20:22 +0200 (CEST)",
            "by mail-wi0-f169.google.com with SMTP id n3so2359748wiv.0\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:24:49 -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\tlm18sm24287018wic.22.2014.09.01.03.24.48 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:24:49 -0700 (PDT)"
        ],
        "To": "dev@dpdk.org",
        "X-Mailer": "git-send-email 1.7.10.4",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "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:in-reply-to\n\t:references;\n\tbh=/yRfWC5mknya9CCyrYwS3wHbf0U2FgIQ/PsiWHbj0Ko=;\n\tb=AqUEsi42gZzZjBJczggcZnSRjs7KRRSNfkQrQu1UJkoCxQKrwIIxNFxVHjcF1H9fjH\n\tDTJzwFKUe5Z9bSiW6t1Ak2JLCebI4Kk2ADsyGg5oNeTiIrKqJ5p0kAsUl7Y/8imZ4sL/\n\tGsnP/lPDrGmOdxHgPwj5jXGc0Kb7llgOZW/Fmd+vk0UqKn0n7hbiYXQf4+ElW+BZ22z/\n\tEmMXUwm/aYfr+R99qLpAzq8Lv8BA+AseFRPklkZTsC+6hKZw8k1jey0QUXVr/buXYcYC\n\tdWBj6tJYD9iR6QLbdPpBci8tvzLDtAUN4IrXM+KjP47N4G6G2yiZQaL1ASW/Nt7MTQ73\n\tapOA==",
        "Date": "Mon,  1 Sep 2014 12:24:25 +0200",
        "X-Received": "by 10.194.77.243 with SMTP id v19mr30667411wjw.18.1409567089637; \n\tMon, 01 Sep 2014 03:24:49 -0700 (PDT)",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "X-List-Received-Date": "Mon, 01 Sep 2014 10:20:22 -0000",
        "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<1409567080-27083-3-git-send-email-david.marchand@6wind.com>",
        "Return-Path": "<david.marchand@6wind.com>"
    },
    "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>\n---\n lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h |    4 ++--\n lib/librte_pmd_ixgbe/ixgbe_logs.h        |    9 ++++++---\n 2 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\nindex 2bf1a6d..ae9c280 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\n+++ b/lib/librte_pmd_ixgbe/ixgbe/ixgbe_osdep.h\n@@ -54,8 +54,8 @@\n #define usec_delay(x) DELAY(x)\n #define msec_delay(x) DELAY(1000*(x))\n \n-#define DEBUGFUNC(F)            DEBUGOUT(F);\n-#define DEBUGOUT(S, args...)    PMD_DRV_LOG(DEBUG, S, ##args)\n+#define DEBUGFUNC(F)            DEBUGOUT(F \"\\n\");\n+#define DEBUGOUT(S, args...)    PMD_DRV_LOG_RAW(DEBUG, S, ##args)\n #define DEBUGOUT1(S, args...)   DEBUGOUT(S, ##args)\n #define DEBUGOUT2(S, args...)   DEBUGOUT(S, ##args)\n #define DEBUGOUT3(S, args...)   DEBUGOUT(S, ##args)\ndiff --git a/lib/librte_pmd_ixgbe/ixgbe_logs.h b/lib/librte_pmd_ixgbe/ixgbe_logs.h\nindex 9f0a684..4685c18 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_logs.h\n+++ b/lib/librte_pmd_ixgbe/ixgbe_logs.h\n@@ -65,10 +65,13 @@\n #endif\n \n #ifdef RTE_LIBRTE_IXGBE_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 /* _IXGBE_LOGS_H_ */\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "02/17"
    ]
}