app/testpmd: add commands for metering and policing
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 20 Nov 2017 16:39:19 +0000 (16:39 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 9 Jan 2018 23:51:31 +0000 (00:51 +0100)
commit281eeb8afc551c53a7471dd5f6099d54eb9f6b56
tree528f8431d829ca83ec6054fb263fa8d16812c52c
parente63b50162aa38111410a2ab2381d672d42503f6e
app/testpmd: add commands for metering and policing

Add following CLIs to testpmd application;
- show port metering and policing capabilities.
- enable/disable meter of the MTR object.
- update the MTR object dscp table entries.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/cmdline_mtr.c
app/test-pmd/cmdline_mtr.h