[dpdk-dev] [PATCH 0/2] testpmd load cmdline commands from file

Thomas Monjalon thomas at monjalon.net
Mon May 1 16:08:48 CEST 2017


31/03/2017 21:13, Allain Legacy:
> Enhancing test-pmd to be able to load CLI commands from file both at
> runtime and at startup.  Usually the number of commands to run is small
> enough that a simple cut-n-paste does the trick, but while testing the flow
> API it was necessary to load several hundred commands and cut-n-paste could
> not keep up.
> 
> I started with adding support to load the commands at startup
> (--cmdline-file=/home/ubuntu/somefile.txt), but then realized that I needed
> to remove/re-add commands at runtime so I added CLI commands to take care
> of that aspect as well ("testpmd> load /home/ubuntu/somefile.txt")
> 
> I thought of removing the startup command support since the same could be
> accomplished by using the new "load" command once the process starts up,
> but then I realized that it may be useful for someone using non-interactive
> mode.
> 
> I am open to the idea of squashing both commits together if necessary.
> 
> 
> Allain Legacy (2):
>   app/testpmd: load cmdline commands on startup
>   app/testpmd: load cmdline commands at runtime

Applied, thanks



More information about the dev mailing list