|FAILURE| pw155580 [PATCH v2] net/af_xdp: enable AF_XDP program attachment mode

0-day Robot robot at bytheb.org
Tue Jul 29 11:23:35 CEST 2025


From: robot at bytheb.org

Test-Label: github-robot: build
Test-Status: FAILURE
http://patchwork.dpdk.org/patch/155580/

_github build: failed_
Build URL: https://github.com/ovsrobot/dpdk/actions/runs/16591182701
Build Logs:
-----------------------Summary of failed steps-----------------------
"ubuntu-22.04-gcc-stdatomic" failed at step Build and test
"ubuntu-22.04-clang-stdatomic" failed at step Build and test
"ubuntu-22.04-gcc-debug+doc+examples+tests" failed at step Build and test
"ubuntu-22.04-clang-asan+doc+tests" failed at step Build and test
----------------------End summary of failed steps--------------------

-------------------------------BEGIN LOGS----------------------------
####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################
[789/3605] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o
[790/3605] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o
[791/3605] Compiling C object drivers/libtmp_rte_dma_dpaa.a.p/dma_dpaa_dpaa_qdma.c.o
[792/3605] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o
[793/3605] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm.c.o
[794/3605] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[795/3605] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
[796/3605] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[797/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[798/3605] Compiling C object drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o
FAILED: [code=1] drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o 
ccache gcc -Idrivers/libtmp_rte_net_af_xdp.a.p -Idrivers -I../drivers -Idrivers/net/af_xdp -I../drivers/net/af_xdp -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/x86/include -I../lib/eal/x86/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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_NET_AF_XDP_SHARED_UMEM -DETH_AF_XDP_UPDATE_XSKMAP -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_xdp -MD -MQ drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -MF drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o.d -o drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -c ../drivers/net/af_xdp/rte_eth_af_xdp.c
../drivers/net/af_xdp/rte_eth_af_xdp.c: In function ‘remove_xdp_program’:
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:35: error: ‘mode_flag’ undeclared (first use in this function); did you mean ‘mode_flags’?
 1004 |                                   mode_flag);
      |                                   ^~~~~~~~~
      |                                   mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:35: note: each undeclared identifier is reported only once for each function it appears in
