[RFC PATCH] app/test-pmd: add option to run startup cmds without echo
Stephen Hemminger
stephen at networkplumber.org
Tue Feb 11 18:42:28 CET 2025
On Tue, 11 Feb 2025 16:44:02 +0000
Bruce Richardson <bruce.richardson at intel.com> wrote:
> Depending on the scenario, a user may want to run testpmd with
> pre-canned startup commands either with or without echoing of those
> commands as they are executed. To observe progress of each command, or
> to help determine what command an error response is printed for, echoing
> is useful. When running a large number of commands, performance can be
> improved by disabling the echo of each one.
>
> Therefore, we can add a new cmdline-file-noecho command to testpmd to
> allow running without echo. Behaviour is otherwise the same as
> cmdline-file command.
>
> When adding the new command also:
> * fix leak of the fd when using the existing cmdline-file flag
> * add cmdline-file (and cmdline-file-noecho) to the testpmd docs
>
> Bugzilla ID: 1612
>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
The variable and option name seems awkward to me, but I can't think of
a better suggestion.
More information about the dev
mailing list