[PATCH v4 1/1] app/testpmd: support different input color method

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu Jun 23 13:05:45 CEST 2022


On 6/14/22 13:05, skori at marvell.com wrote:
> From: Sunil Kumar Kori <skori at marvell.com>
> 
> 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
> 
> Depends-on: patch-22751 ("ethdev: mtr: support protocol based input color selection")
> 
> Signed-off-by: Sunil Kumar Kori <skori at marvell.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>
> ---
> v3..v4:
>   - Replace strcmp with strcasecmp whereever is needed.
>   
> v2..v3:
>   - Rebased to branch ToT dpdk-next-net/main
>   - Fix static keyword for newly added token parsing symbols
> 
> v1..v2:
>   - Rebased to branch dpdk-next-net
>   - add CLIs for input coloring mechanism
> 
>   app/test-pmd/cmdline.c     |   4 +
>   app/test-pmd/cmdline_mtr.c | 552 ++++++++++++++++++++++++++++++++++++-
>   app/test-pmd/cmdline_mtr.h |   4 +
>   3 files changed, 554 insertions(+), 6 deletions(-)


doc/guides/testpmd_app_ug/testpmd_funcs.rst update is missing.
Please, respin it quickly and I'll process it today.


More information about the dev mailing list