Show a patch.

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

{
    "id": 283,
    "url": "https://patches.dpdk.org/api/patches/283/",
    "web_url": "https://patches.dpdk.org/patch/283/",
    "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-11-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-01T10:24:33",
    "name": "[dpdk-dev,v2,10/17] i40e: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "81199dbe29e68ddae38b2cbba0f0a4b5518b3d49",
    "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/283/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/283/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/283/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "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=K3NGOHm3xKkp/BC4B0ydb8GwTryaVuPwdDcNIySc3sQ=;\n\tb=fqbf2nDD3dyjbbO0ctxhomIzRb0ej9hr72aauwG9n6qGrg8u/rVvkBGHKk6QDYgOP4\n\tAlO6UncM+aOJD7SCiL5YdpDdK4ukIBVKNnGJkM9fnmRIO+JqzFfBfAN5dqzyGz4m3Xn4\n\t+EholuhudwcHNN1Zruz6Wr8frzuLhlL6CviyXYKLLxqp1nmPmQMl7wYseTRu2VTHNKNW\n\tPD+2ZwmNrYwG94t0Pw3/C3tqFk94OaM2oUHUXy9NnfdIIkhHZHaOTAOOl7+xraEQqvuu\n\tr6leKohSsPcYp0FYBkg8wiINQTv5vWZsvNKSGEkeMeShxglwgkdIwhrMHnZo8mr+z39v\n\tualg==",
        "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQmmuVX6/H+Qb+8MSz7lTos6I3eUEjIebs8xPXZKWvQ2/x6lW1MuISdMSpJ39yteHyu8vttd",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Date": "Mon,  1 Sep 2014 12:24:33 +0200",
        "Received": [
            "from mail-wg0-f49.google.com (mail-wg0-f49.google.com\n\t[74.125.82.49]) by dpdk.org (Postfix) with ESMTP id B1753B3CD\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 12:20:39 +0200 (CEST)",
            "by mail-wg0-f49.google.com with SMTP id y10so5215417wgg.32\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:25:06 -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.05 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:06 -0700 (PDT)"
        ],
        "From": "David Marchand <david.marchand@6wind.com>",
        "Precedence": "list",
        "Message-Id": "<1409567080-27083-11-git-send-email-david.marchand@6wind.com>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v2 10/17] i40e: always log init messages",
        "X-List-Received-Date": "Mon, 01 Sep 2014 10:20:39 -0000",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<david.marchand@6wind.com>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-Received": "by 10.194.90.114 with SMTP id bv18mr31728184wjb.63.1409567106639;\n\tMon, 01 Sep 2014 03:25:06 -0700 (PDT)",
        "X-Mailman-Version": "2.1.15"
    },
    "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_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",
        "v2",
        "10/17"
    ]
}