app/testpmd: add TM commands to mark packets
authorKrzysztof Kanas <krzysztof.kanas@caviumnetworks.com>
Fri, 17 Aug 2018 11:39:19 +0000 (13:39 +0200)
committerCristian Dumitrescu <cristian.dumitrescu@intel.com>
Mon, 8 Oct 2018 15:53:03 +0000 (17:53 +0200)
commit6673fe0ce213e85ba0f5a71a2d3fbfd4ecc70672
tree1fcca672c901b28d70052d936c8b0e7c783b4aac
parenta0f367eb06be643f30ab38cd62026513d656438d
app/testpmd: add TM commands to mark packets

Add following testpmd run-time commands to support test of TM packet
marking:

set port tm mark ip_ecn   <port_id> <green> <yellow> <red>
set port tm mark ip_dscp  <port_id> <green> <yellow> <red>
set port tm mark vlan_dei <port_id> <green> <yellow> <red>

Signed-off-by: Krzysztof Kanas <krzysztof.kanas@caviumnetworks.com>
app/test-pmd/cmdline.c
app/test-pmd/cmdline_tm.c
app/test-pmd/cmdline_tm.h
doc/guides/testpmd_app_ug/testpmd_funcs.rst