On 6/3/22 16:06, [email protected] wrote:
From: Sunil Kumar Kori <[email protected]>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 <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]>
[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.