[799/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[800/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[801/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_tx.c.o
[802/3605] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[803/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-stdatomic" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################
[797/3605] Compiling C object drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o
FAILED: [code=1] drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o 
ccache clang -Idrivers/libtmp_rte_net_af_xdp.a.p -Idrivers -I../drivers -Idrivers/net/af_xdp -I../drivers/net/af_xdp -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/x86/include -I../lib/eal/x86/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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -Wno-vla -DRTE_NET_AF_XDP_SHARED_UMEM -DETH_AF_XDP_UPDATE_XSKMAP -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_xdp -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -MF drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o.d -o drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -c ../drivers/net/af_xdp/rte_eth_af_xdp.c
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:7: error: use of undeclared identifier 'mode_flag'; did you mean 'mode_flags'?
                                  mode_flag);
                                  ^~~~~~~~~
                                  mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:218:27: note: 'mode_flags' declared here
static const unsigned int mode_flags[] = {
                          ^
../drivers/net/af_xdp/rte_eth_af_xdp.c:1011:7: error: use of undeclared identifier 'mode_flag'; did you mean 'mode_flags'?
                                  mode_flag);
                                  ^~~~~~~~~
                                  mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:218:27: note: 'mode_flags' declared here
static const unsigned int mode_flags[] = {
                          ^
2 errors generated.
[798/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[799/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[800/3605] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev_rx.c.o
[801/3605] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[802/3605] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-stdatomic" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################
[830/7149] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_common.c.o
[831/7149] Compiling C object drivers/libtmp_rte_dma_hisilicon.a.p/dma_hisilicon_hisi_dmadev.c.o
[832/7149] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_pci.c.o
[833/7149] Compiling C object drivers/libtmp_rte_dma_ioat.a.p/dma_ioat_ioat_dmadev.c.o
[834/7149] Compiling C object drivers/libtmp_rte_dma_dpaa.a.p/dma_dpaa_dpaa_qdma.c.o
[835/7149] Compiling C object drivers/libtmp_rte_dma_idxd.a.p/dma_idxd_idxd_bus.c.o
[836/7149] Compiling C object drivers/libtmp_rte_dma_dpaa2.a.p/dma_dpaa2_dpaa2_qdma.c.o
[837/7149] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[838/7149] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm.c.o
[839/7149] Compiling C object drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o
FAILED: [code=1] drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o 
ccache gcc -Idrivers/libtmp_rte_net_af_xdp.a.p -Idrivers -I../drivers -Idrivers/net/af_xdp -I../drivers/net/af_xdp -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/x86/include -I../lib/eal/x86/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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -g -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=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-address-of-packed-member -Wno-vla -DRTE_NET_AF_XDP_SHARED_UMEM -DETH_AF_XDP_UPDATE_XSKMAP -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_xdp -MD -MQ drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -MF drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o.d -o drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -c ../drivers/net/af_xdp/rte_eth_af_xdp.c
../drivers/net/af_xdp/rte_eth_af_xdp.c: In function ‘remove_xdp_program’:
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:35: error: ‘mode_flag’ undeclared (first use in this function); did you mean ‘mode_flags’?
 1004 |                                   mode_flag);
      |                                   ^~~~~~~~~
      |                                   mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:35: note: each undeclared identifier is reported only once for each function it appears in
[840/7149] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ddm.c.o
[841/7149] Compiling C object drivers/libtmp_rte_net_ark.a.p/net_ark_ark_ethdev.c.o
[842/7149] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o
[843/7149] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[844/7149] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-gcc-debug+doc+examples+tests" at step Build and test
####################################################################################




####################################################################################
#### [Begin job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
[837/7149] Compiling C object drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o
FAILED: [code=1] drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o 
ccache clang -Idrivers/libtmp_rte_net_af_xdp.a.p -Idrivers -I../drivers -Idrivers/net/af_xdp -I../drivers/net/af_xdp -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/x86/include -I../lib/eal/x86/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 -Xclang -fcolor-diagnostics -fsanitize=address -fno-omit-frame-pointer -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O2 -g -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=corei7 -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-address-of-packed-member -Wno-vla -DRTE_NET_AF_XDP_SHARED_UMEM -DETH_AF_XDP_UPDATE_XSKMAP -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.af_xdp -DRTE_ANNOTATE_LOCKS -Wthread-safety -MD -MQ drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -MF drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o.d -o drivers/libtmp_rte_net_af_xdp.a.p/net_af_xdp_rte_eth_af_xdp.c.o -c ../drivers/net/af_xdp/rte_eth_af_xdp.c
../drivers/net/af_xdp/rte_eth_af_xdp.c:1004:7: error: use of undeclared identifier 'mode_flag'; did you mean 'mode_flags'?
                                  mode_flag);
                                  ^~~~~~~~~
                                  mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:218:27: note: 'mode_flags' declared here
static const unsigned int mode_flags[] = {
                          ^
../drivers/net/af_xdp/rte_eth_af_xdp.c:1011:7: error: use of undeclared identifier 'mode_flag'; did you mean 'mode_flags'?
                                  mode_flag);
                                  ^~~~~~~~~
                                  mode_flags
../drivers/net/af_xdp/rte_eth_af_xdp.c:218:27: note: 'mode_flags' declared here
static const unsigned int mode_flags[] = {
                          ^
2 errors generated.
[838/7149] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_sym_pmd_gen1.c.o
[839/7149] Compiling C object drivers/libtmp_rte_dma_odm.a.p/dma_odm_odm_dmadev.c.o
[840/7149] Compiling C object drivers/libtmp_rte_dma_skeleton.a.p/dma_skeleton_skeleton_dmadev.c.o
[841/7149] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_dev_qat_crypto_pmd_gen3.c.o
[842/7149] Compiling C object drivers/libtmp_rte_common_qat.a.p/crypto_qat_qat_asym.c.o
ninja: build stopped: subcommand failed.
##[error]Process completed with exit code 1.
####################################################################################
#### [End job log] "ubuntu-22.04-clang-asan+doc+tests" at step Build and test
####################################################################################
--------------------------------END LOGS-----------------------------


More information about the test-report mailing list