app/testpmd: add --bitrate-stats option
authorRemy Horton <remy.horton@intel.com>
Fri, 28 Apr 2017 11:00:13 +0000 (12:00 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 1 May 2017 13:49:58 +0000 (15:49 +0200)
commite25e6c70fb56aebc114f32ef4563163b43d168b1
treee96ba50a287c57fa870107f89555971c9013738e
parent0de738cfc1489d99509640a90cb7cb0629347cb5
app/testpmd: add --bitrate-stats option

Bit-rate collation should only be done by one core. This patch adds
an option to select which core performs the bit-rate calculation,
which is also disabled by default.

Fixes: 7e4441c8efb9 ("app/testpmd: add bitrate statistics calculation")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@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