Show a patch.

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

{
    "id": 288,
    "url": "http://patches.dpdk.org/api/patches/288/",
    "web_url": "http://patches.dpdk.org/patch/288/",
    "project": {
        "id": 1,
        "url": "http://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-16-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-01T10:24:38",
    "name": "[dpdk-dev,v2,15/17] e1000: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "15f84952676ee2b2caa7a60b716d2d11c797167c",
    "submitter": {
        "id": 3,
        "url": "http://patches.dpdk.org/api/people/3/",
        "name": "David Marchand",
        "email": "david.marchand@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/patch/288/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/288/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/288/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailman-Version": "2.1.15",
        "From": "David Marchand <david.marchand@6wind.com>",
        "X-List-Received-Date": "Mon, 01 Sep 2014 10:20:48 -0000",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1409567080-27083-16-git-send-email-david.marchand@6wind.com>",
        "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=E1Z2/FUrW+os+D0q1EUJcaUfnFdLyK8nTA5YIU4uQbc=;\n\tb=AlfZBy88J2DILCfQuOQWIRe7p44mvp8gjbwyc912SBH8oSHT3YvyjiAWTW704fhuQH\n\tg3/OvTaz/1CzKYilX9MIoRhJDBjMmSrYyI8ogLTJKpTcYVdYEsaNmoc3Z4s6a5JKRm8a\n\t8qyT/O+LCxx+W1+LKmfDIwZJFwgLE7cSGsNXQFITgnLqquuZCNtRhxy427dVyEJ4pN2o\n\tejeGJHUrgXv9Jz5dUjIFlLp8hePcimn0HauuuPtNhkCS0kJ/j83rPNXjWUjCP0Lcalrw\n\t/lDAw8ph5/Igqm/EWO0/Vgjr8Dss67kY9M17MTcbESDEWWEz5Y9f4AMbVww8hIxzYOds\n\tTuHQ==",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-Received": "by 10.194.6.195 with SMTP id d3mr2007064wja.107.1409567114837;\n\tMon, 01 Sep 2014 03:25:14 -0700 (PDT)",
        "X-Mailer": "git-send-email 1.7.10.4",
        "Precedence": "list",
        "X-Gm-Message-State": "ALoCoQnjf5yFh+SSKt2kLDeK6Rurqg1I6D1kN+mW6ioO2+RtgByZAGeVS9WgdSdYsbKoLKEbhxTE",
        "Date": "Mon,  1 Sep 2014 12:24:38 +0200",
        "Subject": "[dpdk-dev] [PATCH v2 15/17] e1000: always log init messages",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Received": [
            "from mail-we0-f179.google.com (mail-we0-f179.google.com\n\t[74.125.82.179]) by dpdk.org (Postfix) with ESMTP id E0E2FB39A\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 12:20:47 +0200 (CEST)",
            "by mail-we0-f179.google.com with SMTP id t60so5210639wes.10\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:25:14 -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.25.13 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:25:14 -0700 (PDT)"
        ],
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "To": "dev@dpdk.org"
    },
    "content": "'init' messages should always be logged and filtered at runtime by rte_log.\nAll the more so as these messages are not in the datapath.\n\nSigned-off-by: David Marchand <david.marchand@6wind.com>\n---\n lib/librte_pmd_e1000/e1000_logs.h |    7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_e1000/e1000_logs.h b/lib/librte_pmd_e1000/e1000_logs.h\nindex 4dd7208..4a92804 100644\n--- a/lib/librte_pmd_e1000/e1000_logs.h\n+++ b/lib/librte_pmd_e1000/e1000_logs.h\n@@ -34,12 +34,13 @@\n #ifndef _E1000_LOGS_H_\n #define _E1000_LOGS_H_\n \n-#ifdef RTE_LIBRTE_E1000_DEBUG_INIT\n #define PMD_INIT_LOG(level, fmt, args...) \\\n-\tRTE_LOG(level, PMD, \"%s(): \" fmt \"\\n\", __func__, ## args)\n+\trte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \\\n+\t\t\"PMD: %s(): \" fmt \"\\n\", __func__, ##args)\n+\n+#ifdef RTE_LIBRTE_E1000_DEBUG_INIT\n #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, \" >>\")\n #else\n-#define PMD_INIT_LOG(level, fmt, args...) do { } while (0)\n #define PMD_INIT_FUNC_TRACE() do { } while (0)\n #endif\n \n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "15/17"
    ]
}