automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(108421) sid(21941) job(PER_PATCH_BUILD1527)[v1, 3/3] app/testpmd: support different input color method
@ 2022-03-02  1:42 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-03-02  1:42 UTC (permalink / raw)
  To: test-report, skori

[-- Attachment #1: Type: text/plain, Size: 199269 bytes --]


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/108421

_Compilation issues_

Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: 2022-03-01 09:00:55
Reply_mail: 20220301090056.1042866-3-skori@marvell.com

DPDK git baseline: Repo:dpdk-next-net, CommitID: 56835007715b5e69dbe421bc00303b01e2a86e12


Meson Build Summary: 21 Builds Done, 0 Successful, 21 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+
| FC35-64      | fail       | fail         |            |            |           |          |            |
| FreeBSD13-64 | fail       | fail         |            | fail       | fail      |          |            |
| RHEL84-64    | fail       | fail         | fail       | fail       | fail      |          |            |
| SUSE15-64    | fail       | fail         |            |            |           |          |            |
| UB2004-32    | fail       |              |            |            |           |          |            |
| UB2004-64    | fail       | fail         | fail       |            |           | fail     | fail       |
| UB2110-64    | fail       |              |            |            |           |          |            |
| RHEL85-64    | fail       |              |            |            |           |          |            |
+--------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Beacasue of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: FC35-64
	Kernel Version: 5.14.16-301.fc35.x86_64
	GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
	Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD13-64
	Kernel Version: 13.0-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
	Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL84-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

OS: SUSE15-64
	Kernel Version: 5.3.18-57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc
	x86_64-native-linuxapp-gcc+16byte

OS: UB2110-64
	Kernel Version: 5.13.0-19-generic
	GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
	Clang Version: 13.0.0-2
	x86_64-native-linuxapp-gcc

OS: RHEL85-64
	Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
	Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
	ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: FC35-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:10: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |          ^~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function)
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function)
   53 |                         RTE_MTR_INPUT_COLOR_METHOD_VLAN |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function)
   54 |                         RTE_MTR_INPUT_COLOR_METHOD_DSCP |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
   55 |                         RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function)
   56 |                         RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: error: excess elements in struct initializer [-Werror]
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:10: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
   57 |         .separate_input_color_table_per_port = true};
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:48: error: excess elements in struct initializer [-Werror]
   57 |         .separate_input_color_table_per_port = true};
      |                                                ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:48: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:23: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  531 |         switch (params->input_color_method) {
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:27: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  561 |                 if (params->vlan_table) {
      |                           ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:50: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  563 |                                 table[i] = params->vlan_table[i];
      |                                                  ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:36: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  565 |                         mtr->params.vlan_table = table;
      |                                    ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  661 |         if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:29: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  663 |         else if (mtr->params.input_color_method ==
      |                             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:37: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  665 |                 plt_free(mtr->params.vlan_table);
      |                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  763 |         if (mtr->params.input_color_method ==
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  819 |         if (mtr->params.input_color_method ==
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:10: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  979 |         .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
      |          meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:36: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  979 |         .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:36: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:25: error: initialized field overwritten [-Werror=override-init]
  980 |         .stats_update = cnxk_nix_mtr_stats_update,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:25: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:44: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1162 |         cfg->icolor = color_map[mtr->params.default_input_color];
      |                                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:28: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1164 |         switch (mtr->params.input_color_method) {
      |                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:32: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
 1151 |         enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
      |                                ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:28: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1233 |         switch (mtr->params.input_color_method) {
      |                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:41: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1237 |                 tbl->mode = (mtr->params.input_color_method ==
      |                                         ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:41: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1254 |                 tbl->mode = (mtr->params.input_color_method ==
      |                                         ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:32: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1262 |                 if (mtr->params.vlan_table) {
      |                                ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:62: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1265 |                                         color_map[mtr->params.vlan_table[i]];
      |                                                              ^
cc1: all warnings being treated as errors
[1256/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1257/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1258/3578] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1259/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1260/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1261/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1262/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1263/3578] Generating rte_net_bnxt.pmd.c with a custom command
[1264/3578] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #2:
OS: FC35-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND'
        .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_DSCP |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        switch (params->input_color_method) {
                ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:532:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        case RTE_MTR_INPUT_COLOR_METHOD_DSCP:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:533:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
        case RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:550:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
        case RTE_MTR_INPUT_COLOR_METHOD_VLAN:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:551:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
        case RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                if (params->vlan_table) {
                    ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                                table[i] = params->vlan_table[i];
                                           ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                        mtr->params.vlan_table = table;
                        ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:40: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                                              ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:23: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        else if (mtr->params.input_color_method ==
                 ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:664:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                 RTE_MTR_INPUT_COLOR_METHOD_VLAN)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                plt_free(mtr->params.vlan_table);
                         ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1251/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1252/3578] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1253/3578] Generating rte_net_bnxt.pmd.c with a custom command
[1254/3578] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1255/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1256/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1257/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1258/3578] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1259/3578] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #3:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o 
gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -I/usr/local/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -c ../app/test-pmd/cmdline_mtr.c
../app/test-pmd/cmdline_mtr.c: In function 'parse_input_color_method':
../app/test-pmd/cmdline_mtr.c:257:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND' undeclared (first use in this function)
  257 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:257:25: note: each undeclared identifier is reported only once for each function it appears in
../app/test-pmd/cmdline_mtr.c:259:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
  259 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:261:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
  261 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:263:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
  263 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:265:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
  265 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:267:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
  267 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:269:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
  269 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c: In function 'cmd_show_port_meter_cap_parsed':
../app/test-pmd/cmdline_mtr.c:486:48: error: 'struct rte_mtr_capabilities' has no member named 'methods_mask'
  486 |  printf("cap.methods_mask 0x%" PRIx64 "\n", cap.methods_mask);
      |                                                ^
../app/test-pmd/cmdline_mtr.c:488:6: error: 'struct rte_mtr_capabilities' has no member named 'separate_input_color_table_per_port'
  488 |   cap.separate_input_color_table_per_port);
      |      ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_create_port_meter_parsed':
../app/test-pmd/cmdline_mtr.c:1040:8: error: 'struct rte_mtr_params' has no member named 'input_color_method'
 1040 |  params.input_color_method = input_color_method;
      |        ^
../app/test-pmd/cmdline_mtr.c:1043:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
 1043 |  if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN ||
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1044:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
 1044 |      input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:1045:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1045 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1046:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
 1046 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1047:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
 1047 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1049:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
 1049 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1050:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
 1050 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1051:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1051 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1055:8: error: 'struct rte_mtr_params' has no member named 'default_input_color'
 1055 |  params.default_input_color = def_inp_color;
      |        ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_set_port_meter_vlan_table_parsed':
../app/test-pmd/cmdline_mtr.c:1544:8: error: implicit declaration of function 'rte_mtr_meter_vlan_table_update'; did you mean 'rte_mtr_meter_dscp_table_update'? [-Werror=implicit-function-declaration]
 1544 |  ret = rte_mtr_meter_vlan_table_update(port_id, mtr_id,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        rte_mtr_meter_dscp_table_update
../app/test-pmd/cmdline_mtr.c:1544:8: error: nested extern declaration of 'rte_mtr_meter_vlan_table_update' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1741/2057] Linking target app/dpdk-test-pipeline
[1742/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o
[1743/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o
[1744/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o
[1745/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o
[1746/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[1747/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
[1748/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
[1749/2057] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-clang
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o 
clang -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -c ../app/test-pmd/cmdline_mtr.c
../app/test-pmd/cmdline_mtr.c:257:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND;
                                      ^
../app/test-pmd/cmdline_mtr.c:259:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN;
                                      ^
../app/test-pmd/cmdline_mtr.c:261:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_DSCP;
                                      ^
../app/test-pmd/cmdline_mtr.c:263:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP;
                                      ^
../app/test-pmd/cmdline_mtr.c:265:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN;
                                      ^
../app/test-pmd/cmdline_mtr.c:267:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP;
                                      ^
../app/test-pmd/cmdline_mtr.c:269:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP'
                *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP;
                                      ^
../app/test-pmd/cmdline_mtr.c:486:49: error: no member named 'methods_mask' in 'struct rte_mtr_capabilities'
        printf("cap.methods_mask 0x%" PRIx64 "\n", cap.methods_mask);
                                                   ~~~ ^
../app/test-pmd/cmdline_mtr.c:488:7: error: no member named 'separate_input_color_table_per_port' in 'struct rte_mtr_capabilities'
                cap.separate_input_color_table_per_port);
                ~~~ ^
../app/test-pmd/cmdline_mtr.c:1040:9: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        params.input_color_method = input_color_method;
        ~~~~~~ ^
../app/test-pmd/cmdline_mtr.c:1043:27: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
        if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN ||
                                 ^
../app/test-pmd/cmdline_mtr.c:1044:27: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
            input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
                                 ^
../app/test-pmd/cmdline_mtr.c:1045:10: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                params.vlan_table = vlan_table;
                ~~~~~~ ^
../app/test-pmd/cmdline_mtr.c:1046:32: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_DSCP ||
                                      ^
../app/test-pmd/cmdline_mtr.c:1047:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                 input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
                                      ^
../app/test-pmd/cmdline_mtr.c:1049:32: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP'
        else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP ||
                                      ^
../app/test-pmd/cmdline_mtr.c:1050:25: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP'
                 input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP) {
                                      ^
../app/test-pmd/cmdline_mtr.c:1051:10: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                params.vlan_table = vlan_table;
                ~~~~~~ ^
../app/test-pmd/cmdline_mtr.c:1055:9: error: no member named 'default_input_color' in 'struct rte_mtr_params'
        params.default_input_color = def_inp_color;
        ~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1718/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_util.c.o
[1719/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
[1720/2018] Compiling C object app/dpdk-test-regex.p/test-regex_main.c.o
[1721/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_txonly.c.o
[1722/2018] Compiling C object app/dpdk-test-sad.p/test-sad_main.c.o
[1723/2018] Compiling C object app/test/dpdk-test.p/commands.c.o
[1724/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_testpmd.c.o
[1725/2018] Compiling C object app/test/dpdk-test.p/packet_burst_generator.c.o
[1726/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_noisy_vnf.c.o
ninja: build stopped




*Build Failed #5:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o 
gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -c ../app/test-pmd/cmdline_mtr.c
../app/test-pmd/cmdline_mtr.c: In function 'parse_input_color_method':
../app/test-pmd/cmdline_mtr.c:257:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND' undeclared (first use in this function)
  257 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:257:25: note: each undeclared identifier is reported only once for each function it appears in
../app/test-pmd/cmdline_mtr.c:259:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
  259 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:261:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
  261 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:263:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
  263 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:265:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
  265 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:267:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
  267 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:269:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
  269 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c: In function 'cmd_show_port_meter_cap_parsed':
../app/test-pmd/cmdline_mtr.c:486:48: error: 'struct rte_mtr_capabilities' has no member named 'methods_mask'
  486 |  printf("cap.methods_mask 0x%" PRIx64 "\n", cap.methods_mask);
      |                                                ^
../app/test-pmd/cmdline_mtr.c:488:6: error: 'struct rte_mtr_capabilities' has no member named 'separate_input_color_table_per_port'
  488 |   cap.separate_input_color_table_per_port);
      |      ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_create_port_meter_parsed':
../app/test-pmd/cmdline_mtr.c:1040:8: error: 'struct rte_mtr_params' has no member named 'input_color_method'
 1040 |  params.input_color_method = input_color_method;
      |        ^
../app/test-pmd/cmdline_mtr.c:1043:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
 1043 |  if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN ||
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1044:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
 1044 |      input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:1045:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1045 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1046:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
 1046 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1047:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
 1047 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1049:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
 1049 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1050:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
 1050 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1051:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1051 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1055:8: error: 'struct rte_mtr_params' has no member named 'default_input_color'
 1055 |  params.default_input_color = def_inp_color;
      |        ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_set_port_meter_vlan_table_parsed':
../app/test-pmd/cmdline_mtr.c:1544:8: error: implicit declaration of function 'rte_mtr_meter_vlan_table_update'; did you mean 'rte_mtr_meter_dscp_table_update'? [-Werror=implicit-function-declaration]
 1544 |  ret = rte_mtr_meter_vlan_table_update(port_id, mtr_id,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        rte_mtr_meter_dscp_table_update
../app/test-pmd/cmdline_mtr.c:1544:8: error: nested extern declaration of 'rte_mtr_meter_vlan_table_update' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1734/1920] Linking target app/dpdk-test-pipeline
[1735/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o
[1736/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o
[1737/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o
[1738/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_ieee1588fwd.c.o
[1739/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[1740/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
[1741/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[1742/1920] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
ninja: build stopped




*Build Failed #6:
OS: FreeBSD13-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o 
gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -D__BSD_VISIBLE -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -c ../app/test-pmd/cmdline_mtr.c
../app/test-pmd/cmdline_mtr.c: In function 'parse_input_color_method':
../app/test-pmd/cmdline_mtr.c:257:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND' undeclared (first use in this function)
  257 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:257:25: note: each undeclared identifier is reported only once for each function it appears in
../app/test-pmd/cmdline_mtr.c:259:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
  259 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:261:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
  261 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:263:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
  263 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:265:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
  265 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:267:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
  267 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:269:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
  269 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c: In function 'cmd_show_port_meter_cap_parsed':
../app/test-pmd/cmdline_mtr.c:486:48: error: 'struct rte_mtr_capabilities' has no member named 'methods_mask'
  486 |  printf("cap.methods_mask 0x%" PRIx64 "\n", cap.methods_mask);
      |                                                ^
../app/test-pmd/cmdline_mtr.c:488:6: error: 'struct rte_mtr_capabilities' has no member named 'separate_input_color_table_per_port'
  488 |   cap.separate_input_color_table_per_port);
      |      ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_create_port_meter_parsed':
../app/test-pmd/cmdline_mtr.c:1040:8: error: 'struct rte_mtr_params' has no member named 'input_color_method'
 1040 |  params.input_color_method = input_color_method;
      |        ^
../app/test-pmd/cmdline_mtr.c:1043:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN' undeclared (first use in this function)
 1043 |  if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN ||
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1044:27: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN' undeclared (first use in this function); did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
 1044 |      input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:1045:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1045 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1046:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_DSCP' undeclared (first use in this function)
 1046 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1047:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP' undeclared (first use in this function)
 1047 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1049:32: error: 'RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP' undeclared (first use in this function)
 1049 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1050:25: error: 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP' undeclared (first use in this function)
 1050 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1051:9: error: 'struct rte_mtr_params' has no member named 'vlan_table'
 1051 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1055:8: error: 'struct rte_mtr_params' has no member named 'default_input_color'
 1055 |  params.default_input_color = def_inp_color;
      |        ^
../app/test-pmd/cmdline_mtr.c: In function 'cmd_set_port_meter_vlan_table_parsed':
../app/test-pmd/cmdline_mtr.c:1544:8: error: implicit declaration of function 'rte_mtr_meter_vlan_table_update'; did you mean 'rte_mtr_meter_dscp_table_update'? [-Werror=implicit-function-declaration]
 1544 |  ret = rte_mtr_meter_vlan_table_update(port_id, mtr_id,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        rte_mtr_meter_dscp_table_update
../app/test-pmd/cmdline_mtr.c:1544:8: error: nested extern declaration of 'rte_mtr_meter_vlan_table_update' [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1698/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o
[1699/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_cmd_flex_item.c.o
[1700/2018] Linking target app/dpdk-test-gpudev
[1701/2018] Linking target app/dpdk-test-eventdev
[1702/2018] Linking target app/dpdk-test-fib
[1703/2018] Linking target app/dpdk-test-flow-perf
[1704/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[1705/2018] Linking target app/dpdk-test-pipeline
[1706/2018] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
ninja: build stopped




*Build Failed #7:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’; did you mean ‘stats_mask’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
   ^~~~~~~~~~~~
   stats_mask
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_OUTER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_OUTER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_OP_MAX’?
    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_OP_MAX
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  .separate_input_color_table_per_port = true};
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
  .separate_input_color_table_per_port = true};
                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (params->input_color_method) {
                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (params->vlan_table) {
               ^~~~~~~~~~
               dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
     table[i] = params->vlan_table[i];
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
    mtr->params.vlan_table = table;
                ^~~~~~~~~~
                dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  else if (mtr->params.input_color_method ==
                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   plt_free(mtr->params.vlan_table);
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
   ^~~~~~~~~~~~~~~~~~~~~~~
   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  .stats_update = cnxk_nix_mtr_stats_update,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
  cfg->icolor = color_map[mtr->params.default_input_color];
                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:19: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (mtr->params.vlan_table) {
                   ^~~~~~~~~~
                   dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:28: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
      color_map[mtr->params.vlan_table[i]];
                            ^~~~~~~~~~
                            dscp_table
cc1: all warnings being treated as errors
[1258/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1259/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1260/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1261/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1262/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1263/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1264/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1265/3529] Generating rte_net_bnxt.pmd.c with a custom command
[1266/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #8:
OS: RHEL84-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND'
        .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_DSCP |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        switch (params->input_color_method) {
                ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:532:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        case RTE_MTR_INPUT_COLOR_METHOD_DSCP:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:533:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
        case RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:550:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
        case RTE_MTR_INPUT_COLOR_METHOD_VLAN:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:551:7: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
        case RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN:
             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                if (params->vlan_table) {
                    ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                                table[i] = params->vlan_table[i];
                                           ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                        mtr->params.vlan_table = table;
                        ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:40: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                                              ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:23: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        else if (mtr->params.input_color_method ==
                 ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:664:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                 RTE_MTR_INPUT_COLOR_METHOD_VLAN)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                plt_free(mtr->params.vlan_table);
                         ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1259/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1260/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1261/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1262/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1263/3529] Generating rte_net_bnxt.pmd.c with a custom command
[1264/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1265/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1266/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1267/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #9:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’; did you mean ‘stats_mask’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
   ^~~~~~~~~~~~
   stats_mask
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_OUTER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_OUTER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_OP_MAX’?
    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_OP_MAX
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  .separate_input_color_table_per_port = true};
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
  .separate_input_color_table_per_port = true};
                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (params->input_color_method) {
                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (params->vlan_table) {
               ^~~~~~~~~~
               dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
     table[i] = params->vlan_table[i];
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
    mtr->params.vlan_table = table;
                ^~~~~~~~~~
                dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  else if (mtr->params.input_color_method ==
                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   plt_free(mtr->params.vlan_table);
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
   ^~~~~~~~~~~~~~~~~~~~~~~
   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  .stats_update = cnxk_nix_mtr_stats_update,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
  cfg->icolor = color_map[mtr->params.default_input_color];
                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:19: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (mtr->params.vlan_table) {
                   ^~~~~~~~~~
                   dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:28: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
      color_map[mtr->params.vlan_table[i]];
                            ^~~~~~~~~~
                            dscp_table
cc1: all warnings being treated as errors
[1276/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1277/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1278/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1279/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1280/3384] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1281/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1282/3384] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1283/3384] Generating rte_net_bnxt.pmd.c with a custom command
[1284/3384] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #10:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’; did you mean ‘stats_mask’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
   ^~~~~~~~~~~~
   stats_mask
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_OUTER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_OUTER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_OP_MAX’?
    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_OP_MAX
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  .separate_input_color_table_per_port = true};
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
  .separate_input_color_table_per_port = true};
                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (params->input_color_method) {
                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (params->vlan_table) {
               ^~~~~~~~~~
               dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
     table[i] = params->vlan_table[i];
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
    mtr->params.vlan_table = table;
                ^~~~~~~~~~
                dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  else if (mtr->params.input_color_method ==
                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   plt_free(mtr->params.vlan_table);
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
   ^~~~~~~~~~~~~~~~~~~~~~~
   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  .stats_update = cnxk_nix_mtr_stats_update,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
  cfg->icolor = color_map[mtr->params.default_input_color];
                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:19: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (mtr->params.vlan_table) {
                   ^~~~~~~~~~
                   dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:28: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
      color_map[mtr->params.vlan_table[i]];
                            ^~~~~~~~~~
                            dscp_table
cc1: all warnings being treated as errors
[1258/3529] Linking static target drivers/libtmp_rte_net_bnxt.a
[1259/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1260/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1261/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1262/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1263/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1264/3529] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1265/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1266/3529] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #11:
OS: RHEL84-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c(52): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND" is undefined
  	.methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(53): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_VLAN" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_VLAN |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(54): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_DSCP" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_DSCP |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(55): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(56): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(52): error: struct "rte_mtr_capabilities" has no field "methods_mask"
  	.methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
  	 ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(531): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (params->input_color_method) {
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(561): error: struct "rte_mtr_params" has no field "vlan_table"
  		if (params->vlan_table) {
  		            ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(563): error: struct "rte_mtr_params" has no field "vlan_table"
  				table[i] = params->vlan_table[i];
  				                   ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(565): error: struct "rte_mtr_params" has no field "vlan_table"
  			mtr->params.vlan_table = table;
  			            ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(661): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(663): error: struct "rte_mtr_params" has no field "input_color_method"
  	else if (mtr->params.input_color_method ==
  	                     ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(665): error: struct "rte_mtr_params" has no field "vlan_table"
  		plt_free(mtr->params.vlan_table);
  		                     ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(763): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method ==
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(819): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method ==
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(979): error: struct "rte_mtr_ops" has no field "meter_vlan_table_update"
  	.meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
  	 ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1162): error: struct "rte_mtr_params" has no field "default_input_color"
  	cfg->icolor = color_map[mtr->params.default_input_color];
  	                                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1164): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (mtr->params.input_color_method) {
  	                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1233): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (mtr->params.input_color_method) {
  	                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1237): error: struct "rte_mtr_params" has no field "input_color_method"
  		tbl->mode = (mtr->params.input_color_method ==
  		                         ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1254): error: struct "rte_mtr_params" has no field "input_color_method"
  		tbl->mode = (mtr->params.input_color_method ==
  		                         ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1262): error: struct "rte_mtr_params" has no field "vlan_table"
  		if (mtr->params.vlan_table) {
  		                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1265): error: struct "rte_mtr_params" has no field "vlan_table"
  					color_map[mtr->params.vlan_table[i]];
  					                      ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1254/3114] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1255/3114] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
[1256/3114] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1257/3114] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1258/3114] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1259/3114] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1260/3114] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1261/3114] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1262/3114] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #12:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND'
        .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_DSCP |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'; did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        RTE_ETH_INPUT_SET_L2_INNER_VLAN
../lib/ethdev/rte_eth_ctrl.h:88:2: note: 'RTE_ETH_INPUT_SET_L2_INNER_VLAN' declared here
        RTE_ETH_INPUT_SET_L2_INNER_VLAN,
        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        switch (params->input_color_method) {
                ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                if (params->vlan_table) {
                    ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                                table[i] = params->vlan_table[i];
                                           ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                        mtr->params.vlan_table = table;
                        ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:40: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                                              ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:23: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        else if (mtr->params.input_color_method ==
                 ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:664:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                 RTE_MTR_INPUT_COLOR_METHOD_VLAN)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                plt_free(mtr->params.vlan_table);
                         ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:764:6: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
            RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:820:6: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
            RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: field designator 'meter_vlan_table_update' does not refer to any field in type 'const struct rte_mtr_ops'; did you mean 'meter_dscp_table_update'?
        .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
         ^~~~~~~~~~~~~~~~~~~~~~~
         meter_dscp_table_update
../lib/ethdev/rte_mtr_driver.h:140:36: note: 'meter_dscp_table_update' declared here
        rte_mtr_meter_dscp_table_update_t meter_dscp_table_update;
                                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1249/3567] Generating symbol file drivers/librte_common_sfc_efx.so.22.1.p/librte_common_sfc_efx.so.22.1.symbols
[1250/3567] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1251/3567] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1252/3567] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn9k_rx_48_63_mseg.c.o
[1253/3567] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1254/3567] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_rx_cn9k_rx_80_95_mseg.c.o
[1255/3567] Generating rte_net_bnxt.pmd.c with a custom command
[1256/3567] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1257/3567] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #13:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’; did you mean ‘stats_mask’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
   ^~~~~~~~~~~~
   stats_mask
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function); did you mean ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’?
    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function); did you mean ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_MTR_INPUT_COLOR_METHOD_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_MTR_INPUT_COLOR_METHOD_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function); did you mean ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  .separate_input_color_table_per_port = true};
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
  .separate_input_color_table_per_port = true};
                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (params->input_color_method) {
                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (params->vlan_table) {
               ^~~~~~~~~~
               dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
     table[i] = params->vlan_table[i];
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
    mtr->params.vlan_table = table;
                ^~~~~~~~~~
                dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  else if (mtr->params.input_color_method ==
                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   plt_free(mtr->params.vlan_table);
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
   ^~~~~~~~~~~~~~~~~~~~~~~
   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  .stats_update = cnxk_nix_mtr_stats_update,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
  cfg->icolor = color_map[mtr->params.default_input_color];
                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:19: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (mtr->params.vlan_table) {
                   ^~~~~~~~~~
                   dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:28: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
      color_map[mtr->params.vlan_table[i]];
                            ^~~~~~~~~~
                            dscp_table
cc1: all warnings being treated as errors
[1245/3565] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o
[1246/3565] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1247/3565] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o
[1248/3565] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_tm.c.o
[1249/3565] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1250/3565] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1251/3565] Generating rte_net_bnxt.pmd.c with a custom command
[1252/3565] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1253/3565] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped




*Build Failed #14:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o 
gcc -Iapp/dpdk-testpmd.p -Iapp -I../app -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/crypto/scheduler -I../drivers/crypto/scheduler -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/reorder -I../lib/reorder -Ilib/bitratestats -I../lib/bitratestats -Ilib/bpf -I../lib/bpf -Ilib/gro -I../lib/gro -Ilib/gso -I../lib/gso -Ilib/latencystats -I../lib/latencystats -Ilib/pdump -I../lib/pdump -Ilib/pcapng -I../lib/pcapng -Idrivers/net/bonding -I../drivers/net/bonding -Ilib/sched -I../lib/sched -Ilib/ip_frag -I../lib/ip_frag -Ilib/hash -I../lib/hash -Idrivers/net/bnxt -I../drivers/net/bnxt -Idrivers/net/bnxt/tf_ulp -I../drivers/net/bnxt/tf_ulp -Idrivers/net/bnxt/tf_ulp/generic_templates -I../drivers/net/bnxt/tf_ulp/generic_templates -Idrivers/net/bnxt/tf_core -I../drivers/net/bnxt/tf_core -Idrivers/net/bnxt/hcapi/cfa -I../drivers/net/bnxt/hcapi/cfa -Idrivers/net/i40e -I../drivers/net/i40e -Idrivers/net/i40e/base -I../drivers/net/i40e/base -Idrivers/net/ixgbe -I../drivers/net/ixgbe -Idrivers/net/ixgbe/base -I../drivers/net/ixgbe/base -Ilib/security -I../lib/security -Idrivers/bus/dpaa -I../drivers/bus/dpaa -I../drivers/bus/dpaa/include -I../drivers/bus/dpaa/base/qbman -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -Ilib/eventdev -I../lib/eventdev -Ilib/timer -I../lib/timer -Idrivers/mempool/dpaa -I../drivers/mempool/dpaa -Idrivers/net/dpaa -I../drivers/net/dpaa -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -DALLOW_EXPERIMENTAL_API -Wno-deprecated-declarations -MD -MQ app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -MF app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o.d -o app/dpdk-testpmd.p/test-pmd_cmdline_mtr.c.o -c ../app/test-pmd/cmdline_mtr.c
../app/test-pmd/cmdline_mtr.c: In function ‘parse_input_color_method’:
../app/test-pmd/cmdline_mtr.c:257:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared (first use in this function)
  257 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:257:25: note: each undeclared identifier is reported only once for each function it appears in
../app/test-pmd/cmdline_mtr.c:259:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared (first use in this function)
  259 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:261:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared (first use in this function)
  261 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:263:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP’ undeclared (first use in this function)
  263 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:265:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared (first use in this function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  265 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:267:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared (first use in this function)
  267 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:269:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP’ undeclared (first use in this function)
  269 |   *input_color_method = RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP;
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c: In function ‘cmd_show_port_meter_cap_parsed’:
../app/test-pmd/cmdline_mtr.c:486:48: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
  486 |  printf("cap.methods_mask 0x%" PRIx64 "\n", cap.methods_mask);
      |                                                ^
../app/test-pmd/cmdline_mtr.c:488:6: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  488 |   cap.separate_input_color_table_per_port);
      |      ^
../app/test-pmd/cmdline_mtr.c: In function ‘cmd_create_port_meter_parsed’:
../app/test-pmd/cmdline_mtr.c:1040:8: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1040 |  params.input_color_method = input_color_method;
      |        ^
../app/test-pmd/cmdline_mtr.c:1043:27: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared (first use in this function)
 1043 |  if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN ||
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1044:27: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared (first use in this function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
 1044 |      input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                           RTE_ETH_INPUT_SET_L2_INNER_VLAN
../app/test-pmd/cmdline_mtr.c:1045:9: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1045 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1046:32: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared (first use in this function)
 1046 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1047:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared (first use in this function)
 1047 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1049:32: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP’ undeclared (first use in this function)
 1049 |  else if (input_color_method & RTE_MTR_INPUT_COLOR_METHOD_VLAN_DSCP ||
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1050:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP’ undeclared (first use in this function)
 1050 |    input_color_method & RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN_DSCP) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../app/test-pmd/cmdline_mtr.c:1051:9: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1051 |   params.vlan_table = vlan_table;
      |         ^
../app/test-pmd/cmdline_mtr.c:1055:8: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1055 |  params.default_input_color = def_inp_color;
      |        ^
../app/test-pmd/cmdline_mtr.c: In function ‘cmd_set_port_meter_vlan_table_parsed’:
../app/test-pmd/cmdline_mtr.c:1544:8: error: implicit declaration of function ‘rte_mtr_meter_vlan_table_update’; did you mean ‘rte_mtr_meter_dscp_table_update’? [-Werror=implicit-function-declaration]
 1544 |  ret = rte_mtr_meter_vlan_table_update(port_id, mtr_id,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        rte_mtr_meter_dscp_table_update
../app/test-pmd/cmdline_mtr.c:1544:8: error: nested extern declaration of ‘rte_mtr_meter_vlan_table_update’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[2121/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_cmd_flex_item.c.o
[2122/2480] Linking target app/dpdk-test-pipeline
[2123/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_flowgen.c.o
[2124/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_tm.c.o
[2125/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_icmpecho.c.o
[2126/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_csumonly.c.o
[2127/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline_flow.c.o
[2128/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_cmdline.c.o
[2129/2480] Compiling C object app/dpdk-testpmd.p/test-pmd_config.c.o
ninja: build stopped




*Build Failed #15:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND'
        .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                        RTE_MTR_INPUT_COLOR_METHOD_VLAN |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_DSCP |
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'; did you mean 'RTE_ETH_INPUT_SET_L2_INNER_VLAN'?
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                        RTE_ETH_INPUT_SET_L2_INNER_VLAN
../lib/ethdev/rte_eth_ctrl.h:88:2: note: 'RTE_ETH_INPUT_SET_L2_INNER_VLAN' declared here
        RTE_ETH_INPUT_SET_L2_INNER_VLAN,
        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
                        RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        switch (params->input_color_method) {
                ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                if (params->vlan_table) {
                    ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                                table[i] = params->vlan_table[i];
                                           ~~~~~~  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                        mtr->params.vlan_table = table;
                        ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:40: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_DSCP'
        if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                                              ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:23: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        else if (mtr->params.input_color_method ==
                 ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:664:4: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_VLAN'
                 RTE_MTR_INPUT_COLOR_METHOD_VLAN)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: no member named 'vlan_table' in 'struct rte_mtr_params'
                plt_free(mtr->params.vlan_table);
                         ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:764:6: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP'
            RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP)
            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:18: error: no member named 'input_color_method' in 'struct rte_mtr_params'
        if (mtr->params.input_color_method ==
            ~~~~~~~~~~~ ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:820:6: error: use of undeclared identifier 'RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN'
            RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN)
            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: field designator 'meter_vlan_table_update' does not refer to any field in type 'const struct rte_mtr_ops'; did you mean 'meter_dscp_table_update'?
        .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
         ^~~~~~~~~~~~~~~~~~~~~~~
         meter_dscp_table_update
../lib/ethdev/rte_mtr_driver.h:140:36: note: 'meter_dscp_table_update' declared here
        rte_mtr_meter_dscp_table_update_t meter_dscp_table_update;
                                          ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1258/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1259/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1260/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1261/3602] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1262/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1263/3602] Generating rte_net_bnxt.pmd.c with a custom command
[1264/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1265/3602] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1266/3602] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #16:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |   ^~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function)
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function)
   53 |    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function)
   54 |    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
   55 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function)
   56 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
   57 |  .separate_input_color_table_per_port = true};
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
   57 |  .separate_input_color_table_per_port = true};
      |                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  531 |  switch (params->input_color_method) {
      |                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:13: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  561 |   if (params->vlan_table) {
      |             ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:22: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  563 |     table[i] = params->vlan_table[i];
      |                      ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  565 |    mtr->params.vlan_table = table;
      |               ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  661 |  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  663 |  else if (mtr->params.input_color_method ==
      |                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:23: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  665 |   plt_free(mtr->params.vlan_table);
      |                       ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  763 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  819 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  980 |  .stats_update = cnxk_nix_mtr_stats_update,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1162 |  cfg->icolor = color_map[mtr->params.default_input_color];
      |                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1164 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
 1151 |  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
      |                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1233 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1237 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1254 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:18: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1262 |   if (mtr->params.vlan_table) {
      |                  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:27: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1265 |      color_map[mtr->params.vlan_table[i]];
      |                           ^
cc1: all warnings being treated as errors
[1254/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1255/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1256/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1257/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1258/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1259/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1260/3613] Generating rte_net_bnxt.pmd.c with a custom command
[1261/3613] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1262/3613] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c(52): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND" is undefined
  	.methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(53): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_VLAN" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_VLAN |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(54): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_DSCP" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_DSCP |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(55): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(56): error: identifier "RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP" is undefined
  			RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
  			^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(52): error: struct "rte_mtr_capabilities" has no field "methods_mask"
  	.methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
  	 ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(531): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (params->input_color_method) {
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(561): error: struct "rte_mtr_params" has no field "vlan_table"
  		if (params->vlan_table) {
  		            ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(563): error: struct "rte_mtr_params" has no field "vlan_table"
  				table[i] = params->vlan_table[i];
  				                   ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(565): error: struct "rte_mtr_params" has no field "vlan_table"
  			mtr->params.vlan_table = table;
  			            ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(661): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(663): error: struct "rte_mtr_params" has no field "input_color_method"
  	else if (mtr->params.input_color_method ==
  	                     ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(665): error: struct "rte_mtr_params" has no field "vlan_table"
  		plt_free(mtr->params.vlan_table);
  		                     ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(763): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method ==
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(819): error: struct "rte_mtr_params" has no field "input_color_method"
  	if (mtr->params.input_color_method ==
  	                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(979): error: struct "rte_mtr_ops" has no field "meter_vlan_table_update"
  	.meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
  	 ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1162): error: struct "rte_mtr_params" has no field "default_input_color"
  	cfg->icolor = color_map[mtr->params.default_input_color];
  	                                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1164): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (mtr->params.input_color_method) {
  	                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1233): error: struct "rte_mtr_params" has no field "input_color_method"
  	switch (mtr->params.input_color_method) {
  	                    ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1237): error: struct "rte_mtr_params" has no field "input_color_method"
  		tbl->mode = (mtr->params.input_color_method ==
  		                         ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1254): error: struct "rte_mtr_params" has no field "input_color_method"
  		tbl->mode = (mtr->params.input_color_method ==
  		                         ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1262): error: struct "rte_mtr_params" has no field "vlan_table"
  		if (mtr->params.vlan_table) {
  		                ^

../drivers/net/cnxk/cnxk_ethdev_mtr.c(1265): error: struct "rte_mtr_params" has no field "vlan_table"
  					color_map[mtr->params.vlan_table[i]];
  					                      ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1248/3100] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
[1249/3100] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1250/3100] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1251/3100] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1252/3100] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1253/3100] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1254/3100] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1255/3100] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1256/3100] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #18:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |   ^~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function)
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function)
   53 |    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function)
   54 |    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
   55 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function)
   56 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
   57 |  .separate_input_color_table_per_port = true};
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
   57 |  .separate_input_color_table_per_port = true};
      |                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  531 |  switch (params->input_color_method) {
      |                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:13: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  561 |   if (params->vlan_table) {
      |             ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:22: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  563 |     table[i] = params->vlan_table[i];
      |                      ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  565 |    mtr->params.vlan_table = table;
      |               ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  661 |  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  663 |  else if (mtr->params.input_color_method ==
      |                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:23: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  665 |   plt_free(mtr->params.vlan_table);
      |                       ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  763 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  819 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  980 |  .stats_update = cnxk_nix_mtr_stats_update,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1162 |  cfg->icolor = color_map[mtr->params.default_input_color];
      |                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1164 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
 1151 |  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
      |                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1233 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1237 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1254 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:18: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1262 |   if (mtr->params.vlan_table) {
      |                  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:27: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1265 |      color_map[mtr->params.vlan_table[i]];
      |                           ^
cc1: all warnings being treated as errors
[1254/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1255/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
[1256/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1257/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1258/3382] Generating rte_net_bnxt.pmd.c with a custom command
[1259/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1260/3382] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1261/3382] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1262/3382] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #19:
OS: UB2110-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:10: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |          ^~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function)
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function)
   53 |                         RTE_MTR_INPUT_COLOR_METHOD_VLAN |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function)
   54 |                         RTE_MTR_INPUT_COLOR_METHOD_DSCP |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
   55 |                         RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:25: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function)
   56 |                         RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: error: excess elements in struct initializer [-Werror]
   52 |         .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:25: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:10: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
   57 |         .separate_input_color_table_per_port = true};
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:48: error: excess elements in struct initializer [-Werror]
   57 |         .separate_input_color_table_per_port = true};
      |                                                ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:48: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:23: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  531 |         switch (params->input_color_method) {
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:27: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  561 |                 if (params->vlan_table) {
      |                           ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:50: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  563 |                                 table[i] = params->vlan_table[i];
      |                                                  ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:36: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  565 |                         mtr->params.vlan_table = table;
      |                                    ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  661 |         if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:29: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  663 |         else if (mtr->params.input_color_method ==
      |                             ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:37: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  665 |                 plt_free(mtr->params.vlan_table);
      |                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  763 |         if (mtr->params.input_color_method ==
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:24: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  819 |         if (mtr->params.input_color_method ==
      |                        ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:10: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  979 |         .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |          ^~~~~~~~~~~~~~~~~~~~~~~
      |          meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:36: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  979 |         .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:36: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:25: error: initialized field overwritten [-Werror=override-init]
  980 |         .stats_update = cnxk_nix_mtr_stats_update,
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:25: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:44: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1162 |         cfg->icolor = color_map[mtr->params.default_input_color];
      |                                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:28: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1164 |         switch (mtr->params.input_color_method) {
      |                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:32: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
 1151 |         enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
      |                                ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:28: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1233 |         switch (mtr->params.input_color_method) {
      |                            ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:41: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1237 |                 tbl->mode = (mtr->params.input_color_method ==
      |                                         ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:41: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1254 |                 tbl->mode = (mtr->params.input_color_method ==
      |                                         ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:32: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1262 |                 if (mtr->params.vlan_table) {
      |                                ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:62: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1265 |                                         color_map[mtr->params.vlan_table[i]];
      |                                                              ^
cc1: all warnings being treated as errors
[1261/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1262/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1263/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1264/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1265/3616] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1266/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o
[1267/3616] Generating rte_net_bnxt.pmd.c with a custom command
[1268/3616] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o
[1269/3616] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #20:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |   ^~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function)
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function)
   53 |    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function)
   54 |    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
   55 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function)
   56 |    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
   52 |  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
   57 |  .separate_input_color_table_per_port = true};
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
   57 |  .separate_input_color_table_per_port = true};
      |                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  531 |  switch (params->input_color_method) {
      |                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:13: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  561 |   if (params->vlan_table) {
      |             ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:22: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  563 |     table[i] = params->vlan_table[i];
      |                      ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  565 |    mtr->params.vlan_table = table;
      |               ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  661 |  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  663 |  else if (mtr->params.input_color_method ==
      |                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:23: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
  665 |   plt_free(mtr->params.vlan_table);
      |                       ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  763 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  819 |  if (mtr->params.input_color_method ==
      |                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |   ^~~~~~~~~~~~~~~~~~~~~~~
      |   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  979 |  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  980 |  .stats_update = cnxk_nix_mtr_stats_update,
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
 1162 |  cfg->icolor = color_map[mtr->params.default_input_color];
      |                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1164 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
 1151 |  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
      |                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1233 |  switch (mtr->params.input_color_method) {
      |                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1237 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
 1254 |   tbl->mode = (mtr->params.input_color_method ==
      |                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:18: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1262 |   if (mtr->params.vlan_table) {
      |                  ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:27: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’
 1265 |      color_map[mtr->params.vlan_table[i]];
      |                           ^
cc1: all warnings being treated as errors
[1251/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1252/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
[1253/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
[1254/3613] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1255/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1256/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
[1257/3613] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1258/3613] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1259/3613] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #21:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘methods_mask’; did you mean ‘stats_mask’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
   ^~~~~~~~~~~~
   stats_mask
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: ‘RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                  RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:53:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_OUTER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_OUTER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:54:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_OP_MAX’?
    RTE_MTR_INPUT_COLOR_METHOD_DSCP |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_OP_MAX
../drivers/net/cnxk/cnxk_ethdev_mtr.c:55:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_VLAN |
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:56:4: error: ‘RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP’ undeclared here (not in a function); did you mean ‘RTE_ETH_INPUT_SET_L2_INNER_VLAN’?
    RTE_MTR_INPUT_COLOR_METHOD_INNER_DSCP,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    RTE_ETH_INPUT_SET_L2_INNER_VLAN
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: error: excess elements in struct initializer [-Werror]
  .methods_mask = RTE_MTR_INPUT_COLOR_METHOD_COLOR_BLIND |
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:52:18: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:3: error: ‘struct rte_mtr_capabilities’ has no member named ‘separate_input_color_table_per_port’
  .separate_input_color_table_per_port = true};
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: error: excess elements in struct initializer [-Werror]
  .separate_input_color_table_per_port = true};
                                         ^~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:57:41: note: (near initialization for ‘mtr_capa’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_create’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:531:16: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (params->input_color_method) {
                ^~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:561:15: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (params->vlan_table) {
               ^~~~~~~~~~
               dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:563:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
     table[i] = params->vlan_table[i];
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:565:16: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
    mtr->params.vlan_table = table;
                ^~~~~~~~~~
                dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_destroy’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:661:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method == RTE_MTR_INPUT_COLOR_METHOD_DSCP)
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:663:22: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  else if (mtr->params.input_color_method ==
                      ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:665:24: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   plt_free(mtr->params.vlan_table);
                        ^~~~~~~~~~
                        dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_dscp_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:763:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘cnxk_nix_mtr_vlan_table_update’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:819:17: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  if (mtr->params.input_color_method ==
                 ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:3: error: ‘const struct rte_mtr_ops’ has no member named ‘meter_vlan_table_update’; did you mean ‘meter_dscp_table_update’?
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
   ^~~~~~~~~~~~~~~~~~~~~~~
   meter_dscp_table_update
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: error: initialization of ‘int (*)(struct rte_eth_dev *, uint32_t,  uint64_t,  struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  long unsigned int,  struct rte_mtr_error *)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, uint32_t,  enum rte_color *, struct rte_mtr_error *)’ {aka ‘int (*)(struct rte_eth_dev *, unsigned int,  enum rte_color *, struct rte_mtr_error *)’} [-Werror=incompatible-pointer-types]
  .meter_vlan_table_update = cnxk_nix_mtr_vlan_table_update,
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:979:29: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: error: initialized field overwritten [-Werror=override-init]
  .stats_update = cnxk_nix_mtr_stats_update,
                  ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c:980:18: note: (near initialization for ‘nix_mtr_ops.stats_update’)
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_mtr_config_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1162:37: error: ‘struct rte_mtr_params’ has no member named ‘default_input_color’
  cfg->icolor = color_map[mtr->params.default_input_color];
                                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1164:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1151:25: error: variable ‘color_map’ set but not used [-Werror=unused-but-set-variable]
  enum roc_nix_bpf_color color_map[] = {ROC_NIX_BPF_COLOR_GREEN,
                         ^~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_mtr.c: In function ‘nix_precolor_table_map’:
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1233:21: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
  switch (mtr->params.input_color_method) {
                     ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1237:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1254:27: error: ‘struct rte_mtr_params’ has no member named ‘input_color_method’
   tbl->mode = (mtr->params.input_color_method ==
                           ^
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1262:19: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
   if (mtr->params.vlan_table) {
                   ^~~~~~~~~~
                   dscp_table
../drivers/net/cnxk/cnxk_ethdev_mtr.c:1265:28: error: ‘struct rte_mtr_params’ has no member named ‘vlan_table’; did you mean ‘dscp_table’?
      color_map[mtr->params.vlan_table[i]];
                            ^~~~~~~~~~
                            dscp_table
cc1: all warnings being treated as errors
[1261/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
[1262/3538] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1263/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec_telemetry.c.o
[1264/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
[1265/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o
[1266/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o
[1267/3538] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_flow.c.o
[1268/3538] Generating rte_net_bnxt.pmd.c with a custom command
[1269/3538] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-02  1:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02  1:42 [dpdk-test-report] |FAILURE| pw(108421) sid(21941) job(PER_PATCH_BUILD1527)[v1, 3/3] app/testpmd: support different input color method sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).