app/testpmd: fix shaper profile parameters
authorRosen Xu <rosen.xu@intel.com>
Mon, 22 Oct 2018 08:46:40 +0000 (16:46 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Nov 2018 07:41:03 +0000 (08:41 +0100)
commitc2c15f769ab978c8ec5f9e17bd7ae2d63176f276
treea09a84f794727f4cbfa8d77895763afc8ea0ccc3
parent84e7477e10b1149c8b5495df8fa239116c41e459
app/testpmd: fix shaper profile parameters

As struct rte_tm_shaper_params defined, the command line of
testpmd should include committed and peak parameters, but
right now the command line doesn't identify whether it's
committed or peak parameter. This patch identifies and
adds the clarify definition

Fixes: bddc2f40b594 ("app/testpmd: add commands for shaper and wred profiles")
Cc: stable@dpdk.org
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/cmdline_tm.c
doc/guides/testpmd_app_ug/testpmd_funcs.rst