On 6/3/22 16:06, sk...@marvell.com wrote:
From: Sunil Kumar Kori <sk...@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 <sk...@marvell.com>
Acked-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>
[snip]
+ if (strcmp(token, "G") == 0 || strcmp(token, "g") == 0)
strcasecmp() will help to make it a bit simpler.
Here and in many similar cases below.