Show a patch.

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

{
    "id": 402,
    "url": "https://patches.dpdk.org/api/patches/402/",
    "web_url": "https://patches.dpdk.org/patch/402/",
    "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": "<1410961612-8571-6-git-send-email-david.marchand@6wind.com>",
    "date": "2014-09-17T13:46:37",
    "name": "[dpdk-dev,v3,05/20] ixgbe: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "93f628395c02b50a90b2609af273160ca8e096e1",
    "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/402/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/402/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/402/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "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=DWDYIga5xhVRmuWa24lSfYEfsNnXFmhM0yYpkcDlEKw=;\n\tb=do8ba1CwUs9A/TdDSKKKLlMw+5fN6RAm6KZoahw0tPCIIwvouHoKTCD4Y8xsFAkKja\n\tN2nPOWqKivJo74fnvjvRE/58t99mKPfnP8JH3Ik8WQQQwww3DR6AwdKYyX03ZjaeS6t0\n\tuJqRPoFwDXucpbPtRE+gSwl98Z822Slccq6/u1+ZZYsXFRtwNaLr392G1GVbRG2z9Y5U\n\t6hdJX4O+SjhlMzLvCS2uhFR0Zv1i/9T0J6zHP7zDlOWBFqujTW3Jtu/F8HCtgH/Sdfl9\n\tuABEYWGUJTnuQJI0XW2Vs6x6R/BIwnrunb+7A/BNR8tDpcY137MBCRMS7mYmRAschND9\n\tPZ/A==",
        "In-Reply-To": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "Precedence": "list",
        "Date": "Wed, 17 Sep 2014 15:46:37 +0200",
        "References": "<1410961612-8571-1-git-send-email-david.marchand@6wind.com>",
        "X-Mailer": "git-send-email 1.7.10.4",
        "X-Gm-Message-State": "ALoCoQnYDVJLqcdQR0POlKytVh3IZ1CcdJiQxKU1oDp++jiVHbI9su95D0x7OzEw196eXS4miKa5",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-BeenThere": "dev@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id B6705B3B7;\n\tWed, 17 Sep 2014 15:41:29 +0200 (CEST)",
            "from mail-we0-f171.google.com (mail-we0-f171.google.com\n\t[74.125.82.171]) by dpdk.org (Postfix) with ESMTP id ACAE7B3A8\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 15:41:27 +0200 (CEST)",
            "by mail-we0-f171.google.com with SMTP id p10so1472562wes.2\n\tfor <dev@dpdk.org>; Wed, 17 Sep 2014 06:47:08 -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.05 for <multiple recipients>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 17 Sep 2014 06:47:08 -0700 (PDT)"
        ],
        "From": "David Marchand <david.marchand@6wind.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1410961612-8571-6-git-send-email-david.marchand@6wind.com>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v3 05/20] ixgbe: always log init messages",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Received": "by 10.194.58.41 with SMTP id n9mr2766183wjq.20.1410961628887;\n\tWed, 17 Sep 2014 06:47:08 -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>\nAcked-by: Bruce Richardson <bruce.richardson@intel.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 4685c18..572e030 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 \"\\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_IXGBE_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",
        "05/20"
    ]
}