Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/137552/?format=api
http://patches.dpdk.org/api/patches/137552/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1709242325-17218-8-git-send-email-roretzla@linux.microsoft.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": "<1709242325-17218-8-git-send-email-roretzla@linux.microsoft.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1709242325-17218-8-git-send-email-roretzla@linux.microsoft.com", "date": "2024-02-29T21:31:50", "name": "[v5,07/22] net: stop using variadic argument pack extension", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d1eefd21cdc14e0013b8077e0e9a6d848b870cda", "submitter": { "id": 2077, "url": "http://patches.dpdk.org/api/people/2077/?format=api", "name": "Tyler Retzlaff", "email": "roretzla@linux.microsoft.com" }, "delegate": { "id": 24651, "url": "http://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1709242325-17218-8-git-send-email-roretzla@linux.microsoft.com/mbox/", "series": [ { "id": 31312, "url": "http://patches.dpdk.org/api/series/31312/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=31312", "date": "2024-02-29T21:31:45", "name": "stop using variadic argument pack extension", "version": 5, "mbox": "http://patches.dpdk.org/series/31312/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/137552/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/137552/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 93F5343B7D;\n\tThu, 29 Feb 2024 22:32:45 +0100 (CET)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id BF73243003;\n\tThu, 29 Feb 2024 22:32:23 +0100 (CET)", "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n by mails.dpdk.org (Postfix) with ESMTP id C6EF042DDD\n for <dev@dpdk.org>; Thu, 29 Feb 2024 22:32:08 +0100 (CET)", "by linux.microsoft.com (Postfix, from userid 1086)\n id 44D3920B74C7; Thu, 29 Feb 2024 13:32:07 -0800 (PST)" ], "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 44D3920B74C7", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n s=default; t=1709242327;\n bh=vSbwSNdFL7oqlGAb0+LnFj3GoMaH/TE7vlEQmVCP5Jo=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=oOrBPG5gzZR9Mlr026AosSHnP8k/ELaiuhgm7XnIIdpGM9gnINoSouKxZXwKtW7EE\n 7jSBlCIAHgjuMeL9puaUV4mWHIANeI5DHM/M0oaKtgcAdtLMZMGygXA16Fx7o9aKx7\n 9noyg7WRKAiWNln6+pCfjx8T06sEsmCeypeEve6M=", "From": "Tyler Retzlaff <roretzla@linux.microsoft.com>", "To": "dev@dpdk.org", "Cc": "Anatoly Burakov <anatoly.burakov@intel.com>,\n Ashish Gupta <ashish.gupta@marvell.com>, Chenbo Xia <chenbox@nvidia.com>,\n Cristian Dumitrescu <cristian.dumitrescu@intel.com>,\n David Hunt <david.hunt@intel.com>, Fan Zhang <fanzhang.oss@gmail.com>,\n Hemant Agrawal <hemant.agrawal@nxp.com>,\n Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,\n Jasvinder Singh <jasvinder.singh@intel.com>,\n Jerin Jacob <jerinj@marvell.com>,\n Konstantin Ananyev <konstantin.v.ananyev@yandex.ru>,\n Maxime Coquelin <maxime.coquelin@redhat.com>,\n Reshma Pattan <reshma.pattan@intel.com>,\n Sachin Saxena <sachin.saxena@nxp.com>,\n Sivaprasad Tummala <sivaprasad.tummala@amd.com>,\n Srikanth Yalavarthi <syalavarthi@marvell.com>,\n Stephen Hemminger <stephen@networkplumber.org>,\n Sunil Kumar Kori <skori@marvell.com>, bruce.richardson@intel.com,\n mb@smartsharesystems.com, thomas@monjalon.net,\n Tyler Retzlaff <roretzla@linux.microsoft.com>", "Subject": "[PATCH v5 07/22] net: stop using variadic argument pack extension", "Date": "Thu, 29 Feb 2024 13:31:50 -0800", "Message-Id": "<1709242325-17218-8-git-send-email-roretzla@linux.microsoft.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1709242325-17218-1-git-send-email-roretzla@linux.microsoft.com>", "References": "<1707774557-16012-1-git-send-email-roretzla@linux.microsoft.com>\n <1709242325-17218-1-git-send-email-roretzla@linux.microsoft.com>", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Use RTE_LOG_LINE_PREFIX instead of RTE_LOG_LINE in macro expansions\nwhich allow a prefix and arguments to be inserted into the log line\nwithout the need to use the ## args variadic argument pack extension.\n\nSigned-off-by: Tyler Retzlaff <roretzla@linux.microsoft.com>\n---\n lib/net/rte_net_crc.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)", "diff": "diff --git a/lib/net/rte_net_crc.c b/lib/net/rte_net_crc.c\nindex b401ea3..346c285 100644\n--- a/lib/net/rte_net_crc.c\n+++ b/lib/net/rte_net_crc.c\n@@ -73,8 +73,8 @@\n RTE_LOG_REGISTER_DEFAULT(libnet_logtype, INFO);\n #define RTE_LOGTYPE_NET libnet_logtype\n \n-#define NET_LOG(level, fmt, args...) \\\n-\tRTE_LOG_LINE(level, NET, \"%s(): \" fmt, __func__, ## args)\n+#define NET_LOG(level, ...) \\\n+\tRTE_LOG_LINE_PREFIX(level, NET, \"%s(): \", __func__, __VA_ARGS__)\n \n /* Scalar handling */\n \n", "prefixes": [ "v5", "07/22" ] }{ "id": 137552, "url": "