From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Jie Liu <liujie5@linkdatatechnology.com>, zhoumin@loongson.cn
Subject: |FAILURE| pw153146-153155 [PATCH 13/13] net/sxe: add virtual function
Date: Fri, 25 Apr 2025 10:15:40 +0800 [thread overview]
Message-ID: <202504250215.53P2FeuO2747623@localhost.localdomain> (raw)
In-Reply-To: <20250425023652.37368-13-liujie5@linkdatatechnology.com>
Test-Label: loongarch-compilation
Test-Status: FAILURE
http://dpdk.org/patch/153155
_ninja build failure_
Submitter: Jie Liu <liujie5@linkdatatechnology.com>
Date: Thu, 24 Apr 2025 19:36:40 -0700
DPDK git baseline: Repo:dpdk
Branch: main
CommitID: ca1690ebd224f148268285b15b97441ccdbdd07e
153146-153155 --> ninja build failed
Test environment and result as below:
+---------------------+----------------+
| Environment | compilation |
+---------------------+----------------+
| Loongnix-Server 8.3 | FAIL |
+---------------------+----------------+
Loongnix-Server 8.3
Kernel: 4.19.190+
Compiler: gcc 8.3
Ninja build logs:
-------------------------------BEGIN LOGS----------------------------
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o
cc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BIT
S=64 -Wall -Winvalid-pch -Wextra -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 -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 -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_queue.c.o -c ../drivers/net/sxe/pf/sxe_queue.c
In file included from ../drivers/net/sxe/pf/sxe_queue.c:26:
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_packets_reassemble’:
./drivers/net/sxe/pf/sxe_vec_common.h:90:9: warning: ISO C90 forbids variable length array ‘pkts’ [-Wvla]
struct rte_mbuf *pkts[bufs_num];
^~~~~~~~
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_rx_vec_mbufs_release’:
./drivers/net/sxe/pf/sxe_vec_common.h:150:37: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->buffer_ring == NULL || rxq->realloc_num >= rxq->ring_depth)
^~
./drivers/net/sxe/pf/sxe_vec_common.h:153:9: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->realloc_num == 0) {
^~
./drivers/net/sxe/pf/sxe_vec_common.h:160:15: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_start’; did you mean ‘deferred_start’?
i != rxq->realloc_start;
^~~~~~~~~~~~~
deferred_start
./drivers/net/sxe/pf/sxe_vec_common.h:167:5: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
rxq->realloc_num = rxq->ring_depth;
^~
[1979/2991] Linking static target drivers/net/txgbe/base/libtxgbe_base.a
[1980/2991] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_user_virtio_user_dev.c.o
[1981/2991] Linking static target drivers/librte_net_ixgbe.a
[1982/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o
cc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BIT
S=64 -Wall -Winvalid-pch -Wextra -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 -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 -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_tx.c.o -c ../drivers/net/sxe/pf/sxe_tx.c
In file included from ../drivers/net/sxe/pf/sxe_tx.c:25:
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_packets_reassemble’:
./drivers/net/sxe/pf/sxe_vec_common.h:90:9: warning: ISO C90 forbids variable length array ‘pkts’ [-Wvla]
struct rte_mbuf *pkts[bufs_num];
^~~~~~~~
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_rx_vec_mbufs_release’:
./drivers/net/sxe/pf/sxe_vec_common.h:150:37: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->buffer_ring == NULL || rxq->realloc_num >= rxq->ring_depth)
^~
./drivers/net/sxe/pf/sxe_vec_common.h:153:9: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->realloc_num == 0) {
^~
./drivers/net/sxe/pf/sxe_vec_common.h:160:15: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_start’; did you mean ‘deferred_start’?
i != rxq->realloc_start;
^~~~~~~~~~~~~
deferred_start
./drivers/net/sxe/pf/sxe_vec_common.h:167:5: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
rxq->realloc_num = rxq->ring_depth;
^~
[1983/2991] Generating rte_net_ring.sym_chk with a custom command (wrapped by meson to capture output)
[1984/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o
FAILED: drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o
cc -Idrivers/libtmp_rte_net_sxe.a.p -Idrivers -I../drivers -Idrivers/net/sxe -I../drivers/net/sxe -I../drivers/net/sxe/base -I../drivers/net/sxe/pf -I../drivers/net/sxe/vf -I../drivers/net/sxe/include/sxe -I../drivers/net/sxe/include -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/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/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BIT
S=64 -Wall -Winvalid-pch -Wextra -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 -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 -DSXE_DPDK -DSXE_HOST_DRIVER -DSXE_DPDK_L4_FEATURES -DSXE_DPDK_SRIOV -DSXE_DPDK_SIMD -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.sxe -MD -MQ drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o -MF drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o.d -o drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_rx.c.o -c ../drivers/net/sxe/pf/sxe_rx.c
In file included from ../drivers/net/sxe/pf/sxe_rx.c:31:
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_packets_reassemble’:
./drivers/net/sxe/pf/sxe_vec_common.h:90:9: warning: ISO C90 forbids variable length array ‘pkts’ [-Wvla]
struct rte_mbuf *pkts[bufs_num];
^~~~~~~~
./drivers/net/sxe/pf/sxe_vec_common.h: In function ‘sxe_rx_vec_mbufs_release’:
./drivers/net/sxe/pf/sxe_vec_common.h:150:37: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->buffer_ring == NULL || rxq->realloc_num >= rxq->ring_depth)
^~
./drivers/net/sxe/pf/sxe_vec_common.h:153:9: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
if (rxq->realloc_num == 0) {
^~
./drivers/net/sxe/pf/sxe_vec_common.h:160:15: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_start’; did you mean ‘deferred_start’?
i != rxq->realloc_start;
^~~~~~~~~~~~~
deferred_start
./drivers/net/sxe/pf/sxe_vec_common.h:167:5: error: ‘sxe_rx_queue_s’ {aka ‘struct sxe_rx_queue’} has no member named ‘realloc_num’
rxq->realloc_num = rxq->ring_depth;
^~
[1985/2991] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_tx.c.o
[1986/2991] Compiling C object drivers/libtmp_rte_net_xsc.a.p/net_xsc_xsc_rx.c.o
[1987/2991] Generating rte_net_softnic.sym_chk with a custom command (wrapped by meson to capture output)
[1988/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_irq.c.o
[1989/2991] Compiling C object drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o
[1990/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_filter.c.o
[1991/2991] Generating rte_net_r8169.sym_chk with a custom command (wrapped by meson to capture output)
[1992/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ptp.c.o
[1993/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_offload.c.o
[1994/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_ethdev.c.o
In file included from ../lib/eal/include/rte_bitops.h:24,
from ../lib/eal/include/rte_interrupts.h:10,
from ../drivers/bus/pci/rte_bus_pci.h:23,
from ../drivers/bus/pci/bus_pci_driver.h:9,
from ../drivers/net/sxe/pf/sxe_ethdev.c:16:
./drivers/net/sxe/pf/sxe_ethdev.c: In function ‘sxe_dev_stop’:
./lib/eal/include/rte_stdatomic.h:142:2: warning: value computed is not used [-Wunused-value]
__atomic_exchange_n(ptr, val, memorder)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./drivers/net/sxe/pf/sxe_ethdev.c:342:2: note: in expansion of macro ‘rte_atomic_exchange_explicit’
rte_atomic_exchange_explicit(&adapter->is_stopping, 1, rte_memory_order_seq_cst);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[1995/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_main.c.o
[1996/2991] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o
[1997/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_pmd_hdc.c.o
[1998/2991] Generating rte_net_nfp.sym_chk with a custom command (wrapped by meson to capture output)
[1999/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_irq.c.o
[2000/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_vf_sxevf_filter.c.o
[2001/2991] Generating rte_net_tap.pmd.c with a custom command
[2002/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_phy.c.o
[2003/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_vf.c.o
[2004/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_stats.c.o
./drivers/net/sxe/pf/sxe_stats.c: In function ‘sxe_xstats_get_by_id’:
./drivers/net/sxe/pf/sxe_stats.c:448:2: warning: ISO C90 forbids variable length array ‘value_all’ [-Wvla]
u64 value_all[size];
^~~
./drivers/net/sxe/pf/sxe_stats.c: In function ‘sxe_xstats_names_get_by_id’:
./drivers/net/sxe/pf/sxe_stats.c:493:9: warning: ISO C90 forbids variable length array ‘xstat_names_all’ [-Wvla]
struct rte_eth_xstat_name xstat_names_all[size];
^~~~~~~~~~~~~~~~~~
[2005/2991] Generating rte_net_ngbe.pmd.c with a custom command
[2006/2991] Compiling C object drivers/libtmp_rte_net_sxe.a.p/net_sxe_pf_sxe_dcb.c.o
[2007/2991] Compiling C object drivers/libtmp_rte_net_qede.a.p/net_qede_qede_debug.c.o
[2008/2991] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o
[2009/2991] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o
[2010/2991] Generating rte_common_cnxk.sym_chk with a custom command (wrapped by meson to capture output)
[2011/2991] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o
ninja: build stopped: subcommand failed.
-------------------------------END LOGS------------------------------
next parent reply other threads:[~2025-04-25 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250425023652.37368-13-liujie5@linkdatatechnology.com>
2025-04-25 2:15 ` qemudev [this message]
2025-04-25 2:52 ` |FAILURE| pw153146-153155 [PATCH] [13/13] " dpdklab
2025-04-25 3:04 ` |FAILURE| pw153155 [PATCH 13/13] " 0-day Robot
2025-04-25 10:01 ` |WARNING| " checkpatch
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=202504250215.53P2FeuO2747623@localhost.localdomain \
--to=qemudev@loongson.cn \
--cc=liujie5@linkdatatechnology.com \
--cc=test-report@dpdk.org \
--cc=zhoumin@loongson.cn \
/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).