* [dpdk-test-report] |FAILURE| pw(106148) sid(21286) job(PER_PATCH_BUILD826)[v4, 2/2] net/cnxk: support priority flow control
@ 2022-01-20 17:13 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2022-01-20 17:13 UTC (permalink / raw)
To: test-report, skori
[-- Attachment #1: Type: text/plain, Size: 239085 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/106148
_Compilation issues_
Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: 2022-01-20 16:59:47
Reply_mail: 20220120165947.1388662-2-skori@marvell.com
DPDK git baseline: Repo:dpdk, CommitID: 9cc217a28310d21fba56e5eceb740b4feb7e0949
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 | |
| RHEL85-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: RHEL85-64
Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
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.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.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
[1250/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_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:484: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 *)’
484 | 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
[1251/3027] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1252/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1253/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1255/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1257/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1258/3027] 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:485: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:484: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.
[1239/3027] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1240/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1241/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1242/3027] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[1243/3027] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1244/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1245/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1246/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1247/3027] 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: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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:484: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
[1253/2990] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1254/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1255/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1256/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1257/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1258/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1259/2990] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1260/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1261/2990] 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: RHEL85-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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:484: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.
[1252/2990] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1253/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1254/2990] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1255/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1256/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1257/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1258/2990] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1259/2990] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1260/2990] 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: RHEL85-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1272/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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:484: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
[1273/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1277/2844] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1278/2844] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1279/2844] Generating rte_net_bnxt.pmd.c with a custom command
[1280/2844] 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: RHEL85-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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:484: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
[1260/3054] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1261/3054] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1262/3054] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1263/3054] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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/3054] 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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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/3054] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1266/3054] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1267/3054] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1268/3054] 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: RHEL85-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../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 484 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)
[1253/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1254/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../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)
[1255/3027] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1256/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2)
[1257/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_sec.c (code 2)
[1258/3027] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1259/3027] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1260/3027] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1261/3027] 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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1244/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1245/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1246/3015] 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 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1247/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec.c.o' -c ../drivers/net/cnxk/cn9k_rx_vec.c
In file included from ../drivers/net/cnxk/cn9k_rx_vec.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1248/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx.c.o' -c ../drivers/net/cnxk/cn9k_rx.c
In file included from ../drivers/net/cnxk/cn9k_rx.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1249/3015] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_vec_mseg.c.o' -c ../drivers/net/cnxk/cn9k_rx_vec_mseg.c
In file included from ../drivers/net/cnxk/cn9k_rx_vec_mseg.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1250/3015] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command
[1251/3015] Generating rte_net_bnxt.pmd.c with a custom command
[1252/3015] 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_devargs.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:0:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1237/3013] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_api.c.o'
[1238/3013] 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/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:0:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1239/3013] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1240/3013] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1241/3013] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:0:
../drivers/net/cnxk/cnxk_ethdev.h:485: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
[1242/3013] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1243/3013] Generating rte_net_bnxt.pmd.c with a custom command
[1244/3013] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'
[1245/3013] 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:485: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:484: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.
[1242/3050] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1243/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1244/3050] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1245/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1246/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1247/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1248/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485: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.
[1249/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1250/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #11:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_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:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here
484 | 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
[1242/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.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
[1243/3050] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1244/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1245/3050] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1246/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1247/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1248/3050] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1249/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1250/3050] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../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 484 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)
[1246/3001] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1247/3001] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../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)
[1248/3001] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1249/3001] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1250/3001] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1251/3001] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(485): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2)
[1252/3001] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1253/3001] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1254/3001] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.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
[1158/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_avx2.c.o'.
[1159/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_ops.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_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:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here
484 | 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
[1160/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1161/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_link.c.o' -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1162/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_mtr.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1163/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_api.c.o'.
[1164/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_sec.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:15: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1165/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'.
[1166/2663] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'.
ninja: build stopped
*Build Failed #14:
OS: UB2110-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_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:484: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 *)’
484 | 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
[1245/3064] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1246/3064] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1247/3064] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.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
[1248/3064] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_devargs.c.o -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1249/3064] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_link.c.o -c ../drivers/net/cnxk/cnxk_link.c
In file included from ../drivers/net/cnxk/cnxk_link.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1250/3064] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_sec.c.o -c ../drivers/net/cnxk/cnxk_ethdev_sec.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_sec.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/3064] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_mtr.c.o -c ../drivers/net/cnxk/cnxk_ethdev_mtr.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:485:50: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
485 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1252/3064] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1253/3064] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-20 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20 17:13 [dpdk-test-report] |FAILURE| pw(106148) sid(21286) job(PER_PATCH_BUILD826)[v4, 2/2] net/cnxk: support priority flow control sys_stv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).