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

Jens Freimann jfreimann at redhat.com
Mon Mar 22 09:27:25 CET 2021


On Sun, Mar 21, 2021 at 11:31:15PM +0100, Thomas Monjalon wrote:
>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 at dpdk.org
>
>Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
>Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
>Acked-by: Bruce Richardson <bruce.richardson at intel.com>
>Acked-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>
>---
> app/test-pmd/parameters.c | 35 ++++++++---------------------------
> 1 file changed, 8 insertions(+), 27 deletions(-)
>

Thank you Thomas!

Reviewed-by: Jens Freimann <jfreimann at redhat.com>

regards,
Jens 



More information about the stable mailing list