app/testpmd: fix metering and policing commands
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 1 Oct 2018 10:46:04 +0000 (11:46 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 8 Oct 2018 15:52:48 +0000 (17:52 +0200)
commita0f367eb06be643f30ab38cd62026513d656438d
tree612eadff0b6119497384196be9ffe9e0b7a6fd04
parent923010592a110de36572e3df68352a5e9670f49f
app/testpmd: fix metering and policing commands

Fixes bad arguments error for cli commands related to adding meter
profile for srtcm_rfc2697, trtcm_rfc2698 and trtcm_rfc4115.

error log:
testpmd> add port meter profile trtcm_rfc2698 2 0 3125000000
3125000000 2500000 2500000
Bad arguments

Fixes: 30ffb4e67ee3 ("app/testpmd: add commands traffic metering and policing")
Cc: stable@dpdk.org
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Bernard Iremonger <bernard.iremonger@intel.com>
app/test-pmd/cmdline_mtr.c