[PATCH v2 0/3] improve cmdline file handling in testpmd
Bruce Richardson
bruce.richardson at intel.com
Fri Jul 4 20:34:33 CEST 2025
Some small improvements to cmdline file handling testpmd, inspired by the
desire to have support for multiple cmdline files passed on the commandline
of a testpmd run.
The implementation is somewhat complicated by the setting for echo/noecho
of the commands, because the current implementation uses a global flag for
that - shared between cmdline parameters and interactive CLI commands.
V2:
* remove global echo flag, and now support echo/noecho per file loaded
* when echoing, output the file being processed, to clarify things when
loading multiple files.
Bruce Richardson (3):
app/testpmd: explicitly set command echoing on file load
app/testpmd: allow multiple commandline file parameters
app/testpmd: improve output when processing cmdline files
app/test-pmd/cmdline.c | 78 ++++++++++++++++++---
app/test-pmd/parameters.c | 17 +++--
app/test-pmd/testpmd.c | 13 ++--
app/test-pmd/testpmd.h | 15 +++-
doc/guides/testpmd_app_ug/run_app.rst | 3 +-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 ++--
6 files changed, 110 insertions(+), 28 deletions(-)
--
2.48.1
More information about the dev
mailing list