Thread (133 messages) flat view 133 messages, 14 authors, 2024-09-25

Re: [dpdk-dev] [PATCH v4 11/11] app/testpmd: fix usage text

From: Li, Xiaoyun <hidden>
Date: 2021-03-22 01:45:17

-----Original Message-----
From: Thomas Monjalon <redacted>
Sent: Monday, March 22, 2021 06:31
To: dev@dpdk.org
Cc: david.marchand@redhat.com; stable@dpdk.org; Ajit Khaparde
[off-list ref]; Richardson, Bruce
[off-list ref]; Andrew Rybchenko
[off-list ref]; Li, Xiaoyun [off-list ref]; Ori
Kam [off-list ref]; Bing Zhao [off-list ref]; Iremonger, Bernard
[off-list ref]; Jens Freimann [off-list ref];
Kevin Traynor [off-list ref]; Stephen Hemminger
[off-list ref]; Maciej Czekaj
[off-list ref]; De Lara Guarch, Pablo
[off-list ref]
Subject: [PATCH v4 11/11] app/testpmd: fix usage text

The options help text was including an incomplete and redundant summary of
the options before explaining each. The summary is dropped.

The details of the option --hairpin-mode had an extra space, breaking the
alignment with the next line.

There were some mismatches between options in the usage text
	sed -rn 's/.*\(" *--([a-z-]*)[=: ].*/\1/p' app/test-pmd/parameters.c and
the options declared in lgopts array
	sed -rn 's/.*\{.*"(.*)",.*,.*,.*},.*/\1/p' app/test-pmd/parameters.c The
misses were:
	--no-numa
	--enable-scatter
	--tx-ip
	--tx-udp
	--noisy-lkup-num-reads-writes
The option --ports was not implemented.

Fixes: 01817b10d27c ("app/testpmd: change hairpin queues setup")
Fixes: 3c156061b938 ("app/testpmd: add noisy neighbour forwarding mode")
Fixes: bf5b2126bf44 ("app/testpmd: add ability to set Tx IP and UDP parameters")
Fixes: 0499793854f5 ("app/testpmd: add scatter enabling option")
Fixes: 999b2ee0fe45 ("app/testpmd: enable NUMA support by default")
Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Thomas Monjalon <redacted>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Bruce Richardson <redacted>
Acked-by: Andrew Rybchenko <redacted>
---
Acked-by: Xiaoyun Li <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help