Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/235/?format=api
http://patches.dpdk.org/api/patches/235/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1409062162-19575-10-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": "<1409062162-19575-10-git-send-email-david.marchand@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1409062162-19575-10-git-send-email-david.marchand@6wind.com", "date": "2014-08-26T14:09:19", "name": "[dpdk-dev,09/11] e1000: always log init messages", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "623b80f48b2b658e84f34464db78a771d0139509", "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/1409062162-19575-10-git-send-email-david.marchand@6wind.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/235/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/235/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<david.marchand@6wind.com>", "Received": [ "from mail-wi0-f176.google.com (mail-wi0-f176.google.com\n\t[209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 06D77B384\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 16:05:43 +0200 (CEST)", "by mail-wi0-f176.google.com with SMTP id bs8so4260250wib.15\n\tfor <dev@dpdk.org>; Tue, 26 Aug 2014 07:09:43 -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.41 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:42 -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=qbthBVtDBgBzUbp/AKtda7ekRw33iAt1KbMyxwwQx9g=;\n\tb=NsP7Ekal24uz9D1pOwvGwGrWx1r1AFxdaHAPL5EjOVzkCQP/T4mHid0FKr30Hk7sFN\n\tQpDgXlcEn4e4El5JspR634XR54CKZMV143N9H9CiI2Kl6qgAskko/fw5pa3vUX8w1rPg\n\tgsYl8mslFM/IdErSaQrqLo496AXVMuX9DmMHKAROiGBVG95BflYQaVT63BU10v1aN8gc\n\trTBgBJUsiZLeCocTr7405eTPi/d8cbP8Nfe0EbE3PPEWZklXF3Rlp9ZIgcda0JlGMlQ6\n\tC8o3vGHiGn0ZK8kt9Yc5c6DxGmyjlAx5U+cPkxeQSccnLp4eXDy7k2V0Kkj+zGqLpHdp\n\thN0A==", "X-Gm-Message-State": "ALoCoQlWkMGUeDOtXNaDICFELVbZST9f7Q4ntufaEvQBrRy4TVCoHP0fzmLYmvL4Qqie4922SNFH", "X-Received": "by 10.180.14.170 with SMTP id q10mr22120729wic.56.1409062183044; \n\tTue, 26 Aug 2014 07:09:43 -0700 (PDT)", "From": "David Marchand <david.marchand@6wind.com>", "To": "dev@dpdk.org", "Date": "Tue, 26 Aug 2014 16:09:19 +0200", "Message-Id": "<1409062162-19575-10-git-send-email-david.marchand@6wind.com>", "X-Mailer": "git-send-email 1.7.10.4", "In-Reply-To": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>", "References": "<1409062162-19575-1-git-send-email-david.marchand@6wind.com>", "Subject": "[dpdk-dev] [PATCH 09/11] e1000: 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": "Tue, 26 Aug 2014 14:05:44 -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_e1000/e1000_logs.h | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)", "diff": "diff --git a/lib/librte_pmd_e1000/e1000_logs.h b/lib/librte_pmd_e1000/e1000_logs.h\nindex 02f5930..791705c 100644\n--- a/lib/librte_pmd_e1000/e1000_logs.h\n+++ b/lib/librte_pmd_e1000/e1000_logs.h\n@@ -34,12 +34,13 @@\n #ifndef _E1000_LOGS_H_\n #define _E1000_LOGS_H_\n \n-#ifdef RTE_LIBRTE_E1000_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_E1000_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", "09/11" ] }{ "id": 235, "url": "