Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/277/?format=api
http://patches.dpdk.org/api/patches/277/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409567080-27083-5-git-send-email-david.marchand@6wind.com/", "project": { "id": 1, "url": "http://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", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1409567080-27083-5-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1409567080-27083-5-git-send-email-david.marchand@6wind.com", "date": "2014-09-01T10:24:27", "name": "[dpdk-dev,v2,04/17] ixgbe: always log init messages", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "93f628395c02b50a90b2609af273160ca8e096e1", "submitter": { "id": 3, "url": "http://patches.dpdk.org/api/people/3/?format=api", "name": "David Marchand", "email": "david.marchand@6wind.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1409567080-27083-5-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/277/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/277/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<david.marchand@6wind.com>", "Received": [ "from mail-wi0-f181.google.com (mail-wi0-f181.google.com\n\t[209.85.212.181]) by dpdk.org (Postfix) with ESMTP id 99790B3A7\n\tfor <dev@dpdk.org>; Mon, 1 Sep 2014 12:20:25 +0200 (CEST)", "by mail-wi0-f181.google.com with SMTP id e4so5833809wiv.2\n\tfor <dev@dpdk.org>; Mon, 01 Sep 2014 03:24:52 -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.24.51 for <dev@dpdk.org>\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 01 Sep 2014 03:24:51 -0700 (PDT)" ], "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=eVjNcd5/ZY7Yym5Ap9fXY6VXCjX/62RdMgL1OcFyYF4=;\n\tb=Ilvc5wmkQQrZGspIqo7gbikA44JK7XYUNmfCqUuo5EY2ZE+YYRFcPheHZrsDa5Hzl0\n\tfx/ZmMpH1CcH+PMSHCX1ZYNWyaLUdT1Ah2Zush4dfCJ96+JgexR+A4i+No4M3AYj5D5n\n\tijCuyOV2jwDpCsmGyRSp207uQPIilPljev/FTPzNrTG1T1LKojzkQfdcHuGbnsovD4Hu\n\ttsihPJwKTweEzmY5OZqIzajzTlsOBsCsnJ6jv2KNitXu+KZ5ZG4Ks6FxkTVIRPwVIj8H\n\tTT0ClAwGYjxQ5NRQOOxRhs8K5qMgVInaqkiYCTd2Y5A49hyOVC96zQqTkY97NO5J7tZm\n\t55TQ==", "X-Gm-Message-State": "ALoCoQmw0Lrg9Wuk55wkPGCTX4Y0sFLlNyi6abg2HYWFYd3z+DNccce3n9znszvLDrehJ03kdHmi", "X-Received": "by 10.180.109.169 with SMTP id ht9mr20743897wib.1.1409567092503; \n\tMon, 01 Sep 2014 03:24:52 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Date": "Mon, 1 Sep 2014 12:24:27 +0200", "Message-Id": "<1409567080-27083-5-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.7.10.4", "In-Reply-To": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>", "References": "<1409567080-27083-1-git-send-email-david.marchand@6wind.com>", "Subject": "[dpdk-dev] [PATCH v2 04/17] ixgbe: always log init messages", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "X-List-Received-Date": "Mon, 01 Sep 2014 10:20:25 -0000" }, "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 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", "v2", "04/17" ] }{ "id": 277, "url": "