Show a patch.

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

{
    "id": 409,
    "url": "http://patches.dpdk.org/api/patches/409/",
    "web_url": "http://patches.dpdk.org/patch/409/",
    "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": "<1410961612-8571-13-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-17T13:46:44",
    "name": "[dpdk-dev,v3,12/20] i40e: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "81199dbe29e68ddae38b2cbba0f0a4b5518b3d49",
    "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/409/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/409/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/409/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "References": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailman-Version": "2.1.15",
        "Date": "Wed, 17 Sep 2014 15:46:44 +0200",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1410961612-8571-13-git-send-email-david.marchand@6wind.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "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=bYD0lHabhGhlgO/tp/g/D0+hvcdB7Sa/VX4X1jVtadI=;\n\tb=ibht3rWXahwsyY4guJ/eDOQNupoy2uF2LyEfZtnLJck6bUTeJ5OQ2MSw0yAJhfCjD8\n\tf6RzwbEUdnTOGwass53JB9O0cyXffzgA+Q3xP3vPrnXsO883YU1GhEvjTNiNyxS6POGu\n\tYIcXYGpSmR60f+n8sazkq3nbl1M93tFT4mF/3VV2weS8M6/4xKFlXO6ns0fYzRRAjAX6\n\tZRGA0AmX/UHfNm/gc7jBvw/XGm8PdACF05Pl1IwlB3+xhQEYxsdD559na3QUGu6i6IXS\n\tm2+IgInfWI0Z9ZlwzwRTc0n+z9+dNAWHS89lm8qsK/zyr17WE52D2zTVS1e9QvmnlNu6\n\tFMHw==",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 90A48B3D5;\n\tWed, 17 Sep 2014 15:41:46 +0200 (CEST)",
            "from mail-wg0-f52.google.com (mail-wg0-f52.google.com\n\t[74.125.82.52]) by dpdk.org (Postfix) with ESMTP id A7CC6B3D3\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:41 +0200 (CEST)",
            "by mail-wg0-f52.google.com with SMTP id x13so1421407wgg.35\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:22 -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.21 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:22 -0700 (PDT)"
        ],
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Received": "by 10.194.188.110 with SMTP id fz14mr4566639wjc.70.1410961642834;\n\tWed, 17 Sep 2014 06:47:22 -0700 (PDT)",
        "Subject": "[dpdk-dev] [PATCH v3 12/20] i40e: always log init messages",
        "Precedence": "list",
        "X-Gm-Message-State": "ALoCoQlWGaeXflQx3SVbXNhMVerifKOcDKym0S7M3Sx+0ct9akJOrCBPTnz6n34kSsM/OMBc1uAi",
        "From": "David Marchand <david.marchand@6wind.com>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "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>",
        "Delivered-To": "patchwork@dpdk.org",
        "In-Reply-To": "<1410961612-8571-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>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/librte_pmd_i40e/i40e_logs.h |    7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/lib/librte_pmd_i40e/i40e_logs.h b/lib/librte_pmd_i40e/i40e_logs.h\nindex 043ecba..399867f 100644\n--- a/lib/librte_pmd_i40e/i40e_logs.h\n+++ b/lib/librte_pmd_i40e/i40e_logs.h\n@@ -34,12 +34,13 @@\n #ifndef _I40E_LOGS_H_\n #define _I40E_LOGS_H_\n \n-#ifdef RTE_LIBRTE_I40E_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_I40E_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",
        "v3",
        "12/20"
    ]
}