|FAILURE| pw167266-167279 [PATCH 14/14] net/enetc4: add WRR Tx scheduler devarg for VF rings
qemudev at loongson.cn
qemudev at loongson.cn
Thu Aug 6 13:37:16 CEST 2026
Test-Label: loongson-compile-loongarch-abi2
Test-Status: FAILURE
http://dpdk.org/patch/167279
_ninja build failure_
Submitter: Gagandeep Singh <g.singh at nxp.com>
Date: Thu, 6 Aug 2026 16:58:23 +0530
DPDK git baseline: Repo:dpdk-next-net
Branch: next-net-for-main
CommitID: 203ad204c8e3108449ffef9871bc1d90fb935195
167266-167279 --> ninja build failed
Test environment and result as below:
+---------------------+----------------+
| Environment | compilation |
+---------------------+----------------+
| Loongnix-Server 23.2 | FAIL |
+---------------------+----------------+
Loongnix-Server 23.2
Kernel: 6.6.52-1.10.lns23.loongarch64
Compiler: gcc 12.3
Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_rxtx.c.o
cc -Idrivers/libtmp_rte_net_enetc.a.p -Idrivers -I../drivers -Idrivers/net/enetc -I../drivers/net/enetc -I../drivers/net/enetc/base -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/loongarch/include -I../lib/eal/loongarch/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wext!
ra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_COMPONENT_CLASS=pmd_net -DRTE_COMPONENT_NAME=enetc -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.enetc -MD -MQ drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_rxtx.c.o -MF drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_rxtx.c.o.d -o drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_rxtx.c.o -c ../drivers/net/enetc/enetc_rxtx.c
./drivers/net/enetc/enetc_rxtx.c: In function ‘enetc_clean_rx_ring_nc’:
./drivers/net/enetc/enetc_rxtx.c:853:25: error: ‘prev_seg’ undeclared (first use in this function)
853 | prev_seg = NULL;
| ^~~~~~~~
./drivers/net/enetc/enetc_rxtx.c:853:25: note: each undeclared identifier is reported only once for each function it appears in
./drivers/net/enetc/enetc_rxtx.c: In function ‘enetc_clean_rx_ring_cacheable’:
./drivers/net/enetc/enetc_rxtx.c:1336:25: error: ‘prev_seg’ undeclared (first use in this function)
1336 | prev_seg = NULL;
| ^~~~~~~~
[1342/3223] Compiling C object drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_ethdev.c.o
FAILED: drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_ethdev.c.o
cc -Idrivers/libtmp_rte_net_enetc.a.p -Idrivers -I../drivers -Idrivers/net/enetc -I../drivers/net/enetc -I../drivers/net/enetc/base -Ilib/ethdev -I../lib/ethdev -Ilib/eal/common -I../lib/eal/common -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/loongarch/include -I../lib/eal/loongarch/include -I../kernel/linux -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/argparse -I../lib/argparse -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/dpaax -I../drivers/common/dpaax -I../drivers/common/dpaax/caamflib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wext!
ra -std=c11 -O3 -include rte_config.h -Wvla -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=loongarch64 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -DRTE_COMPONENT_CLASS=pmd_net -DRTE_COMPONENT_NAME=enetc -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.enetc -MD -MQ drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_ethdev.c.o -MF drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_ethdev.c.o.d -o drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_ethdev.c.o -c ../drivers/net/enetc/enetc4_ethdev.c
./drivers/net/enetc/enetc4_ethdev.c:153:9: error: expected identifier or ‘(’ before ‘}’ token
153 | }
| ^
./drivers/net/enetc/enetc4_ethdev.c:154:9: error: expected identifier or ‘(’ before ‘if’
154 | if (!strcmp(key, ENETC4_NC_MEMORY)) {
| ^~
./drivers/net/enetc/enetc4_ethdev.c:162:9: warning: data definition has no type or storage class
162 | rte_kvargs_free(kvlist);
| ^~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:162:9: warning: type defaults to ‘int’ in declaration of ‘rte_kvargs_free’ [-Wimplicit-int]
./drivers/net/enetc/enetc4_ethdev.c:162:9: warning: parameter names (without types) in function declaration
./drivers/net/enetc/enetc4_ethdev.c:162:9: error: conflicting types for ‘rte_kvargs_free’; have ‘int()’
In file included from ../drivers/net/enetc/enetc4_ethdev.c:6:
./lib/kvargs/rte_kvargs.h:124:6: note: previous declaration of ‘rte_kvargs_free’ with type ‘void(struct rte_kvargs *)’
124 | void rte_kvargs_free(struct rte_kvargs *kvlist);
| ^~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:163:9: error: expected identifier or ‘(’ before ‘return’
163 | return 0;
| ^~~~~~
./drivers/net/enetc/enetc4_ethdev.c:164:1: error: expected identifier or ‘(’ before ‘}’ token
164 | }
| ^
./drivers/net/enetc/enetc4_ethdev.c:167:17: error: redefinition of ‘dev_rx_offloads_sup’
167 | static uint64_t dev_rx_offloads_sup =
| ^~~~~~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:15:17: note: previous definition of ‘dev_rx_offloads_sup’ with type ‘uint64_t’ {aka ‘long unsigned int’}
15 | static uint64_t dev_rx_offloads_sup =
| ^~~~~~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:174:17: error: redefinition of ‘dev_tx_offloads_sup’
174 | static uint64_t dev_tx_offloads_sup =
| ^~~~~~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:23:17: note: previous definition of ‘dev_tx_offloads_sup’ with type ‘uint64_t’ {aka ‘long unsigned int’}
23 | static uint64_t dev_tx_offloads_sup =
| ^~~~~~~~~~~~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c: In function ‘enetc4_rx_queue_setup’:
./drivers/net/enetc/enetc4_ethdev.c:672:18: error: redeclaration of ‘rx_enable’ with no linkage
672 | uint32_t rx_enable;
| ^~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c:666:18: note: previous declaration of ‘rx_enable’ with type ‘uint32_t’ {aka ‘unsigned int’}
666 | uint32_t rx_enable;
| ^~~~~~~~~
./drivers/net/enetc/enetc4_ethdev.c: At top level:
./drivers/net/enetc/enetc4_ethdev.c:106:1: warning: ‘parse_nc’ defined but not used [-Wunused-function]
106 | parse_nc(const char *key __rte_unused, const char *value, void *extra_args)
| ^~~~~~~~
[1343/3223] Compiling C object drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_cbdr.c.o
[1344/3223] Compiling C object drivers/libtmp_rte_net_enetfec.a.p/net_enetfec_enet_uio.c.o
[1345/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_cq.c.o
[1346/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_intr.c.o
[1347/3223] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_cxgbe_main.c.o
[1348/3223] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_elink.c.o
[1349/3223] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_ena_rss.c.o
[1350/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_rq.c.o
[1351/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_wq.c.o
[1352/3223] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_base_ena_eth_com.c.o
[1353/3223] Compiling C object drivers/libtmp_rte_net_bnx2x.a.p/net_bnx2x_bnx2x.c.o
[1354/3223] Compiling C object drivers/libtmp_rte_net_enetfec.a.p/net_enetfec_enet_rxtx.c.o
[1355/3223] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_ethdev.c.o
[1356/3223] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_sge.c.o
[1357/3223] Compiling C object drivers/libtmp_rte_net_enetfec.a.p/net_enetfec_enet_ethdev.c.o
[1358/3223] Compiling C object drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc_ethdev.c.o
[1359/3223] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_mc_dpni.c.o
[1360/3223] Compiling C object drivers/libtmp_rte_net_bnxt.a.p/net_bnxt_bnxt_hwrm.c.o
[1361/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_base_vnic_dev.c.o
[1362/3223] Compiling C object drivers/libtmp_rte_net_bond.a.p/net_bonding_rte_eth_bond_pmd.c.o
[1363/3223] Compiling C object drivers/libtmp_rte_net_enetc.a.p/net_enetc_enetc4_vf.c.o
./drivers/net/enetc/enetc4_vf.c: In function ‘enetc4_vf_get_ip_minor_revision’:
./drivers/net/enetc/enetc4_vf.c:1041:35: warning: passing argument 1 of ‘enetc4_msg_vsi_send’ from incompatible pointer type [-Wincompatible-pointer-types]
1041 | err = enetc4_msg_vsi_send(enetc_hw, msg);
| ^~~~~~~~
| |
| struct enetc_hw ABI_VERSION AGENTS.md app build buildtools config devtools doc drivers dts examples kernel last_gpr.txt lib license MAINTAINERS Makefile meson.build meson_options.txt README test-report.txt usertools VERSION
./drivers/net/enetc/enetc4_vf.c:566:42: note: expected ‘struct enetc_eth_hw *’ but argument is of type ‘struct enetc_hw *’
566 | enetc4_msg_vsi_send(struct enetc_eth_hw *hw, struct enetc_msg_swbd *msg)
| ~~~~~~~~~~~~~~~~~~~~~^~
./drivers/net/enetc/enetc4_vf.c: In function ‘enetc4_vf_fw_version_get’:
./drivers/net/enetc/enetc4_vf.c:1087:42: warning: implicit declaration of function ‘RTE_ETH_DEV_TO_PCI’; did you mean ‘RTE_ETH_DEV_INTR_LSC’? [-Wimplicit-function-declaration]
1087 | struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(dev);
| ^~~~~~~~~~~~~~~~~~
| RTE_ETH_DEV_INTR_LSC
./drivers/net/enetc/enetc4_vf.c:1087:42: warning: nested extern declaration of ‘RTE_ETH_DEV_TO_PCI’ [-Wnested-externs]
./drivers/net/enetc/enetc4_vf.c:1087:42: warning: initialization of ‘struct rte_pci_device *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
./drivers/net/enetc/enetc4_vf.c: In function ‘enetc4_vf_vlan_pvid_set’:
./drivers/net/enetc/enetc4_vf.c:1599:35: warning: passing argument 1 of ‘enetc4_msg_vsi_send’ from incompatible pointer type [-Wincompatible-pointer-types]
1599 | err = enetc4_msg_vsi_send(enetc_hw, msg);
| ^~~~~~~~
| |
| struct enetc_hw ABI_VERSION AGENTS.md app build buildtools config devtools doc drivers dts examples kernel last_gpr.txt lib license MAINTAINERS Makefile meson.build meson_options.txt README test-report.txt usertools VERSION
./drivers/net/enetc/enetc4_vf.c:566:42: note: expected ‘struct enetc_eth_hw *’ but argument is of type ‘struct enetc_hw *’
566 | enetc4_msg_vsi_send(struct enetc_eth_hw *hw, struct enetc_msg_swbd *msg)
| ~~~~~~~~~~~~~~~~~~~~~^~
[1364/3223] Compiling C object drivers/libtmp_rte_net_enic.a.p/net_enic_enic_ethdev.c.o
[1365/3223] Generating drivers/rte_net_cnxk.pmd.c with a custom command
[1366/3223] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_ethdev.c.o
[1367/3223] Compiling C object drivers/libtmp_rte_net_cxgbe.a.p/net_cxgbe_base_t4_hw.c.o
[1368/3223] Compiling C object lib/librte_vhost.a.p/vhost_virtio_net.c.o
[1369/3223] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_base_ena_com.c.o
[1370/3223] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_flow.c.o
[1371/3223] Compiling C object drivers/libtmp_rte_net_dpaa.a.p/net_dpaa_dpaa_rxtx.c.o
[1372/3223] Compiling C object drivers/libtmp_rte_net_ena.a.p/net_ena_ena_ethdev.c.o
[1373/3223] Compiling C object drivers/libtmp_rte_net_dpaa2.a.p/net_dpaa2_dpaa2_rxtx.c.o
[1374/3223] Generating drivers/rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------
More information about the test-report
mailing list