Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/88761/?format=api
http://patchwork.dpdk.org/api/patches/88761/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210309233116.1934666-2-thomas@monjalon.net/", "project": { "id": 1, "url": "http://patchwork.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": "<20210309233116.1934666-2-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20210309233116.1934666-2-thomas@monjalon.net", "date": "2021-03-09T23:31:05", "name": "[01/11] eal: explain argv behaviour during init", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2402b0ef82ad097dd75fd8fa95ebedeb0e912a76", "submitter": { "id": 685, "url": "http://patchwork.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": { "id": 24651, "url": "http://patchwork.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210309233116.1934666-2-thomas@monjalon.net/mbox/", "series": [ { "id": 15554, "url": "http://patchwork.dpdk.org/api/series/15554/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=15554", "date": "2021-03-09T23:31:04", "name": "improve options help", "version": 1, "mbox": "http://patchwork.dpdk.org/series/15554/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/88761/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/88761/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 5327CA0567;\n\tWed, 10 Mar 2021 00:31:48 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 11D2A22A552;\n\tWed, 10 Mar 2021 00:31:40 +0100 (CET)", "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 240D122A552\n for <dev@dpdk.org>; Wed, 10 Mar 2021 00:31:39 +0100 (CET)", "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n by mailout.nyi.internal (Postfix) with ESMTP id C569E5C0094;\n Tue, 9 Mar 2021 18:31:38 -0500 (EST)", "from mailfrontend1 ([10.202.2.162])\n by compute4.internal (MEProxy); Tue, 09 Mar 2021 18:31:38 -0500", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 4D5F324005A;\n Tue, 9 Mar 2021 18:31:38 -0500 (EST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm3; bh=23HiqCcRXJCWg\n GdrKNmzaCXKux7hlgxbKNyRbBYXxgg=; b=qFSzLJSVaKSNz3U5q2BmyY1/m37Bk\n 9vxMfa2c1Tu2vAmrThPYKmHYyuJmborUj15MEeO0S264UtXYJ0lejoi/FX/nk9YC\n 97ROtNb1vBtQ2ickk+C6kfGxDVCEEm0vQCK5Bpl7Tdq25GFjSWXO8Sf0YLa0Yqgp\n xq0AO9WdoktBYEb8ZyMULZn/t/kwSB7sdsQVmx0LVetcOn0WCsEFaoiyQvZfRtq5\n RRDcN4s6L33/WwktIjwIoZ8CWUONc99qkafgeQxNvzMcRS/ZW+0pW1Bph3HsOpZd\n K12gjGj72bKXO+ySeB1j7lsgRI3b3V45x7lYrDz3J91ILlk4WwPwNetgQ==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm2; bh=23HiqCcRXJCWgGdrKNmzaCXKux7hlgxbKNyRbBYXxgg=; b=uadVrxmy\n VHvzEXJ3LEVvhLO33+MKQZm9Z8cpc0dz/AEwGd7KLpd7IdxG5GW8yu+0i2dcByxy\n ssoIFbn0pT64v1HQZ0w2Mro84Id/iuTbMrZOiel9zAuKQKd1wzusRNVFkLurJWxY\n IqwOijTZpEE5KGOczQNfDQaXuD6mhFqFMHM9KFU97eKkKqNq9z2ncgqlPtsTb4Wv\n VZWWrQ1H8uquOZKxFQ1ggD0QjvxNbLFfqwU943ySHVj9qIvY/IAh8VnkjzOgJV51\n tw1q7wq1o6hmajr1rrMuTXW/drj7x/f9bnKnBDQ974CSMI0j0/82fcOkIXXc2Qb7\n OA/7LyJ/4ZrdIw==" ], "X-ME-Sender": "<xms:WgVIYC_4DX1QdOwxQSA3-VBl74xW3rU0lBsWjtEYAnYqCjiS_dm1Zw>\n <xme:WgVIYCpntsGemu3CKA0UFgqStjHa-uwZSIY6ErDsxnfauMwWZChfsr2bhHO5F147q\n jhca6KzP6BI1YwcFA>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrudduiedgudejfecutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh\n necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke\n ertdertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs\n sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepvdehgfeivdejgedtve\n ehfefhteelfefgieevgfffveefjeegtdfguedthedtgeevnecukfhppeejjedrudefgedr\n vddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh\n hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght", "X-ME-Proxy": "<xmx:WgVIYE6eNoM5D8Vanh5GBL2E8_Ok_q-qIMGftUbMiYbjAaNzuf4QDA>\n <xmx:WgVIYCNoDkZqqgC8HKvutmYxbH6BbYs-j6YCCLigsq2C90ybV04_XQ>\n <xmx:WgVIYGPS9C6iz2javhyQ8ovtMw0w1yiKke4WjmmK9rSf1xQhPfU8pQ>\n <xmx:WgVIYD2ATSPZD-imX62sMWu454-l-fjy0HsP9ceVLCv68CDTuv-GgQ>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com", "Date": "Wed, 10 Mar 2021 00:31:05 +0100", "Message-Id": "<20210309233116.1934666-2-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.30.1", "In-Reply-To": "<20210309233116.1934666-1-thomas@monjalon.net>", "References": "<20210309233116.1934666-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 01/11] eal: explain argv behaviour during init", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "After argument parsing done by rte_eal_init(),\nthe remaining arguments are to be parsed by the application\nby progressing in the argv array.\nIn this context, the first string represented by argv[0] is still\nthe same program name as the original argv[0],\nwhile the next strings are the application arguments.\nThis is because rte_eal_init() manipulates the argv array\nafter EAL parsing, before returning to the application.\n\nThis note was missing in the doxygen comment of the API.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n lib/librte_eal/include/rte_eal.h | 2 ++\n 1 file changed, 2 insertions(+)", "diff": "diff --git a/lib/librte_eal/include/rte_eal.h b/lib/librte_eal/include/rte_eal.h\nindex eaf6469e50..0cbeedb594 100644\n--- a/lib/librte_eal/include/rte_eal.h\n+++ b/lib/librte_eal/include/rte_eal.h\n@@ -76,6 +76,8 @@ int rte_eal_iopl_init(void);\n * @param argv\n * An array of strings. The contents of the array, as well as the strings\n * which are pointed to by the array, may be modified by this function.\n+ * The program name pointer argv[0] is copied into the last parsed argv\n+ * so that argv[0] is still the same after deducing the parsed arguments.\n * @return\n * - On success, the number of parsed arguments, which is greater or\n * equal to zero. After the call to rte_eal_init(),\n", "prefixes": [ "01/11" ] }{ "id": 88761, "url": "