app/testpmd: add commands for TM capability and stats
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 16 Oct 2017 18:55:08 +0000 (19:55 +0100)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Fri, 20 Oct 2017 13:47:10 +0000 (15:47 +0200)
commitc6af0842fb92275ed1361563fa9774441076834e
tree44c83ccb8030fe4035addc1b9e57040bdac62d44
parent30ffb4e67ee3449aa579e066e234cebf5aa098b8
app/testpmd: add commands for TM capability and stats

Add following CLIs to testpmd application for device traffic management;
- commands to display TM capability information.
  (per port, per hierarchy level and per hierarchy node)
- command to display hiearchy node type
- stats collection

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Tested-by: Yulong Pei <yulong.pei@intel.com>
Reviewed-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
app/test-pmd/Makefile
app/test-pmd/cmdline.c
app/test-pmd/cmdline_tm.c [new file with mode: 0644]
app/test-pmd/cmdline_tm.h [new file with mode: 0644]