Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/90580/?format=api
https://patches.dpdk.org/api/patches/90580/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210405193954.1115838-2-thomas@monjalon.net/", "project": { "id": 1, "url": "https://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": "<20210405193954.1115838-2-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20210405193954.1115838-2-thomas@monjalon.net", "date": "2021-04-05T19:39:51", "name": "[v5,1/4] eal: explain argv behaviour during init", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "2402b0ef82ad097dd75fd8fa95ebedeb0e912a76", "submitter": { "id": 685, "url": "https://patches.dpdk.org/api/people/685/?format=api", "name": "Thomas Monjalon", "email": "thomas@monjalon.net" }, "delegate": { "id": 24651, "url": "https://patches.dpdk.org/api/users/24651/?format=api", "username": "dmarchand", "first_name": "David", "last_name": "Marchand", "email": "david.marchand@redhat.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210405193954.1115838-2-thomas@monjalon.net/mbox/", "series": [ { "id": 16110, "url": "https://patches.dpdk.org/api/series/16110/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16110", "date": "2021-04-05T19:39:50", "name": "improve options help", "version": 5, "mbox": "https://patches.dpdk.org/series/16110/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/90580/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/90580/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 68125A0A02;\n\tMon, 5 Apr 2021 21:40:11 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 30CB0140E8F;\n\tMon, 5 Apr 2021 21:40:04 +0200 (CEST)", "from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com\n [64.147.123.19])\n by mails.dpdk.org (Postfix) with ESMTP id 715D5140E7F\n for <dev@dpdk.org>; Mon, 5 Apr 2021 21:40:02 +0200 (CEST)", "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.west.internal (Postfix) with ESMTP id 1EA6B1AB4;\n Mon, 5 Apr 2021 15:40:01 -0400 (EDT)", "from mailfrontend1 ([10.202.2.162])\n by compute2.internal (MEProxy); Mon, 05 Apr 2021 15:40:01 -0400", "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id 1AB7124005C;\n Mon, 5 Apr 2021 15:39:59 -0400 (EDT)" ], "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=8M86ZRqJouHsP\n qA+DZhONvETjCjzzEHdwzFkSHfiFpY=; b=FrM1+JgZhAv0jFlZQMh8/+o+IIB0t\n O8nB0slwG4K2JZNjwq7+jQT5Zuda1wycLImLfugnKKQNXuRLpymIhjScl3L9GVS9\n MYknNXE54LTFz2uM2Xyj1P5O+b7i5tV5XSmQ2tS06J3IejnLK6FXfmP7/P+1s4Q3\n GKgdxSqe7fDbHZ1eFlNROL/54E7fAy2whCrKGt81Xpdp1uNOJjAzJJmw1NPbteP5\n aCGtVtAZBVJdIh4VTxNfiBmcV5cBEUHAMtaKro/hBVEJRcJMex/3Gxe/XFFQq1b0\n lCYZAyFqcX+0jPnvCQWPZFHrAXx25g3muo61bbycIIOFeY8um2GL7ZNqQ==", "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=8M86ZRqJouHsPqA+DZhONvETjCjzzEHdwzFkSHfiFpY=; b=kgpJ12lj\n vFOZZ1O7l6yhY7xCSWHWVAa51LuCBdk8bVTtFbG43KeR4z7penPwLTlRNN7U0m17\n 0RJpP+wENGZ2dGR2k0SnlhBNhp9YX+4v8vYSKC6xgNjbuTvOq45qdT4CHrlhzUrm\n Q0wwetUYEgmIT8AnvRSTBxG7/7UrNxsp2Xq27MYrdKJ/gAyqAfaeKWnnf5wY0T2/\n XvBNE2Gqrga6RPyNJWos2Iv/4DbUTf/76hIF+41gvrPjcItsTvpSeJZ+nPhxDeHY\n DsoFzPEc1jaUFYggPdt1E3EzxdY4Q7Onx8MssqO4uHUHlBdtkbOQPiun6CQYXNpK\n fyv9yL0geRafdw==" ], "X-ME-Sender": "<xms:j2drYBhtF0yujG3zCIPgnD-rI3D604UeaVmRY2f9uXt-3m4aGFw8yw>\n <xme:j2drYGAfExyEF8XYbJfZ2_V_JaLDajSd4YGENnIYaf7UWrY2Hu0KpKO3m6D3ecUju\n OxLoKZTPz-fh5sYaA>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrudejvddgudegvdcutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh\n necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd\n enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm\n rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt\n gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh\n fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr\n lhhonhdrnhgvth", "X-ME-Proxy": "<xmx:j2drYBH0NEYOIi9UJ6lw3jJ4HFqjRfT0VNjInUG49TBEx4n72JN5Gg>\n <xmx:j2drYGSdYnq7CkdaQekPu-81CymPOW6X65MA5vSsVgDdlPVhwwDI_w>\n <xmx:j2drYOyf2MFn2jUFWwICqA3DNAvLfxIb18wwKZQk9_8HVP2CYjjP9w>\n <xmx:kGdrYDpxQv0P7Dxl8N2K7Vz-S6W5SC5oxEQFzo-2fNHtMxZs5bpynQ>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,\n Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>", "Date": "Mon, 5 Apr 2021 21:39:51 +0200", "Message-Id": "<20210405193954.1115838-2-thomas@monjalon.net>", "X-Mailer": "git-send-email 2.31.1", "In-Reply-To": "<20210405193954.1115838-1-thomas@monjalon.net>", "References": "<20210309233116.1934666-1-thomas@monjalon.net>\n <20210405193954.1115838-1-thomas@monjalon.net>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v5 1/4] 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>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>\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": [ "v5", "1/4" ] }{ "id": 90580, "url": "