automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(106665) sid(21416) job(PER_PATCH_BUILD989)[v6, 2/2] net/cnxk: support priority flow control
@ 2022-01-29 16:05 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-01-29 16:05 UTC (permalink / raw)
  To: test-report, skori

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


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

_Compilation issues_

Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: 2022-01-28 13:29:00
Reply_mail: 20220128132900.1949615-2-skori@marvell.com

DPDK git baseline: Repo:dpdk, CommitID: 4042dc2037a1509596f7eb48370185434bad39cc


Meson Build Summary: 20 Builds Done, 5 Successful, 15 Failures, 0 Blocked

+--------------+------------+--------------+------------+------------+-----------+----------+
| os           | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+--------------+------------+--------------+------------+------------+-----------+----------+
| FC35-64      | fail       | fail         |            |            |           |          |
| FreeBSD13-64 | pass       | pass         |            | pass       | pass      |          |
| RHEL84-64    | fail       | fail         | fail       | fail       | fail      |          |
| SUSE15-64    | fail       | fail         |            |            |           |          |
| UB2004-32    | pass       |              |            |            |           |          |
| UB2004-64    | 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

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.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
 1553 |         .priority_flow_ctrl_queue_config =
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
 1554 |                                 cnxk_nix_priority_flow_ctrl_queue_config,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:33: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
 1555 |         .priority_flow_ctrl_queue_info_get =
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
 1556 |                                 cnxk_nix_priority_flow_ctrl_queue_info_get,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:33: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:16: error: variable ‘pfc_conf’ has initializer but incomplete type
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:51: error: excess elements in struct initializer [-Werror]
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                                   ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:51: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:39: error: storage size of ‘pfc_conf’ isn’t known
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                       ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1249/3029] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1250/3029] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:49: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  331 |                                          struct rte_eth_pfc_queue_info *pfc_info)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
  330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
  486 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  335 |         pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
      |                 ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  336 |         pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                 ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:26: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function)
  336 |         pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:26: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:26: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function)
  337 |                          RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:49: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  343 |                                          struct rte_eth_pfc_queue_conf *pfc_conf)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
  342 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
  484 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  348 |         conf.fc_cfg.mode = pfc_conf->mode;
      |                                    ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  350 |         conf.pause_time = pfc_conf->tx_pause.pause_time;
      |                                   ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  351 |         conf.rx_tc = pfc_conf->tx_pause.tc;
      |                              ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  352 |         conf.rx_qid = pfc_conf->tx_pause.rx_qid;
      |                               ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  354 |         conf.tx_tc = pfc_conf->rx_pause.tc;
      |                              ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  355 |         conf.tx_qid = pfc_conf->rx_pause.tx_qid;
      |                               ^~
cc1: all warnings being treated as errors
[1251/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1252/3029] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1253/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1254/3029] Generating rte_net_bnxt.pmd.c with a custom command
[1255/3029] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1257/3029] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
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_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE'
                         RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.fc_cfg.mode = pfc_conf->mode;
                           ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:28: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.pause_time = pfc_conf->tx_pause.pause_time;
                          ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_tc = pfc_conf->tx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_qid = pfc_conf->tx_pause.rx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_tc = pfc_conf->rx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_qid = pfc_conf->rx_pause.tx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
16 errors generated.
[1243/3029] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1244/3029] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1245/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1246/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1247/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1248/3029] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1249/3029] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_config =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_info_get =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: variable has incomplete type 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
               ^
5 errors generated.
[1250/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1251/3029] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #3:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_info *pfc_info)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
 cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_RX_PAUSE’?
  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   RTE_ETH_FC_RX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_TX_PAUSE’?
     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     RTE_ETH_FC_TX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
[1246/2980] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1247/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1248/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_config =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_config,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1249/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1250/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1252/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1253/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1254/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #4:
OS: RHEL84-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE'
                         RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.fc_cfg.mode = pfc_conf->mode;
                           ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:28: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.pause_time = pfc_conf->tx_pause.pause_time;
                          ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_tc = pfc_conf->tx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_qid = pfc_conf->tx_pause.rx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_tc = pfc_conf->rx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_qid = pfc_conf->rx_pause.tx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
