Skip to content

testpmd options parsing cleanup

David Marchand dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v14 patches 17 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6app/testpmd: fix stats-period option checkapp/test-pmd/parameters.c+1 -10 replies
2/6app/testpmd: fix burst option parsingapp/test-pmd/parameters.c+3 -11 reply
3/6app/testpmd: fix error message for invalid optionapp/test-pmd/parameters.c+1 -11 reply
4/6app/testpmd: enhance queue count checkapp/test-pmd/parameters.c app/test-pmd/testpmd.c+1 -61 reply
5/6app/testpmd: remove dead code for disabling cmdline libraryapp/test-pmd/parameters.c app/test-pmd/testpmd.c+2 -221 reply
6/6app/testpmd: enhance getopt_long usageapp/test-pmd/parameters.c+1083 -8411 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchFerruh Yigit
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] testpmd options parsing cleanup

This is a cleanup I had in store for ages but never sent. The idea is to reuse the conventions from EAL and examples when it comes to using getopt API.

Signature · 19 lines
David Marchand

Changes since v1:
- following Ferruh review, added 2 more cleanup patches,

David Marchand (6):
  app/testpmd: fix stats-period option check
  app/testpmd: fix burst option parsing
  app/testpmd: fix error message for invalid option
  app/testpmd: enhance queue count check
  app/testpmd: remove dead code for disabling cmdline library
  app/testpmd: enhance getopt_long usage

 app/test-pmd/parameters.c | 1945 +++++++++++++++++++++----------------
 app/test-pmd/testpmd.c    |    8 +-
 2 files changed, 1086 insertions(+), 867 deletions(-)

-- 
2.44.0