Test-Label: iol-testing Test-Status: FAILURE http://dpdk.org/patch/106149 _build patch failure_ Submitter: Sunil Kumar Kori Date: Thursday, January 20 2022 16:59:47 Applied on: CommitID:62c21c38a26e654bba09be147ea2d61c2e699a13 Apply patch set 106149-106148 failed: [1/1743] Linking static target drivers/libtmp_rte_net_bond.a [2/1743] Linking static target drivers/libtmp_rte_net_bnxt.a [3/1743] Compiling C object drivers/librte_net_bnx2x.a.p/meson-generated_.._rte_net_bnx2x.pmd.c.o [4/1743] Compiling C object drivers/librte_net_bnx2x.so.22.1.p/meson-generated_.._rte_net_bnx2x.pmd.c.o [5/1743] Linking target lib/librte_pipeline.so.22.1 [6/1743] Linking target drivers/librte_common_cnxk.so.22.1 [7/1743] Linking target drivers/librte_common_sfc_efx.so.22.1 [8/1743] Linking static target drivers/librte_net_bnx2x.a [9/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o FAILED: drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ethdev_ops.c.o cc -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 -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/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:0: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_info_get’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:73:9: error: ‘struct rte_eth_dev_info’ has no member named ‘pfc_queue_tc_max’ devinfo->pfc_queue_tc_max = roc_nix_chan_count_get(&dev->nix); ^~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: At top level: ../drivers/net/cnxk/cnxk_ethdev_ops.c:332:18: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c:331:1: error: conflicting types for ‘cnxk_nix_priority_flow_ctrl_queue_set’ cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/cnxk/cnxk_ethdev_ops.c:5:0: ../drivers/net/cnxk/cnxk_ethdev.h:484:5: note: previous declaration of ‘cnxk_nix_priority_flow_ctrl_queue_set’ was here int cnxk_nix_priority_flow_ctrl_queue_set(struct rte_eth_dev *eth_dev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev_ops.c: In function ‘cnxk_nix_priority_flow_ctrl_queue_set’: ../drivers/net/cnxk/cnxk_ethdev_ops.c:337:29: error: dereferencing pointer to incomplete type ‘struct rte_eth_pfc_queue_conf’ conf.fc_cfg.mode = pfc_conf->mode; ^~ [10/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rte_flow.c.o In file included from ../drivers/net/cnxk/cnxk_rte_flow.h:10:0, from ../drivers/net/cnxk/cn9k_rte_flow.c:4: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [11/1743] Generating rte_net_bond.pmd.c with a custom command [12/1743] 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 cc -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 -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/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:0: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:3: error: ‘struct eth_dev_ops’ has no member named ‘priority_flow_ctrl_queue_set’; did you mean ‘priority_flow_ctrl_set’? .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ priority_flow_ctrl_set ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] .priority_flow_ctrl_queue_set = cnxk_nix_priority_flow_ctrl_queue_set, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1553:34: note: (near initialization for ‘cnxk_eth_dev_ops.priority_flow_ctrl_set’) ../drivers/net/cnxk/cnxk_ethdev.c: In function ‘cnxk_eth_dev_uninit’: ../drivers/net/cnxk/cnxk_ethdev.c:1727:9: error: variable ‘pfc_conf’ has initializer but incomplete type struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: warning: excess elements in struct initializer struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^ ../drivers/net/cnxk/cnxk_ethdev.c:1727:44: note: (near initialization for ‘pfc_conf’) ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: error: storage size of ‘pfc_conf’ isn’t known struct rte_eth_pfc_queue_conf pfc_conf = {0}; ^~~~~~~~ ../drivers/net/cnxk/cnxk_ethdev.c:1727:32: warning: unused variable ‘pfc_conf’ [-Wunused-variable] [13/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_ptp.c.o In file included from ../drivers/net/cnxk/cnxk_ptp.c:5:0: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [14/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_stats.c.o In file included from ../drivers/net/cnxk/cnxk_stats.c:5:0: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [15/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_lookup.c.o In file included from ../drivers/net/cnxk/cnxk_lookup.c:8:0: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [16/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cnxk_rte_flow.c.o In file included from ../drivers/net/cnxk/cnxk_rte_flow.h:10:0, from ../drivers/net/cnxk/cnxk_rte_flow.c:4: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [17/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_ethdev_sec.c.o In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0, from ../drivers/net/cnxk/cn9k_ethdev_sec.c:9: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [18/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_vec_mseg.c.o In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0, from ../drivers/net/cnxk/cn9k_rx_vec_mseg.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [19/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_vec.c.o In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0, from ../drivers/net/cnxk/cn9k_rx_vec.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [20/1743] Generating symbol file lib/librte_pipeline.so.22.1.p/librte_pipeline.so.22.1.symbols [21/1743] Generating symbol file drivers/librte_common_cnxk.so.22.1.p/librte_common_cnxk.so.22.1.symbols [22/1743] Generating symbol file drivers/librte_common_sfc_efx.so.22.1.p/librte_common_sfc_efx.so.22.1.symbols [23/1743] Generating rte_net_bnx2x.sym_chk with a custom command (wrapped by meson to capture output) [24/1743] Generating rte_net_bnxt.pmd.c with a custom command [25/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx.c.o In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0, from ../drivers/net/cnxk/cn9k_rx.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ [26/1743] Compiling C object drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_mseg.c.o In file included from ../drivers/net/cnxk/cn9k_ethdev.h:7:0, from ../drivers/net/cnxk/cn9k_rx_mseg.c:5: ../drivers/net/cnxk/cnxk_ethdev.h:485:15: warning: ‘struct rte_eth_pfc_queue_conf’ declared inside parameter list will not be visible outside of this definition or declaration struct rte_eth_pfc_queue_conf *pfc_conf); ^~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. https://lab.dpdk.org/results/dashboard/patchsets/20751/ UNH-IOL DPDK Community Lab