16 errors generated.
[1249/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1250/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_config =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_info_get =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: variable has incomplete type 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
               ^
5 errors generated.
[1251/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1252/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1253/2980] Generating rte_net_bnxt.pmd.c with a custom command
[1254/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1255/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1256/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.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 -Werror -O3 -include rte_config.h -Wextra -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_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1257/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #5:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_info *pfc_info)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
 cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_RX_PAUSE’?
  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   RTE_ETH_FC_RX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_TX_PAUSE’?
     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     RTE_ETH_FC_TX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
[1267/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_config =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_config,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1268/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1269/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1270/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1271/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.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 -Werror -O3 -include rte_config.h -Wextra -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_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1272/2835] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1273/2835] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1274/2835] Generating rte_net_bnxt.pmd.c with a custom command
[1275/2835] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #6:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O2 -g -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_info *pfc_info)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
 cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_RX_PAUSE’?
  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   RTE_ETH_FC_RX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_TX_PAUSE’?
     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     RTE_ETH_FC_TX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
[1244/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1245/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O2 -g -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_config =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_config,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1246/2980] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1247/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O2 -g -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1248/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1249/2980] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1250/2980] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O2 -g -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1252/2980] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #7:
OS: RHEL84-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #274: declaration is not visible outside of function
  					 struct rte_eth_pfc_queue_info *pfc_info)
  					        ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(330): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)" (declared at line 486 of "../drivers/net/cnxk/cnxk_ethdev.h")
  cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(335): error: pointer to incomplete class type is not allowed
  	pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
  	^

../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: pointer to incomplete class type is not allowed
  	pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
  	^

../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: identifier "RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE" is undefined
  	pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
  	                 ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(337): error: identifier "RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE" is undefined
  			 RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
  			 ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(343): error #274: declaration is not visible outside of function
  					 struct rte_eth_pfc_queue_conf *pfc_conf)
  					        ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(342): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 484 of "../drivers/net/cnxk/cnxk_ethdev.h")
  cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(348): error: pointer to incomplete class type is not allowed
  	conf.fc_cfg.mode = pfc_conf->mode;
  	                   ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(350): error: pointer to incomplete class type is not allowed
  	conf.pause_time = pfc_conf->tx_pause.pause_time;
  	                  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(351): error: pointer to incomplete class type is not allowed
  	conf.rx_tc = pfc_conf->tx_pause.tc;
  	             ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(352): error: pointer to incomplete class type is not allowed
  	conf.rx_qid = pfc_conf->tx_pause.rx_qid;
  	              ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(354): error: pointer to incomplete class type is not allowed
  	conf.tx_tc = pfc_conf->rx_pause.tc;
  	             ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(355): error: pointer to incomplete class type is not allowed
  	conf.tx_qid = pfc_conf->rx_pause.tx_qid;
  	              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_ops.c (code 2)
[1250/2978] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1251/2978] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

../drivers/net/cnxk/cnxk_ethdev.c(1553): error: struct "eth_dev_ops" has no field "priority_flow_ctrl_queue_config"
  	.priority_flow_ctrl_queue_config =
  	 ^

../drivers/net/cnxk/cnxk_ethdev.c(1730): error: incomplete type is not allowed
  	struct rte_eth_pfc_queue_conf pfc_conf = {0};
  	                              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev.c (code 2)
[1252/2978] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1253/2978] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2)
[1254/2978] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1255/2978] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_sec.c (code 2)
[1256/2978] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1257/2978] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1258/2978] 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: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o 
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_config =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_info_get =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: variable has incomplete type 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
               ^
5 errors generated.
[1245/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o 
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1246/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o 
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1247/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1248/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o 
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o' -c ../drivers/net/cnxk/cn9k_rx_vec.c
In file included from ../drivers/net/cnxk/cn9k_rx_vec.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1249/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o 
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o' -c ../drivers/net/cnxk/cn9k_rx_vec_mseg.c
In file included from ../drivers/net/cnxk/cn9k_rx_vec_mseg.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1250/3017] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1251/3017] Generating rte_net_bnxt.pmd.c with a custom command
[1252/3017] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command
[1253/3017] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'
ninja: build stopped




*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:0:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_config =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_config,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1246/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_sse.c.o'
[1247/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:0:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1248/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_avx2.c.o'
[1249/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1250/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:0:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_api.c.o'
[1252/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1253/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1254/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'
ninja: build stopped




*Build Failed #10:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
        ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
                                         struct rte_eth_pfc_queue_info *pfc_info)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE'
        pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: use of undeclared identifier 'RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE'
                         RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
                         ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
    ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.fc_cfg.mode = pfc_conf->mode;
                           ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:28: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.pause_time = pfc_conf->tx_pause.pause_time;
                          ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_tc = pfc_conf->tx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.rx_qid = pfc_conf->tx_pause.rx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:23: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_tc = pfc_conf->rx_pause.tc;
                     ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:24: error: incomplete definition of type 'struct rte_eth_pfc_queue_conf'
        conf.tx_qid = pfc_conf->rx_pause.tx_qid;
                      ~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
                                         struct rte_eth_pfc_queue_conf *pfc_conf)
                                                ^
16 errors generated.
[1245/3052] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1246/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_config =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
        .priority_flow_ctrl_queue_info_get =
         ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: variable has incomplete type 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                      ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
        struct rte_eth_pfc_queue_conf pfc_conf = {0};
               ^
5 errors generated.
[1247/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1248/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1249/3052] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1250/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1251/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
                                             struct rte_eth_pfc_queue_conf *pfc_conf);
                                                    ^
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
                                               struct rte_eth_pfc_queue_info *pfc_info);
                                                      ^
2 errors generated.
[1252/3052] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1253/3052] 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: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  331 |       struct rte_eth_pfc_queue_info *pfc_info)
      |              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
  330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
  486 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  335 |  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
      |          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  336 |  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function)
  336 |  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function)
  337 |     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  343 |       struct rte_eth_pfc_queue_conf *pfc_conf)
      |              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
  342 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
  484 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  348 |  conf.fc_cfg.mode = pfc_conf->mode;
      |                             ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:28: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  350 |  conf.pause_time = pfc_conf->tx_pause.pause_time;
      |                            ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  351 |  conf.rx_tc = pfc_conf->tx_pause.tc;
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  352 |  conf.rx_qid = pfc_conf->tx_pause.rx_qid;
      |                        ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  354 |  conf.tx_tc = pfc_conf->rx_pause.tc;
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  355 |  conf.tx_qid = pfc_conf->rx_pause.tx_qid;
      |                        ^~
cc1: all warnings being treated as errors
[1243/3052] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1244/3052] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o
[1245/3052] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1246/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
 1553 |  .priority_flow_ctrl_queue_config =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
 1554 |     cnxk_nix_priority_flow_ctrl_queue_config,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
 1555 |  .priority_flow_ctrl_queue_info_get =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
 1556 |     cnxk_nix_priority_flow_ctrl_queue_info_get,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1247/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1248/3052] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1249/3052] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1250/3052] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1251/3052] 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: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #274: declaration is not visible outside of function
  					 struct rte_eth_pfc_queue_info *pfc_info)
  					        ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(330): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)" (declared at line 486 of "../drivers/net/cnxk/cnxk_ethdev.h")
  cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(335): error: pointer to incomplete class type is not allowed
  	pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
  	^

../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: pointer to incomplete class type is not allowed
  	pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
  	^

../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: identifier "RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE" is undefined
  	pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
  	                 ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(337): error: identifier "RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE" is undefined
  			 RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
  			 ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(343): error #274: declaration is not visible outside of function
  					 struct rte_eth_pfc_queue_conf *pfc_conf)
  					        ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(342): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 484 of "../drivers/net/cnxk/cnxk_ethdev.h")
  cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(348): error: pointer to incomplete class type is not allowed
  	conf.fc_cfg.mode = pfc_conf->mode;
  	                   ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(350): error: pointer to incomplete class type is not allowed
  	conf.pause_time = pfc_conf->tx_pause.pause_time;
  	                  ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(351): error: pointer to incomplete class type is not allowed
  	conf.rx_tc = pfc_conf->tx_pause.tc;
  	             ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(352): error: pointer to incomplete class type is not allowed
  	conf.rx_qid = pfc_conf->tx_pause.rx_qid;
  	              ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(354): error: pointer to incomplete class type is not allowed
  	conf.tx_tc = pfc_conf->rx_pause.tc;
  	             ^

../drivers/net/cnxk/cnxk_ethdev_ops.c(355): error: pointer to incomplete class type is not allowed
  	conf.tx_qid = pfc_conf->rx_pause.tx_qid;
  	              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_ops.c (code 2)
[1242/2964] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1243/2964] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

../drivers/net/cnxk/cnxk_ethdev.c(1553): error: struct "eth_dev_ops" has no field "priority_flow_ctrl_queue_config"
  	.priority_flow_ctrl_queue_config =
  	 ^

../drivers/net/cnxk/cnxk_ethdev.c(1730): error: incomplete type is not allowed
  	struct rte_eth_pfc_queue_conf pfc_conf = {0};
  	                              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev.c (code 2)
[1244/2964] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1245/2964] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
  					     struct rte_eth_pfc_queue_conf *pfc_conf);
  					            ^

In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(487): error #274: declaration is not visible outside of function
  					       struct rte_eth_pfc_queue_info *pfc_info);
  					              ^

compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2)
[1246/2964] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1247/2964] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1248/2964] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1249/2964] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1250/2964] 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: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
 1553 |  .priority_flow_ctrl_queue_config =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
 1554 |     cnxk_nix_priority_flow_ctrl_queue_config,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
 1555 |  .priority_flow_ctrl_queue_info_get =
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
 1556 |     cnxk_nix_priority_flow_ctrl_queue_info_get,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
 1730 |  struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1160/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o' -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1161/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1162/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_sse.c.o'.
[1163/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1164/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  331 |       struct rte_eth_pfc_queue_info *pfc_info)
      |              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
  330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
  486 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  335 |  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
      |          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  336 |  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function)
  336 |  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function)
  337 |     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  343 |       struct rte_eth_pfc_queue_conf *pfc_conf)
      |              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
  342 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
  484 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  348 |  conf.fc_cfg.mode = pfc_conf->mode;
      |                             ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:28: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  350 |  conf.pause_time = pfc_conf->tx_pause.pause_time;
      |                            ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  351 |  conf.rx_tc = pfc_conf->tx_pause.tc;
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  352 |  conf.rx_qid = pfc_conf->tx_pause.rx_qid;
      |                        ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  354 |  conf.tx_tc = pfc_conf->rx_pause.tc;
      |                       ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  355 |  conf.tx_qid = pfc_conf->rx_pause.tx_qid;
      |                        ^~
cc1: all warnings being treated as errors
[1165/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1166/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -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/telemetry/../metrics -I../lib/telemetry/../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/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |           struct rte_eth_pfc_queue_conf *pfc_conf);
      |                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |             struct rte_eth_pfc_queue_info *pfc_info);
      |                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1167/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'.
[1168/2665] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'.
ninja: build stopped




*Build Failed #14:
OS: UB2110-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:49: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  331 |                                          struct rte_eth_pfc_queue_info *pfc_info)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
  330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
  486 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  335 |         pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
      |                 ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
  336 |         pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                 ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:26: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function)
  336 |         pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:26: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:26: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function)
  337 |                          RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:49: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  343 |                                          struct rte_eth_pfc_queue_conf *pfc_conf)
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
  342 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
  484 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  348 |         conf.fc_cfg.mode = pfc_conf->mode;
      |                                    ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  350 |         conf.pause_time = pfc_conf->tx_pause.pause_time;
      |                                   ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  351 |         conf.rx_tc = pfc_conf->tx_pause.tc;
      |                              ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:352:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  352 |         conf.rx_qid = pfc_conf->tx_pause.rx_qid;
      |                               ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  354 |         conf.tx_tc = pfc_conf->rx_pause.tc;
      |                              ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:355:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
  355 |         conf.tx_qid = pfc_conf->rx_pause.tx_qid;
      |                               ^~
cc1: all warnings being treated as errors
[1251/3066] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1252/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
 1553 |         .priority_flow_ctrl_queue_config =
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
 1554 |                                 cnxk_nix_priority_flow_ctrl_queue_config,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:33: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
 1555 |         .priority_flow_ctrl_queue_info_get =
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
 1556 |                                 cnxk_nix_priority_flow_ctrl_queue_info_get,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:33: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:16: error: variable ‘pfc_conf’ has initializer but incomplete type
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:51: error: excess elements in struct initializer [-Werror]
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                                   ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:51: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:39: error: storage size of ‘pfc_conf’ isn’t known
 1730 |         struct rte_eth_pfc_queue_conf pfc_conf = {0};
      |                                       ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1253/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1255/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1257/3066] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  485 |                                              struct rte_eth_pfc_queue_conf *pfc_conf);
      |                                                     ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  487 |                                                struct rte_eth_pfc_queue_info *pfc_info);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1258/3066] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1259/3066] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped




*Build Failed #15:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.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 -Werror -O3 -include rte_config.h -Wextra -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_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_info *pfc_info)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
 cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:486:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
 int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
  pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
          ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: error: ‘RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_RX_PAUSE’?
  pfc_info->capa = RTE_ETH_PFC_QUEUE_CAPA_RX_PAUSE |
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                   RTE_ETH_FC_RX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/cnxk/cnxk_ethdev_ops.c:337:5: error: ‘RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE’ undeclared (first use in this function); did you mean ‘RTE_ETH_FC_TX_PAUSE’?
     RTE_ETH_PFC_QUEUE_CAPA_TX_PAUSE;
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     RTE_ETH_FC_TX_PAUSE
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:343:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
       struct rte_eth_pfc_queue_conf *pfc_conf)
              ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
 cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
 int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:348:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
  conf.fc_cfg.mode = pfc_conf->mode;
                             ^~
cc1: all warnings being treated as errors
[1255/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.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 -Werror -O3 -include rte_config.h -Wextra -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.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_config =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_config,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1554:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1555:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
  .priority_flow_ctrl_queue_info_get =
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
     cnxk_nix_priority_flow_ctrl_queue_info_get,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1730:9: error: variable ‘pfc_conf’ has initializer but incomplete type
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
         ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: error: excess elements in struct initializer [-Werror]
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                            ^
../drivers/net/cnxk/cnxk_ethdev.c:1730:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: storage size of ‘pfc_conf’ isn’t known
  struct rte_eth_pfc_queue_conf pfc_conf = {0};
                                ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1730:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1256/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.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 -Werror -O3 -include rte_config.h -Wextra -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_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1257/2989] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1258/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.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 -Werror -O3 -include rte_config.h -Wextra -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_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1259/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.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 -Werror -O3 -include rte_config.h -Wextra -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_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1260/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.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 -Werror -O3 -include rte_config.h -Wextra -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_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1261/2989] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
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 -Werror -O3 -include rte_config.h -Wextra -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
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct rte_eth_pfc_queue_conf *pfc_conf);
                  ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:487:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
             struct rte_eth_pfc_queue_info *pfc_info);
                    ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1262/2989] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1263/2989] 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-01-29 16:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-29 16:05 [dpdk-test-report] |FAILURE| pw(106665) sid(21416) job(PER_PATCH_BUILD989)[v6, 2/2] net/cnxk: support priority flow control 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).