Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/88771/?format=api
https://patches.dpdk.org/api/patches/88771/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210309233116.1934666-12-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": "<20210309233116.1934666-12-thomas@monjalon.net>", "list_archive_url": "https://inbox.dpdk.org/dev/20210309233116.1934666-12-thomas@monjalon.net", "date": "2021-03-09T23:31:15", "name": "[11/11] app/testpmd: fix usage text", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "c21139c2e19e258f2656db03cee02c550de4b9c9", "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/20210309233116.1934666-12-thomas@monjalon.net/mbox/", "series": [ { "id": 15554, "url": "https://patches.dpdk.org/api/series/15554/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=15554", "date": "2021-03-09T23:31:04", "name": "improve options help", "version": 1, "mbox": "https://patches.dpdk.org/series/15554/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/88771/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/88771/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 50A87A0567;\n\tWed, 10 Mar 2021 00:32:54 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 63A2222A58F;\n\tWed, 10 Mar 2021 00:32:02 +0100 (CET)", "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by mails.dpdk.org (Postfix) with ESMTP id 157DF22A565\n for <dev@dpdk.org>; Wed, 10 Mar 2021 00:32:01 +0100 (CET)", "from compute4.internal (compute4.nyi.internal [10.202.2.44])\n by mailout.nyi.internal (Postfix) with ESMTP id B41265C009A;\n Tue, 9 Mar 2021 18:32:00 -0500 (EST)", "from mailfrontend1 ([10.202.2.162])\n by compute4.internal (MEProxy); Tue, 09 Mar 2021 18:32:00 -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 3EC7524005D;\n Tue, 9 Mar 2021 18:32:00 -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=NmyGRydXBBdpM\n zLSAVUUvnDMemu4E8YTIbnhdfm0efM=; b=h9gVufGQ3wdzAqPShesHBooOpwqWP\n ll8AgIL5mon0UR3KoAOxFEkgw7WyosbDHFfxWvq44O/Yw9uDNhthtgbctdlhM98K\n 5TKSNSnW7daLfKaQQCP7qEG9WlmXf3qZpVUb2hsg+YTCaY/aloPt9z1QF89Il+di\n rTiTJe/NI+2fE03nTtoNCugX2fuwLGmiS4OFakw2GYoP8zkkapU3R5MnosHz7x6J\n YWL6QYuU9LekZumuPP01fNPMnRqJYG6UYgefRV08yZxTeM9gWHQCI1oc8dCbMJB/\n 7D/PpyJoVdkr2cJsUBt2gN+9NV5ZC0wfr9djJzKlC2nPKOEOBTkxS0W8g==", "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=NmyGRydXBBdpMzLSAVUUvnDMemu4E8YTIbnhdfm0efM=; b=StVtvmrF\n GrgypFTLpRJg+BruSBx6S3pHOK9dclvaXbEF5Kt/C0v2TgQwrdCcXLfI7LP9JGqv\n kKQmUTX16G+t5Eu1Mk+aMgcuBfRL6iQ9dzZACcIdlQawne02UbjyzA82pW9VYwxq\n PPxcznKq5fQELHnymd5fEVq5wxtMhool4kAmDPuz4xmDdIcYsCCd6QlYsRT5AoCA\n Kfg+RKMyqRLtoNjngzHs2d2McyMYKLSlNTC7CRD18/o+f11H8z04uAj10wv95g8n\n 4iWcrhz9hpoEO26XSyqQuHkVyMwJLz9FQ2rmNyYk2Y5GotukLZhewd1e3iGXiIjC\n q3FpMYtf76Pz/Q==" ], "X-ME-Sender": "<xms:cAVIYI_rxCr9Ut0DxT3MXvZkE2E49qW0XTExTjwzuAryGUQz7i7KOQ>\n <xme:cAVIYGHZOdNsvmBckixIXWF60eLDjKRUGoGcC_yWkjsC8sZs6wuuZ-j3LRdDqTOzR\n lgD-SfTJHU1Gr46DQ>", "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduledrudduiedgudejgecutefuodetggdotefrod\n ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh\n necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd\n enucfjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhm\n rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc\n ggtffrrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedt\n gfeutdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrh\n fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgr\n lhhonhdrnhgvth", "X-ME-Proxy": "<xmx:cAVIYOOah4e6oFHON2DY4g6JLbttk9xdWzq8p3lHB32LrsWbZPvUdg>\n <xmx:cAVIYId3O9Deao_EGm-mz1BnPZvZ9KGYwAYor6LyVm8d8zBOJ-ByHQ>\n <xmx:cAVIYLtYyt5G7rb_RO5gp263WS9-qpEtkM21-rdtATvoQM2kUpBHXA>\n <xmx:cAVIYGrvjgOmf1Vi6lsKEl7ZFfaLS89k_29HfwBN97DehpaRnYWLiw>", "From": "Thomas Monjalon <thomas@monjalon.net>", "To": "dev@dpdk.org", "Cc": "david.marchand@redhat.com,\n\tXiaoyun Li <xiaoyun.li@intel.com>", "Date": "Wed, 10 Mar 2021 00:31:15 +0100", "Message-Id": "<20210309233116.1934666-12-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 11/11] app/testpmd: fix usage text", "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": "The options help text was including an incomplete and redundant\nsummary of the options before explaining each. The summary is dropped.\n\nThe details of the option --hairpin-mode had an extra space,\nbreaking the alignment with the next line.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n app/test-pmd/parameters.c | 26 ++------------------------\n 1 file changed, 2 insertions(+), 24 deletions(-)", "diff": "diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c\nindex 7f41021d4d..efcbf1e845 100644\n--- a/app/test-pmd/parameters.c\n+++ b/app/test-pmd/parameters.c\n@@ -49,29 +49,7 @@\n void\n usage(const char *progname)\n {\n-\tprintf(\"usage: %s [EAL options] -- \"\n-#ifdef RTE_LIB_CMDLINE\n-\t \"[--interactive|-i] \"\n-\t \"[--cmdline-file=FILENAME] \"\n-#endif\n-\t \"[--help|-h] | [--auto-start|-a] | [\"\n-\t \"--tx-first | --stats-period=PERIOD | \"\n-\t \"--coremask=COREMASK --portmask=PORTMASK --numa \"\n-\t \"--portlist=PORTLIST \"\n-\t \"--mbuf-size= | --total-num-mbufs= | \"\n-\t \"--nb-cores= | --nb-ports= | \"\n-#ifdef RTE_LIB_CMDLINE\n-\t \"--eth-peers-configfile= | \"\n-\t \"--eth-peer=X,M:M:M:M:M:M | \"\n-\t \"--tx-ip=SRC,DST | --tx-udp=PORT | \"\n-#endif\n-\t \"--pkt-filter-mode= |\"\n-\t \"--rss-ip | --rss-udp | --rss-level-inner | --rss-level-outer |\"\n-\t \"--rxpt= | --rxht= | --rxwt= |\"\n-\t \" --rxfreet= | --txpt= | --txht= | --txwt= | --txfreet= | \"\n-\t \"--txrst= | --tx-offloads= | | --rx-offloads= | \"\n-\t \"--vxlan-gpe-port= | --geneve-parsed-port= | \"\n-\t \"--record-core-cycles | --record-burst-stats]\\n\",\n+\tprintf(\"\\nUsage: %s [EAL options] -- [testpmd options]\\n\\n\",\n \t progname);\n #ifdef RTE_LIB_CMDLINE\n \tprintf(\" --interactive: run in interactive mode.\\n\");\n@@ -221,7 +199,7 @@ usage(const char *progname)\n \t \"enabled\\n\");\n \tprintf(\" --record-core-cycles: enable measurement of CPU cycles.\\n\");\n \tprintf(\" --record-burst-stats: enable display of RX and TX bursts.\\n\");\n-\tprintf(\" --hairpin-mode=0xXX: bitmask set the hairpin port mode.\\n \"\n+\tprintf(\" --hairpin-mode=0xXX: bitmask set the hairpin port mode.\\n\"\n \t \" 0x10 - explicit Tx rule, 0x02 - hairpin ports paired\\n\"\n \t \" 0x01 - hairpin ports loop, 0x00 - hairpin port self\\n\");\n }\n", "prefixes": [ "11/11" ] }{ "id": 88771, "url": "