app/testpmd: add option to not start device
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 16 Jul 2019 18:42:34 +0000 (11:42 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 23 Jul 2019 12:31:35 +0000 (14:31 +0200)
commit6937d2103e22778c4181a10092663f7ed61d17dc
treee270c4014320b10d83150c3dc96b4a71828fea1c
parente1e5e812f1415b0698f82b4b0fbeb558f3cd7eae
app/testpmd: add option to not start device

Some configuration options can not be tested properly with testpmd
because it automatically starts all ports. This makes it harder
to test driver handling of configuration options:
(for example rx_deferred_start).

Add new command line flag --disable-device-start which skips
the device start. The port can then be started manually later.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/parameters.c
app/test-pmd/testpmd.c
app/test-pmd/testpmd.h
doc/guides/testpmd_app_ug/run_app.rst