From: sys_stv@intel.com
To: test-report@dpdk.org, skori@marvell.com
Subject: [dpdk-test-report] |FAILURE| pw(106983) sid(21503) job(PER_PATCH_BUILD1068)[v7, 2/2] net/cnxk: support priority flow control
Date: 07 Feb 2022 09:39:23 -0800 [thread overview]
Message-ID: <746b4b$g35kqo@orsmga008-auth.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 274792 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/106983
_Compilation issues_
Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: 2022-02-07 17:21:24
Reply_mail: 20220207172124.252136-2-skori@marvell.com
DPDK git baseline: Repo:dpdk-next-net-mrvl, CommitID: a6b42a304f56be5783899fb4cb5651bb546b7632
Meson Build Summary: 20 Builds Done, 5 Successful, 15 Failures, 0 Blocked
+--------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+--------------+------------+--------------+------------+------------+-----------+----------+
| FC35-64 | fail | fail | | | | |
| FreeBSD13-64 | pass | pass | | pass | pass | |
| RHEL84-64 | fail | fail | fail | fail | fail | |
| SUSE15-64 | fail | fail | | | | |
| UB2004-32 | pass | | | | | |
| UB2004-64 | fail | fail | fail | | | fail |
| UB2110-64 | fail | | | | | |
| RHEL85-64 | fail | | | | | |
+--------------+------------+--------------+------------+------------+-----------+----------+
Comments:
Beacasue of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier.
Test environment and configuration as below:
OS: FC35-64
Kernel Version: 5.14.16-301.fc35.x86_64
GCC Version: gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
Clang Version: 13.0.0 (Fedora 13.0.0~rc1-1.fc35)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: FreeBSD13-64
Kernel Version: 13.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 10.3.0
Clang Version: 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL84-64
Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-icc
OS: SUSE15-64
Kernel Version: 5.3.18-57-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 11.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: UB2004-32
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: UB2004-64
Kernel Version: 5.8.0-48-generic
GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: UB2110-64
Kernel Version: 5.13.0-19-generic
GCC Version: gcc (Ubuntu 11.2.0-7ubuntu2) 11.2.0
Clang Version: 13.0.0-2
x86_64-native-linuxapp-gcc
OS: RHEL85-64
Kernel Version: 4.18.0-348.7.1.el8_5.x86_64
GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4)
Clang Version: 12.0.1 (Red Hat 12.0.1-4.module_el8.5.0+1025+93159d6c)
ICC Version: 19.1.3.304 (gcc version 8.5.0 compatibility)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: FC35-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:49: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
331 | struct rte_eth_pfc_queue_info *pfc_info)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
492 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
335 | pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
336 | pfc_info->mode_capa = RTE_ETH_FC_FULL;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:49: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
342 | struct rte_eth_pfc_queue_conf *pfc_conf)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
341 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
490 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
347 | conf.fc_cfg.mode = pfc_conf->mode;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:349:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
349 | conf.pause_time = pfc_conf->tx_pause.pause_time;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
350 | conf.rx_tc = pfc_conf->tx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
351 | conf.rx_qid = pfc_conf->tx_pause.rx_qid;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:353:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
353 | conf.tx_tc = pfc_conf->rx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
354 | conf.tx_qid = pfc_conf->rx_pause.tx_qid;
| ^~
cc1: all warnings being treated as errors
[1250/3562] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/3562] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev.c.o -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
1556 | .priority_flow_ctrl_queue_config =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
1557 | cnxk_nix_priority_flow_ctrl_queue_config,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:33: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
1558 | .priority_flow_ctrl_queue_info_get =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
1559 | cnxk_nix_priority_flow_ctrl_queue_info_get,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:33: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739:16: error: variable ‘pfc_conf’ has initializer but incomplete type
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:51: error: excess elements in struct initializer [-Werror]
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:51: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739:39: error: storage size of ‘pfc_conf’ isn’t known
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1252/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1253/3562] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3562] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1255/3562] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3562] Generating rte_net_bnxt.pmd.c with a custom command
[1257/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1258/3562] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->mode_capa = RTE_ETH_FC_FULL;
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:347: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:349: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:353: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
14 errors generated.
[1236/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1237/3562] Generating rte_common_sfc_efx.sym_chk with a custom command (wrapped by meson to capture output)
[1238/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1239/3562] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1240/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1241/3562] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_config =
^
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_info_get =
^
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
5 errors generated.
[1242/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1243/3562] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1244/3562] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped
*Build Failed #3:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347: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
[1250/3513] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1251/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_config =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_info_get =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_info_get,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1252/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1253/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1255/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1257/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1258/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #4:
OS: RHEL84-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
clang -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->mode_capa = RTE_ETH_FC_FULL;
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:347: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:349: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:353: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
14 errors generated.
[1249/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o
[1250/3513] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1251/3513] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_config =
^
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_info_get =
^
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
5 errors generated.
[1252/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1253/3513] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1254/3513] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1255/3513] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1256/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1257/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #5:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
conf.fc_cfg.mode = pfc_conf->mode;
^~
cc1: all warnings being treated as errors
[1267/3368] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1268/3368] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1269/3368] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_config =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_info_get =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_info_get,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1270/3368] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1271/3368] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1272/3368] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1273/3368] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1274/3368] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1275/3368] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #6:
OS: RHEL84-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347: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
[1247/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1248/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_config =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_info_get =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_info_get,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1249/3513] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1250/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1251/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1252/3513] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1253/3513] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1255/3513] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL84-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
icc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(491): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(493): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(330): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)" (declared at line 492 of "../drivers/net/cnxk/cnxk_ethdev.h")
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(335): error: pointer to incomplete class type is not allowed
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: pointer to incomplete class type is not allowed
pfc_info->mode_capa = RTE_ETH_FC_FULL;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(342): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(341): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 490 of "../drivers/net/cnxk/cnxk_ethdev.h")
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(347): error: pointer to incomplete class type is not allowed
conf.fc_cfg.mode = pfc_conf->mode;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(349): 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(350): error: pointer to incomplete class type is not allowed
conf.rx_tc = pfc_conf->tx_pause.tc;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(351): 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(353): error: pointer to incomplete class type is not allowed
conf.tx_tc = pfc_conf->rx_pause.tc;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(354): 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)
[1245/3098] Generating pipeline.sym_chk with a custom command (wrapped by meson to capture output)
[1246/3098] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1247/3098] 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(491): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
In file included from ../drivers/net/cnxk/cnxk_ethdev.c(4):
../drivers/net/cnxk/cnxk_ethdev.h(493): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev.c(1556): error: struct "eth_dev_ops" has no field "priority_flow_ctrl_queue_config"
.priority_flow_ctrl_queue_config =
^
../drivers/net/cnxk/cnxk_ethdev.c(1739): 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/3098] 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(491): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c(8):
../drivers/net/cnxk/cnxk_ethdev.h(493): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_devargs.c (code 2)
[1249/3098] 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(491): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
In file included from ../drivers/net/cnxk/cnxk_ethdev_mtr.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(493): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info);
^
compilation aborted for ../drivers/net/cnxk/cnxk_ethdev_mtr.c (code 2)
[1250/3098] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1251/3098] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1252/3098] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1253/3098] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_config =
^
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_info_get =
^
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
5 errors generated.
[1250/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o
clang -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1251/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1252/3551] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1253/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_0_15.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_0_15.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_rx_cn9k_rx_0_15.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_0_15.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_0_15.c.o' -c ../drivers/net/cnxk/rx/cn9k/rx_0_15.c
In file included from ../drivers/net/cnxk/rx/cn9k/rx_0_15.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1254/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_select.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_select.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_select.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_select.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cn9k_rx_select.c.o' -c ../drivers/net/cnxk/cn9k_rx_select.c
In file included from ../drivers/net/cnxk/cn9k_rx_select.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1255/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_16_31.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_16_31.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_rx_cn9k_rx_16_31.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_16_31.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_rx_cn9k_rx_16_31.c.o' -c ../drivers/net/cnxk/rx/cn9k/rx_16_31.c
In file included from ../drivers/net/cnxk/rx/cn9k/rx_16_31.c:5:
In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1256/3551] Generating rte_net_bnxt.pmd.c with a custom command
[1257/3551] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'
[1258/3551] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command
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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1243/3549] Compiling C object 'drivers/a715181@@tmp_rte_net_bnxt@sta/net_bnxt_bnxt_rxtx_vec_avx2.c.o'
[1244/3549] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_config =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_info_get =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_info_get,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1245/3549] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o'
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_telemetry.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:0:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1246/3549] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1247/3549] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1248/3549] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1249/3549] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'
[1250/3549] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_pmd.c.o'
[1251/3549] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_info_get'
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: incomplete definition of type 'struct rte_eth_pfc_queue_info'
pfc_info->mode_capa = RTE_ETH_FC_FULL;
~~~~~~~~^
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: note: forward declaration of 'struct rte_eth_pfc_queue_info'
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for 'cnxk_nix_priority_flow_ctrl_queue_config'
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration is here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:347: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:349: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:350: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:351: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:353: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c:354: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:342:14: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf *pfc_conf)
^
14 errors generated.
[1246/3586] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1247/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1248/3586] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1249/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o
[1250/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1251/3586] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: field designator 'priority_flow_ctrl_queue_config' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_config =
^
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: field designator 'priority_flow_ctrl_queue_info_get' does not refer to any field in type 'struct eth_dev_ops'
.priority_flow_ctrl_queue_info_get =
^
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:9: note: forward declaration of 'struct rte_eth_pfc_queue_conf'
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
5 errors generated.
[1252/3586] 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:491:18: error: declaration of 'struct rte_eth_pfc_queue_conf' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_conf *pfc_conf);
^
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: declaration of 'struct rte_eth_pfc_queue_info' will not be visible outside of this function [-Werror,-Wvisibility]
struct rte_eth_pfc_queue_info *pfc_info);
^
2 errors generated.
[1253/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1254/3586] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
331 | struct rte_eth_pfc_queue_info *pfc_info)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
492 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
335 | pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
336 | pfc_info->mode_capa = RTE_ETH_FC_FULL;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
342 | struct rte_eth_pfc_queue_conf *pfc_conf)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
341 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
490 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
347 | conf.fc_cfg.mode = pfc_conf->mode;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:349:28: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
349 | conf.pause_time = pfc_conf->tx_pause.pause_time;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
350 | conf.rx_tc = pfc_conf->tx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
351 | conf.rx_qid = pfc_conf->tx_pause.rx_qid;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:353:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
353 | conf.tx_tc = pfc_conf->rx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
354 | conf.tx_qid = pfc_conf->rx_pause.tx_qid;
| ^~
cc1: all warnings being treated as errors
[1245/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o
[1246/3586] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1247/3586] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1248/3586] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1249/3586] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
1556 | .priority_flow_ctrl_queue_config =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
1557 | cnxk_nix_priority_flow_ctrl_queue_config,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
1558 | .priority_flow_ctrl_queue_info_get =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
1559 | cnxk_nix_priority_flow_ctrl_queue_info_get,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739:9: error: variable ‘pfc_conf’ has initializer but incomplete type
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: error: excess elements in struct initializer [-Werror]
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739:32: error: storage size of ‘pfc_conf’ isn’t known
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1250/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1251/3586] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1252/3586] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1253/3586] 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(491): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf);
^
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c(5):
../drivers/net/cnxk/cnxk_ethdev.h(493): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(331): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_info *pfc_info)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(330): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)" (declared at line 492 of "../drivers/net/cnxk/cnxk_ethdev.h")
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(335): error: pointer to incomplete class type is not allowed
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(336): error: pointer to incomplete class type is not allowed
pfc_info->mode_capa = RTE_ETH_FC_FULL;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(342): error #274: declaration is not visible outside of function
struct rte_eth_pfc_queue_conf *pfc_conf)
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(341): error #147: declaration is incompatible with "int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)" (declared at line 490 of "../drivers/net/cnxk/cnxk_ethdev.h")
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(347): error: pointer to incomplete class type is not allowed
conf.fc_cfg.mode = pfc_conf->mode;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(349): 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(350): error: pointer to incomplete class type is not allowed
conf.rx_tc = pfc_conf->tx_pause.tc;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(351): 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(353): error: pointer to incomplete class type is not allowed
conf.tx_tc = pfc_conf->rx_pause.tc;
^
../drivers/net/cnxk/cnxk_ethdev_ops.c(354): 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)
[1240/3084] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1241/3084] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_flow.c.o
[1242/3084] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_tf_core_tf_tcam_shared.c.o
[1243/3084] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_alb.c.o
[1244/3084] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_sse.c.o
[1245/3084] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1246/3084] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1247/3084] Generating pipeline.sym_chk with a meson_exe.py custom command
[1248/3084] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev_devargs.c.o' -c ../drivers/net/cnxk/cnxk_ethdev_devargs.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_devargs.c:8:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1165/3199] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_api.c.o'.
[1166/3199] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o
gcc -Idrivers/a715181@@tmp_rte_net_cnxk@sta -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/common/cnxk/../../bus/pci -I../drivers/common/cnxk/../../bus/pci -Idrivers/common/cnxk/../../../lib/net -I../drivers/common/cnxk/../../../lib/net -Idrivers/common/cnxk/../../../lib/ethdev -I../drivers/common/cnxk/../../../lib/ethdev -Idrivers/common/cnxk/../../../lib/meter -I../drivers/common/cnxk/../../../lib/meter -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_cnxk_cnxk_ethdev.c.o' -c ../drivers/net/cnxk/cnxk_ethdev.c
In file included from ../drivers/net/cnxk/cnxk_ethdev.c:4:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
1556 | .priority_flow_ctrl_queue_config =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
1557 | cnxk_nix_priority_flow_ctrl_queue_config,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
1558 | .priority_flow_ctrl_queue_info_get =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
1559 | cnxk_nix_priority_flow_ctrl_queue_info_get,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739:9: error: variable ‘pfc_conf’ has initializer but incomplete type
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: error: excess elements in struct initializer [-Werror]
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739:32: error: storage size of ‘pfc_conf’ isn’t known
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1167/3199] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1168/3199] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1169/3199] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1170/3199] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
331 | struct rte_eth_pfc_queue_info *pfc_info)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
492 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
335 | pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:10: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
336 | pfc_info->mode_capa = RTE_ETH_FC_FULL;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
342 | struct rte_eth_pfc_queue_conf *pfc_conf)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
341 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
490 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
347 | conf.fc_cfg.mode = pfc_conf->mode;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:349:28: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
349 | conf.pause_time = pfc_conf->tx_pause.pause_time;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
350 | conf.rx_tc = pfc_conf->tx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
351 | conf.rx_qid = pfc_conf->tx_pause.rx_qid;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:353:23: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
353 | conf.tx_tc = pfc_conf->rx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:24: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
354 | conf.tx_qid = pfc_conf->rx_pause.tx_qid;
| ^~
cc1: all warnings being treated as errors
[1171/3199] Compiling C object 'drivers/a715181@@tmp_rte_net_bond@sta/net_bonding_rte_eth_bond_8023ad.c.o'.
[1172/3199] Generating rte_net_bnxt.pmd.c with a custom command.
[1173/3199] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:49: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
331 | struct rte_eth_pfc_queue_info *pfc_info)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
330 | cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’
492 | int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
335 | pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:336:17: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_info’
336 | pfc_info->mode_capa = RTE_ETH_FC_FULL;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:49: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
342 | struct rte_eth_pfc_queue_conf *pfc_conf)
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’; have ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
341 | cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ with type ‘int(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’
490 | int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:36: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
347 | conf.fc_cfg.mode = pfc_conf->mode;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:349:35: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
349 | conf.pause_time = pfc_conf->tx_pause.pause_time;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:350:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
350 | conf.rx_tc = pfc_conf->tx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:351:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
351 | conf.rx_qid = pfc_conf->tx_pause.rx_qid;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:353:30: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
353 | conf.tx_tc = pfc_conf->rx_pause.tc;
| ^~
../drivers/net/cnxk/cnxk_ethdev_ops.c:354:31: error: invalid use of undefined type ‘struct rte_eth_pfc_queue_conf’
354 | conf.tx_qid = pfc_conf->rx_pause.tx_qid;
| ^~
cc1: all warnings being treated as errors
[1251/3600] Linking static target drivers/libtmp_rte_net_bnxt.a
[1252/3600] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
1556 | .priority_flow_ctrl_queue_config =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
1557 | cnxk_nix_priority_flow_ctrl_queue_config,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:33: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:10: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’
1558 | .priority_flow_ctrl_queue_info_get =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:33: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
1559 | cnxk_nix_priority_flow_ctrl_queue_info_get,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:33: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739:16: error: variable ‘pfc_conf’ has initializer but incomplete type
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:51: error: excess elements in struct initializer [-Werror]
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^
../drivers/net/cnxk/cnxk_ethdev.c:1739:51: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739:39: error: storage size of ‘pfc_conf’ isn’t known
1739 | struct rte_eth_pfc_queue_conf pfc_conf = {0};
| ^~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1739:39: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1253/3600] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1254/3600] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1255/3600] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_telemetry.c.o -c ../drivers/net/cnxk/cnxk_ethdev_telemetry.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_telemetry.c:7:
../drivers/net/cnxk/cnxk_ethdev.h:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1256/3600] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1257/3600] 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:491:53: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
491 | struct rte_eth_pfc_queue_conf *pfc_conf);
| ^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:55: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
493 | struct rte_eth_pfc_queue_info *pfc_info);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1258/3600] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1259/3600] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
*Build Failed #15:
OS: RHEL85-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o
gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o -c ../drivers/net/cnxk/cnxk_ethdev_ops.c
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:331:14: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:330:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_info_get’
cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:492:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_info_get’ was here
int cnxk_nix_priority_flow_ctrl_queue_info_get(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_info_get’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:335:10: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_info’
pfc_info->tc_max = roc_nix_chan_count_get(&dev->nix);
^~
../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level:
../drivers/net/cnxk/cnxk_ethdev_ops.c:342:14: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf)
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c:341:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_config’
cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:
../drivers/net/cnxk/cnxk_ethdev.h:490:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_config’ was here
int cnxk_nix_priority_flow_ctrl_queue_config(struct rte_eth_dev *eth_dev,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_config’:
../drivers/net/cnxk/cnxk_ethdev_ops.c:347:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’
conf.fc_cfg.mode = pfc_conf->mode;
^~
cc1: all warnings being treated as errors
[1255/3522] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_api.c.o
[1256/3522] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_args.c.o
[1257/3522] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1556:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_config’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_config =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_conf *)’ from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_conf *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_config,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1557:5: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’)
../drivers/net/cnxk/cnxk_ethdev.c:1558:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_info_get’; did you mean ‘priority_flow_ctrl_set’?
.priority_flow_ctrl_queue_info_get =
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
priority_flow_ctrl_set
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: error: initialization of ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, uint8_t)’ {aka ‘int (*)(struct rte_eth_dev *, struct rte_ether_addr *, unsigned char)’} from incompatible pointer type ‘int (*)(struct rte_eth_dev *, struct rte_eth_pfc_queue_info *)’ [-Werror=incompatible-pointer-types]
cnxk_nix_priority_flow_ctrl_queue_info_get,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.c:1559:5: note: (near initialization for ‘cnxk_eth_dev_ops.uc_hash_table_set’)
../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’:
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:44: error: excess elements in struct initializer [-Werror]
struct rte_eth_pfc_queue_conf pfc_conf = {0};
^
../drivers/net/cnxk/cnxk_ethdev.c:1739:44: note: (near initialization for ‘pfc_conf’)
../drivers/net/cnxk/cnxk_ethdev.c:1739: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:1739:32: error: unused variable ‘pfc_conf’ [-Werror=unused-variable]
cc1: all warnings being treated as errors
[1258/3522] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_rxtx_vec_avx2.c.o
[1259/3522] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1260/3522] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1261/3522] 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:491:18: error: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_conf *pfc_conf);
^~~~~~~~~~~~~~~~~~~~~~
../drivers/net/cnxk/cnxk_ethdev.h:493:20: error: ‘struct rte_eth_pfc_queue_info’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eth_pfc_queue_info *pfc_info);
^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1262/3522] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_8023ad.c.o
[1263/3522] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
ninja: build stopped
DPDK STV team
reply other threads:[~2022-02-07 17:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='746b4b$g35kqo@orsmga008-auth.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=skori@marvell.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).