Show a patch.

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

{
    "id": 232,
    "url": "http://patches.dpdk.org/api/patches/232/",
    "web_url": "http://patches.dpdk.org/patch/232/",
    "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": "<1409062162-19575-7-git-send-email-david.marchand@6wind.com>",
    "date": "2014-08-26T14:09:16",
    "name": "[dpdk-dev,06/11] i40e: always log init messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "266dd1a2d341a17383602816f347eb60df004f94",
    "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/232/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/232/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/232/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<david.marchand@6wind.com>",
        "References": "<1409062162-19575-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": "Tue, 26 Aug 2014 14:05:38 -0000",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1409062162-19575-7-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=q3EbfYkXPyOx5weKf9un68vSmVavozrIfyqdGT65tkY=;\n\tb=jo8bNoH7X26/c69uIFe0icm8f7sDq69PzzhmPaVtB3mGWZnHLyIOxmDcVST5XtpRgg\n\tmrK29Forx/jAkzaG9j6EHRawQoVzpVsezUw6TCiRWOUEevpFcOtKOnv+Y98E4lZkiqIb\n\tss7oYBi5SPI+MDc2ksVImN7J60cFGzBi+ZeS6bmgnrZhruFgxU0TDiWexVrvNwApYabd\n\tolVevRFERxDnYTLYZP9OxXd+j1620PtmtuUImmwM5/15OzyG5V1AlJgvWyHPASKe4CmS\n\tH+qxdGW1WzxJ71vZXqTEtGQiUt7adgLqgdAzFTbW1yKBCHdDKHiK/WwTnsA7f61KTYcI\n\tZMiQ==",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-Received": "by 10.194.161.200 with SMTP id xu8mr19134631wjb.67.1409062178234;\n\tTue, 26 Aug 2014 07:09:38 -0700 (PDT)",
        "X-Mailer": "git-send-email 1.7.10.4",
        "Precedence": "list",
        "X-Gm-Message-State": "ALoCoQltyjO4sOJviA88lDfTf8RwFY6yDq5xQjyxRR3kGFkOvo9xT1lmlZvu73QPmLOB8B/vNIuC",
        "Date": "Tue, 26 Aug 2014 16:09:16 +0200",
        "Subject": "[dpdk-dev] [PATCH 06/11] i40e: always log init messages",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Received": [
            "from mail-we0-f172.google.com (mail-we0-f172.google.com\n\t[74.125.82.172]) by dpdk.org (Postfix) with ESMTP id 2F60F682E\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:05:38 +0200 (CEST)",
            "by mail-we0-f172.google.com with SMTP id x48so14913369wes.31\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:09:38 -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.36 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:37 -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": "<1409062162-19575-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_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 b78e2a1..1430a32 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, __func__, ## args)\n+\trte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD, \\\n+\t\t\"PMD: %s(): \" fmt, __func__, ##args)\n+\n+#ifdef RTE_LIBRTE_I40E_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",
        "06/11"
    ]
}