app/testpmd: configure flowgen packet size with --txpkts
authorMaciej Czekaj <maciej.czekaj@caviumnetworks.com>
Fri, 26 Aug 2016 11:46:42 +0000 (13:46 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 13 Oct 2016 15:21:06 +0000 (17:21 +0200)
commit2ebacaa7d13fa33d91e65f6a2e060eba3b0e1e5c
tree6648ea166b4a4caeee794e98233f84a12277c487
parent2a977b891f994d0e216812275af2156fb8566944
app/testpmd: configure flowgen packet size with --txpkts

"flowgen" forwarding mode has fixed packet size (300).
Let it re-use --txpkts option for specifying generated packet size.

Signed-off-by: Maciej Czekaj <maciej.czekaj@caviumnetworks.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/config.c
app/test-pmd/flowgen.c
app/test-pmd/parameters.c
doc/guides/testpmd_app_ug/run_app.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst