app/testpmd: support different input color method
authorSunil Kumar Kori <skori@marvell.com>
Thu, 23 Jun 2022 12:57:01 +0000 (18:27 +0530)
committerAndrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Fri, 24 Jun 2022 12:42:16 +0000 (14:42 +0200)
commit9f5488e326d3b91626ad7cf6a51e87763cfbd44a
tree2ba268aea1b8d1e03d997c3c1a067545113c422a
parent4545a803e2e0d9a7e2d04c5d44a4b69f0ef74097
app/testpmd: support different input color method

To enable input coloring, based on VLAN or DSCP, patch adds
command line interface to configure the following:

 - configuring input coloring using VLAN or DSCP while creating
   meter i.e. during rte_mtr_create()

 - Update VLAN input coloring table at runtime.

 - configures protocol priorities.

 - retrieve protocol and priority information

Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
app/test-pmd/cmdline.c
app/test-pmd/cmdline_mtr.c
app/test-pmd/cmdline_mtr.h
doc/guides/testpmd_app_ug/testpmd_funcs.rst