app/testpmd: load commands from file at runtime
authorAllain Legacy <allain.legacy@windriver.com>
Fri, 31 Mar 2017 19:13:20 +0000 (15:13 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 14:05:23 +0000 (16:05 +0200)
commita8c6a1ae1240639de590714e0d945f6ab03f0027
tree9358a00e4cd815820e8863fc66749223ee4609ae
parent81ef862b51dc416217ca4ac1d0bf894a0baec9cc
app/testpmd: load commands from file at runtime

Adds support to testpmd to load a set of cmdline CLI commands at runtime.
This can be helpful when needing to cut-n-paste many commands where
cut-n-paste may not be practical.

   testpmd> load /home/ubuntu/somefile.txt

Signed-off-by: Allain Legacy <allain.legacy@windriver.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/cmdline.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst