Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/105721 _Compilation issues_ Submitter: Sunil Kumar Kori Date: 2022-01-11 08:18:31 Reply_mail: 20220111081831.881374-2-skori@marvell.com DPDK git baseline: Repo:dpdk-next-net-mrvl, CommitID: ecde70a9a3d557e8029301a038028edaf07486a4 Meson Build Summary: 19 Builds Done, 5 Successful, 14 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 | | | | | | +--------------+------------+--------------+------------+------------+-----------+----------+ 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-305.19.1.el8_4.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) 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 *Build Failed #1: OS: FC35-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-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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:16: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ 73 | devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332:46: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 332 | struct rte_eth_pfc_queue_conf *pfc_conf) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ 331 | cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ 482 | int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 337 | conf.fc_cfg.mode = pfc_conf->mode; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:339:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 339 | conf.pause_time = pfc_conf->tx_pause.pause_time; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:340:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 340 | conf.rx_tc = pfc_conf->tx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:341:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 341 | conf.rx_qid = pfc_conf->tx_pause.rx_qid; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:343:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 343 | conf.tx_tc = pfc_conf->rx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:344:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 344 | conf.tx_qid = pfc_conf->rx_pause.tx_qid; | ^~ cc1: all warnings being treated as errors [1275/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1276/3142] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1277/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o [1278/3142] 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-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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:41: 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] 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:41: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727:16: error: variable ‘pfc_conf’ has initializer but incomplete type 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:51: error: excess elements in struct initializer [-Werror] 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:51: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727:39: error: storage size of ‘pfc_conf’ isn’t known 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1279/3142] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1280/3142] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1281/3142] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1282/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1283/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o ninja: build stopped *Build Failed #2: OS: FC35-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_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:483:15: 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:73:11: error: no member named 'pfc_queue_tc_max' in 'struct rte_eth_dev_info' devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ~~~~~~~ ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_set' cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration is here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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:332:18: 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:339: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:332:18: 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:340: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:332:18: 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:341: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:332:18: 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:343: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:332:18: 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:344: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:332:18: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf *pfc_conf) ^ 10 errors generated. [1272/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o [1273/3142] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1274/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o [1275/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1276/3142] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1277/3142] 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:483:15: 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.c:1553:3: error: field designator 'priority_flow_ctrl_queue_set' does not refer to any field in type 'struct eth_dev_ops'; did you mean 'priority_flow_ctrl_set'? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../lib/ethdev/ethdev_driver.h:1082:29: note: 'priority_flow_ctrl_set' declared here priority_flow_ctrl_set_t priority_flow_ctrl_set; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: error: incompatible function pointer types initializing 'priority_flow_ctrl_set_t' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)' [-Werror,-Wincompatible-function-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ 4 errors generated. [1278/3142] 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:483:15: 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); ^ 1 error generated. [1279/3142] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1280/3142] 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 -mno-avx512f -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:483:15: 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: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’ cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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 [1269/3077] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1270/3077] 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: 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] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:44: error: excess elements in struct initializer [-Werror] struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1271/3077] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1272/3077] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1273/3077] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1274/3077] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1275/3077] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1276/3077] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1277/3077] 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 -mno-avx512f -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:483:15: 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:73:11: error: no member named 'pfc_queue_tc_max' in 'struct rte_eth_dev_info' devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ~~~~~~~ ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_set' cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration is here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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:332:18: 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:339: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:332:18: 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:340: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:332:18: 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:341: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:332:18: 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:343: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:332:18: 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:344: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:332:18: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf *pfc_conf) ^ 10 errors generated. [1270/3077] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1271/3077] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1272/3077] 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: field designator 'priority_flow_ctrl_queue_set' does not refer to any field in type 'struct eth_dev_ops'; did you mean 'priority_flow_ctrl_set'? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../lib/ethdev/ethdev_driver.h:1082:29: note: 'priority_flow_ctrl_set' declared here priority_flow_ctrl_set_t priority_flow_ctrl_set; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: error: incompatible function pointer types initializing 'priority_flow_ctrl_set_t' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)' [-Werror,-Wincompatible-function-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ 4 errors generated. [1273/3077] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1274/3077] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1275/3077] Generating rte_net_bnxt.pmd.c with a custom command [1276/3077] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1277/3077] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1278/3077] 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 -mno-avx512f -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:483:15: 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: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’ cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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 [1286/2912] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o [1287/2912] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1288/2912] 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: 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] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:44: error: excess elements in struct initializer [-Werror] struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1289/2912] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1290/2912] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1291/2912] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1292/2912] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1293/2912] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1294/2912] 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 -mno-avx512f -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:483:15: 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: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’ cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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 [1269/3077] 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: 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] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:44: error: excess elements in struct initializer [-Werror] struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1270/3077] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1271/3077] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1272/3077] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1273/3077] 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 -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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1274/3077] 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 -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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1275/3077] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1276/3077] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1277/3077] 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 -mno-avx512f -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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(73): error: struct "rte_eth_dev_info" has no field "pfc_queue_tc_max" devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(332): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf) ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 482 of "../drivers/net/cnxk/cnxk_ethdev.h") cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(337): error: pointer to incomplete class type is not allowed conf.fc_cfg.mode = pfc_conf->mode; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(339): 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(340): error: pointer to incomplete class type is not allowed conf.rx_tc = pfc_conf->tx_pause.tc; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(341): 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(343): error: pointer to incomplete class type is not allowed conf.tx_tc = pfc_conf->rx_pause.tc; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(344): 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) [1266/3114] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1267/3114] 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 -mno-avx512f -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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2) [1268/3114] 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 -mno-avx512f -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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ ../drivers/net/cnxk/cnxk_ethdev.c(1553): error: struct "eth_dev_ops" has no field "priority_flow_ctrl_queue_set" .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^ ../drivers/net/cnxk/cnxk_ethdev.c(1727): 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) [1269/3114] 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 -mno-avx512f -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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_sec.c (code 2) [1270/3114] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1271/3114] 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 -mno-avx512f -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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2) [1272/3114] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1273/3114] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1274/3114] 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_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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1263/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: field designator 'priority_flow_ctrl_queue_set' does not refer to any field in type 'struct eth_dev_ops'; did you mean 'priority_flow_ctrl_set'? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../lib/ethdev/ethdev_driver.h:1082:29: note: 'priority_flow_ctrl_set' declared here priority_flow_ctrl_set_t priority_flow_ctrl_set; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: error: incompatible function pointer types initializing 'priority_flow_ctrl_set_t' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)' [-Werror,-Wincompatible-function-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ 4 errors generated. [1264/3114] 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 -mno-avx512f -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:483:15: 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); ^ 1 error generated. [1265/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_ethdev_sec.c.o' FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_ethdev_sec.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 -mno-avx512f -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_ethdev_sec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_ethdev_sec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_ethdev_sec.c.o' -c ../drivers/net/cnxk/cn9k_ethdev_sec.c In file included from ../drivers/net/cnxk/cn9k_ethdev_sec.c:9: In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7: ../drivers/net/cnxk/cnxk_ethdev.h:483:15: 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); ^ 1 error generated. [1266/3114] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command [1267/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rte_flow.c.o' FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rte_flow.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 -mno-avx512f -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_rte_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rte_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rte_flow.c.o' -c ../drivers/net/cnxk/cn9k_rte_flow.c In file included from ../drivers/net/cnxk/cn9k_rte_flow.c:4: In file included from ../drivers/net/cnxk/cnxk_rte_flow.h:10: ../drivers/net/cnxk/cnxk_ethdev.h:483:15: 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); ^ 1 error generated. [1268/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o' [1269/3114] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [1270/3114] Generating rte_net_bnxt.pmd.c with a custom command [1271/3114] 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 -mno-avx512f -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:483:15: 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.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:44: error: excess elements in struct initializer [-Werror] struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1262/3114] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1263/3114] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1264/3114] 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 -mno-avx512f -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:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1265/3114] 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/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 -mno-avx512f -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:0: ../drivers/net/cnxk/cnxk_ethdev.h:483:15: 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); ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1266/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o' [1267/3114] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o' [1268/3114] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command [1269/3114] Generating rte_net_bnxt.pmd.c with a custom command [1270/3114] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command 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:483:15: 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:73:11: error: no member named 'pfc_queue_tc_max' in 'struct rte_eth_dev_info' devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ~~~~~~~ ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:332: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_ops.c:331:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_set' cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration is here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c:337: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:332:18: 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:339: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:332:18: 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:340: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:332:18: 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:341: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:332:18: 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:343: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:332:18: 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:344: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:332:18: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf *pfc_conf) ^ 10 errors generated. [1271/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o [1272/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o [1273/3165] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1274/3165] 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:483:15: 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.c:1553:3: error: field designator 'priority_flow_ctrl_queue_set' does not refer to any field in type 'struct eth_dev_ops'; did you mean 'priority_flow_ctrl_set'? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../lib/ethdev/ethdev_driver.h:1082:29: note: 'priority_flow_ctrl_set' declared here priority_flow_ctrl_set_t priority_flow_ctrl_set; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: error: incompatible pointer types initializing 'priority_flow_ctrl_set_t' (aka 'int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)') with an expression of type 'int (struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)' [-Werror,-Wincompatible-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727: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:1727:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf' struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ 4 errors generated. [1275/3165] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1276/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1277/3165] 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:483:15: 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); ^ 1 error generated. [1278/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1279/3165] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ 73 | devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 332 | struct rte_eth_pfc_queue_conf *pfc_conf) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’ 331 | cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here 482 | int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337:29: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 337 | conf.fc_cfg.mode = pfc_conf->mode; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:339:28: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 339 | conf.pause_time = pfc_conf->tx_pause.pause_time; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:340:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 340 | conf.rx_tc = pfc_conf->tx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:341:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 341 | conf.rx_qid = pfc_conf->tx_pause.rx_qid; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:343:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 343 | conf.tx_tc = pfc_conf->rx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:344:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 344 | conf.tx_qid = pfc_conf->rx_pause.tx_qid; | ^~ cc1: all warnings being treated as errors [1274/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o [1275/3165] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: 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] 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727:9: error: variable ‘pfc_conf’ has initializer but incomplete type 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: error: excess elements in struct initializer [-Werror] 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: storage size of ‘pfc_conf’ isn’t known 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1276/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o [1277/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1278/3165] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1279/3165] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1280/3165] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1281/3165] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1282/3165] 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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(73): error: struct "rte_eth_dev_info" has no field "pfc_queue_tc_max" devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(332): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf) ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 482 of "../drivers/net/cnxk/cnxk_ethdev.h") cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(337): error: pointer to incomplete class type is not allowed conf.fc_cfg.mode = pfc_conf->mode; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(339): 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(340): error: pointer to incomplete class type is not allowed conf.rx_tc = pfc_conf->tx_pause.tc; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(341): 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(343): error: pointer to incomplete class type is not allowed conf.tx_tc = pfc_conf->rx_pause.tc; ^ ../drivers/net/cnxk/cnxk_ethdev_ops.c(344): 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) [1272/3116] 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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ ../drivers/net/cnxk/cnxk_ethdev.c(1553): error: struct "eth_dev_ops" has no field "priority_flow_ctrl_queue_set" .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^ ../drivers/net/cnxk/cnxk_ethdev.c(1727): 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) [1273/3116] 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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2) [1274/3116] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o [1275/3116] 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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2) [1276/3116] 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 -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_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(483): error #274: declaration is not visible outside of function struct rte_eth_pfc_queue_conf *pfc_conf); ^ compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_sec.c (code 2) [1277/3116] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o [1278/3116] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o [1279/3116] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1280/3116] 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_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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1181/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_sse.c.o'. [1182/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o'. 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: 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] 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727:9: error: variable ‘pfc_conf’ has initializer but incomplete type 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: error: excess elements in struct initializer [-Werror] 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: storage size of ‘pfc_conf’ isn’t known 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1183/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_args.c.o'. [1184/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_avx2.c.o'. [1185/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_api.c.o'. [1186/2754] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1187/2754] 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:483:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1188/2754] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'. [1189/2754] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:16: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ 73 | devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332:46: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 332 | struct rte_eth_pfc_queue_conf *pfc_conf) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ 331 | cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:482:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ 482 | int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 337 | conf.fc_cfg.mode = pfc_conf->mode; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:339:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 339 | conf.pause_time = pfc_conf->tx_pause.pause_time; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:340:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 340 | conf.rx_tc = pfc_conf->tx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:341:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 341 | conf.rx_qid = pfc_conf->tx_pause.rx_qid; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:343:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 343 | conf.tx_tc = pfc_conf->rx_pause.tc; | ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:344:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’ 344 | conf.tx_qid = pfc_conf->rx_pause.tx_qid; | ^~ cc1: all warnings being treated as errors [1276/3179] Linking static target drivers/libtmp_rte_net_bnxt.a [1277/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:41: 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] 1553 | .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:41: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727:16: error: variable ‘pfc_conf’ has initializer but incomplete type 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:51: error: excess elements in struct initializer [-Werror] 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:51: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727:39: error: storage size of ‘pfc_conf’ isn’t known 1727 | struct rte_eth_pfc_queue_conf pfc_conf = {0}; | ^~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable] cc1: all warnings being treated as errors [1278/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1279/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1280/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1281/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1282/3179] 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:483:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 483 | struct rte_eth_pfc_queue_conf *pfc_conf); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1283/3179] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o [1284/3179] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o ninja: build stopped DPDK STV team