Show a patch.

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

{
    "id": 228,
    "url": "https://patches.dpdk.org/api/patches/228/?format=api",
    "web_url": "https://patches.dpdk.org/patch/228/",
    "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"
    },
    "msgid": "<1409062162-19575-3-git-send-email-david.marchand@6wind.com>",
    "date": "2014-08-26T14:09:12",
    "name": "[dpdk-dev,02/11] ixgbe: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "edfb47e12eeb0c479b3ef11bd634599c28cd9e6d",
    "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/patch/228/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/228/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/228/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<david.marchand@6wind.com>",
        "Message-Id": "<1409062162-19575-3-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQmivxr/sUi8IInOfcwjjCo24QI3FUTf/vCxSncQGrJXByq0Z/bLHfwoCo1M85XNluXg1O+i",
        "To": "dev@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from mail-wi0-f179.google.com (mail-wi0-f179.google.com\n\t[209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 6C709B375\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:05:32 +0200 (CEST)",
            "by mail-wi0-f179.google.com with SMTP id f8so4225905wiw.6\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:09:32 -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\tcy9sm12543569wib.18.2014.08.26.07.09.31 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 26 Aug 2014 07:09:31 -0700 (PDT)"
        ],
        "Subject": "[dpdk-dev] [PATCH 02/11] ixgbe: always log init messages",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "In-Reply-To": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "From": "David Marchand <david.marchand@6wind.com>",
        "X-Received": "by 10.180.74.42 with SMTP id q10mr22376822wiv.39.1409062172460; \n\tTue, 26 Aug 2014 07:09:32 -0700 (PDT)",
        "References": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>",
        "X-List-Received-Date": "Tue, 26 Aug 2014 14:05:32 -0000",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Date": "Tue, 26 Aug 2014 16:09:12 +0200",
        "X-Mailman-Version": "2.1.15",
        "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=hCeh7cZ6rAkE5BSsYkaDcgpBrTb82WFkKBnZ8uDJMIs=;\n\tb=LdXtsZWhhZhfOkewSbK96K/hEvkZuI/6NJ+MI2lsB+0kF5pi/sCSTYmvkTgTUfeU9Z\n\tsem2J1EDq8aOqrTxa6C/adB8R7W8pwCmtxb/fOb61pPfdXhbEBMCfHoTImJltS8aJkzT\n\tCoayHL3JEYOY2CYuiEoZ1c1qCMjx9T4zMK3PSccijs5zr4RSGgKJi0HtLa9V0lAtkSOE\n\tDS6QaemOQTjOUpr/mFwcqiQKjBBlCKQW/cuxJvYeMTi12xE3J4wgRBukv+4DyeieSwc8\n\twp0J+XbdKNJaQX7BLEhFtfsJ0+/1AI5iVVSBhrAktmMRl+7HTWi3QxE4HRlMLGafRSap\n\tnM2g=="
    },
    "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_ixgbe/ixgbe_logs.h |    7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_ixgbe/ixgbe_logs.h b/lib/librte_pmd_ixgbe/ixgbe_logs.h\nindex 22d8cfb..88fa7d5 100644\n--- a/lib/librte_pmd_ixgbe/ixgbe_logs.h\n+++ b/lib/librte_pmd_ixgbe/ixgbe_logs.h\n@@ -34,12 +34,13 @@\n #ifndef _IXGBE_LOGS_H_\n #define _IXGBE_LOGS_H_\n \n-#ifdef RTE_LIBRTE_IXGBE_DEBUG_INIT\n #define PMD_INIT_LOG(level, fmt, args...) \\\n-\tRTE_LOG(level, PMD, \"%s(): \" fmt, __func__, ## args)\n+\trte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \\\n+\t\t\"PMD: %s(): \" fmt, __func__, ##args)\n+\n+#ifdef RTE_LIBRTE_IXGBE_DEBUG_INIT\n #define PMD_INIT_FUNC_TRACE() PMD_INIT_LOG(DEBUG, \" >>\\n\")\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",
        "02/11"
    ]
}