* [dpdk-test-report] |FAILURE| pw54260[36/39] examples/l2fwd-event: add eventmode for l2fwd
@ 2019-06-03 18:29 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2019-06-03 18:29 UTC (permalink / raw)
To: test-report
[-- Attachment #1: Type: text/plain, Size: 95855 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/54260
_Compilation issues_
Submitter: Anoob Joseph <anoobj@marvell.com>
Date: 2019-06-03 17:32:36
Reply_mail: 1559583160-13944-37-git-send-email-anoobj@marvell.com
DPDK git baseline: Repo:dpdk-next-eventdev, CommitID: 7a1ccc24874e251957513aba0520500f873e276a
Build Summary: 22 Builds Done, 21 Successful, 1 Failures
Meson Summary: 8 Builds Done, 1 Successful, 7 Failures
Test environment and configuration as below:
**Make Build**
OS: RHEL76-64
Kernel Version: 3.10.0-957.el7.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: CENTOS76-64
Kernel Version: 3.10.0-957.el7.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Clang Version: NA
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-gcc+debug
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-clang
OS: UB1804-64
Kernel Version: 4.15.0-20-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: UB1904-64
Kernel Version: 5.0.0-13-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
Clang Version: 8.0.0-3 (tags/RELEASE_800/final)
x86_64-native-linuxapp-gcc
OS: UB1604-32
Kernel Version: 4.4.0-131-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
i686-native-linuxapp-gcc
OS: UB1604-64
Kernel Version: 4.4.0-47-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
OS: RHEL75-64
Kernel Version: 3.10.0-862.el7.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)
Clang Version: NA
x86_64-native-linuxapp-gcc
OS: FreeBSD12-64
Kernel Version: 12.0-RC3
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 7.3.0
Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+debug
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-gcc+shared
OS: SUSE15-64
Kernel Version: 4.12.14-lp150.11-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: FD30-64
Kernel Version: 5.0.9-301.fc30.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
**Meson Build**
OS: CENTOS76-64
Kernel Version: 3.10.0-957.10.1.el7.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
OS: UB1804-64
Kernel Version: 4.15.0-20-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-doc
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
OS: UB1604-32
Kernel Version: 4.4.0-131-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
OS: WIN10-64
Kernel Version: N/A
CPU info: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: FreeBSD12-64
Kernel Version: 12.0-RC3
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 7.3.0
Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
OS: SUSE15-64
Kernel Version: 4.12.14-lp150.11-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
OS: FD30-64
Kernel Version: 5.0.9-301.fc30.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30)
build-gcc-static
build-gcc-shared
build-clang-static
build-clang-shared
build-x86-default
*Build Failed Build #1:
OS: FD30-64
Target: x86_64-native-linuxapp-gcc
/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/lib/librte_eal/linux/eal/eal_memalloc.c:1478:16: error: taking address of packed member of ‘struct rte_mem_config’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
1478 | primary_msl = &mcfg->memsegs[msl_idx];
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/internal/rte.compile-pre.mk:114: eal_memalloc.o] Error 1
make[7]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/internal/rte.compile-pre.mk:114: eal_memory.o] Error 1
cc1: all warnings being treated as errors
make[7]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/internal/rte.compile-pre.mk:114: eal_vfio.o] Error 1
make[6]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.subdir.mk:37: eal] Error 2
make[5]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.subdir.mk:37: linux] Error 2
make[4]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.subdir.mk:35: librte_eal] Error 2
make[3]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.sdkbuild.mk:48: lib] Error 2
make[2]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.sdkroot.mk:99: all] Error 2
make[1]: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2
make: *** [/tmp/FD30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/643f97bbc7204e228538c24d8ff6d24e/dpdk/mk/rte.sdkroot.mk:77: install] Error 2
*Meson Failed Build #1:
OS: WIN10-64
Target: x86_64-windows-clang
Compiler for C supports arguments -Wcast-qual: YES
Compiler for C supports arguments -Wno-address-of-packed-member: YES
config\x86\meson.build:8:0: ERROR: Program or command 'ld' not found or not executable
A full log can be found at C:\win-dpdk\dpdk\build\meson-logs\meson-log.txt
ninja: Entering directory `build'
*Meson Failed Build #2:
OS: UB1604-32
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o
gcc -Idrivers/a715181@@tmp_rte_common_dpaax@sta -Idrivers -I../drivers -Idrivers/common/dpaax -I../drivers/common/dpaax -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -fPIC -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -MF 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o.d' -o 'drivers/a715181@@tmp_rte_common_dpaax@sta/common_dpaax_dpaax_iova_table.c.o' -c ../drivers/common/dpaax/dpaax_iova_table.c
In file included from ../drivers/common/dpaax/dpaax_iova_table.c:8:0:
../drivers/common/dpaax/dpaax_iova_table.c: In function ‘read_memory_node’:
../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=]
rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \
^
../drivers/common/dpaax/dpaax_iova_table.c:102:2: note: in expansion of macro ‘DPAAX_DEBUG’
DPAAX_DEBUG("Size of device-tree mem node: %lu", statbuf.st_size);
^
../drivers/common/dpaax/dpaax_logs.h:18:39: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘__off64_t {aka long long int}’ [-Werror=format=]
rte_log(RTE_LOG_DEBUG, dpaax_logger, "dpaax: %s(): " fmt "\n", \
^
../drivers/common/dpaax/dpaax_iova_table.c:121:3: note: in expansion of macro ‘DPAAX_DEBUG’
DPAAX_DEBUG("Invalid memory node values or count. (size=%lu)",
^
cc1: all warnings being treated as errors
[302/1476] Linking target buildtools/pmdinfogen/pmdinfogen.
[303/1476] Compiling C object 'lib/76b5a35@@rte_bpf@sta/librte_bpf_bpf_validate.c.o'.
[304/1476] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_fman_fman.c.o'.
[305/1476] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_fman_fman_hw.c.o'.
[306/1476] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed
*Meson Failed Build #3:
OS: FD30-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o
gcc -Idrivers/a715181@@tmp_rte_bus_fslmc@sta -Idrivers -I../drivers -Idrivers/bus/fslmc -I../drivers/bus/fslmc -I../drivers/bus/fslmc/mc -I../drivers/bus/fslmc/qbman/include -I../drivers/bus/fslmc/portal -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Idrivers/common/dpaax -I../drivers/common/dpaax -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -fPIC -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o' -MF 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o.d' -o 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_fslmc_bus.c.o' -c ../drivers/bus/fslmc/fslmc_bus.c
In file included from ../drivers/bus/fslmc/fslmc_bus.c:21:
In function ‘scan_one_fslmc_device’,
inlined from ‘rte_fslmc_scan’ at ../drivers/bus/fslmc/fslmc_bus.c:298:9:
../drivers/bus/fslmc/fslmc_logs.h:13:2: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
13 | rte_log(RTE_LOG_ ## level, dpaa2_logtype_bus, "fslmc: " fmt "\n", \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 | ##args)
| ~~~~~~~
../drivers/bus/fslmc/fslmc_logs.h:26:2: note: in expansion of macro ‘DPAA2_BUS_LOG’
26 | DPAA2_BUS_LOG(ERR, fmt, ## args)
| ^~~~~~~~~~~~~
../drivers/bus/fslmc/fslmc_bus.c:200:3: note: in expansion of macro ‘DPAA2_BUS_ERR’
200 | DPAA2_BUS_ERR("Incorrect device string observed (%s)", t_ptr);
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
[346/1580] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpbp.c.o'.
[347/1580] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpci.c.o'.
[348/1580] Compiling C object 'drivers/a715181@@tmp_rte_bus_fslmc@sta/bus_fslmc_portal_dpaa2_hw_dpio.c.o'.
[349/1580] Compiling C object 'drivers/a715181@@tmp_rte_bus_dpaa@sta/bus_dpaa_base_qbman_qman.c.o'.
[350/1580] Compiling C object 'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'.
ninja: build stopped: subcommand failed
*Meson Failed Build #4:
OS: SUSE15-64
Target:build-gcc-static
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -c ../examples/l2fwd-event/main.c
In file included from ../examples/l2fwd-event/main.c:44:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type ‘struct rte_ether_addr’
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function ‘l2fwd_usage’:
../examples/l2fwd-event/main.c:72:2: error: implicit declaration of function ‘rte_eventmode_helper_print_options_list’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_list();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:86:2: error: implicit declaration of function ‘rte_eventmode_helper_print_options_description’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_description();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: At top level:
../examples/l2fwd-event/main.c:167:10: error: ‘struct rte_eventmode_helper_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_conf **mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function ‘l2fwd_parse_args’:
../examples/l2fwd-event/main.c:231:15: error: implicit declaration of function ‘rte_eventmode_helper_parse_args’ [-Werror=implicit-function-declaration]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:231:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^
../examples/l2fwd-event/main.c: In function ‘main’:
../examples/l2fwd-event/main.c:364:37: error: passing argument 3 of ‘l2fwd_parse_args’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = l2fwd_parse_args(argc, argv, &mode_conf);
^
../examples/l2fwd-event/main.c:166:1: note: expected ‘struct rte_eventmode_helper_conf **’ but argument is of type ‘struct rte_eventmode_helper_conf **’
l2fwd_parse_args(int argc, char **argv,
^~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:558:11: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_conf’
mode_conf->eth_portmask = l2fwd_enabled_port_mask;
^~
../examples/l2fwd-event/main.c:561:2: error: implicit declaration of function ‘rte_eventmode_helper_initialize_devs’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_initialize_devs(mode_conf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/main.c:44:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: ‘l2fwd_ports_eth_addr’ defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1558/1625] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o'.
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -c ../examples/l2fwd-event/l2fwd_worker.c
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type ‘struct rte_ether_addr’
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_mac_updating’:
../examples/l2fwd-event/l2fwd_worker.c:185:12: error: dereferencing pointer to incomplete type ‘struct rte_ether_hdr’
tmp = ð->d_addr.addr_bytes[0];
^~
../examples/l2fwd-event/l2fwd_worker.c:189:2: error: implicit declaration of function ‘rte_ether_addr_copy’; did you mean ‘ether_addr_copy’? [-Werror=implicit-function-declaration]
rte_ether_addr_copy(&l2fwd_ports_eth_addr[dest_portid], ð->s_addr);
^~~~~~~~~~~~~~~~~~~
ether_addr_copy
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_event_pre_forward’:
../examples/l2fwd-event/l2fwd_worker.c:234:2: error: implicit declaration of function ‘rte_event_eth_tx_adapter_txq_set’; did you mean ‘rte_event_eth_tx_adapter_caps_get’? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_txq_set(m, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_non_burst_no_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:361:18: error: implicit declaration of function ‘rte_eventmode_helper_get_event_lcore_links’; did you mean ‘rte_event_dequeue_timeout_ticks’? [-Werror=implicit-function-declaration]
lcore_nb_link = rte_eventmode_helper_get_event_lcore_links(lcore_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_dequeue_timeout_ticks
../examples/l2fwd-event/l2fwd_worker.c:382:13: error: implicit declaration of function ‘rte_eventmode_helper_get_tx_queue’ [-Werror=implicit-function-declaration]
tx_queue = rte_eventmode_helper_get_tx_queue(mode_conf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:393:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:401:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:402:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:428:32: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:429:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:439:20: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:449:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:450:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:476:33: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_enqueue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:477:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_non_burst_tx_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:561:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:562:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:584:3: error: implicit declaration of function ‘rte_event_eth_tx_adapter_enqueue’; did you mean ‘rte_event_eth_tx_adapter_caps_get’? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c:584:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:585:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:595:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:605:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:606:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:628:42: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_eth_tx_adapter_enqueue(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:629:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_burst_no_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
../examples/l2fwd-event/l2fwd_worker.c:712:39: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:713:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:735:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:743:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:744:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:776:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
left -= rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:777:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:789:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:799:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:800:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:835:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:836:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_burst_tx_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
../examples/l2fwd-event/l2fwd_worker.c:911:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:933:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:941:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:942:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:971:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:972:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:984:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:994:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:995:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:1024:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:1025:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1041:10: error: ‘struct rte_eventmode_helper_app_worker_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_app_worker_params *wrkrs)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_populate_wrkr_params’:
../examples/l2fwd-event/l2fwd_worker.c:1050:6: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~
../examples/l2fwd-event/l2fwd_worker.c:1050:20: error: ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’ undeclared (first use in this function); did you mean ‘_RTE_EVENTMODE_HELPER_H_’?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_RTE_EVENTMODE_HELPER_H_
../examples/l2fwd-event/l2fwd_worker.c:1050:20: note: each undeclared identifier is reported only once for each function it appears in
../examples/l2fwd-event/l2fwd_worker.c:1052:4: error: ‘RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’?
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1056:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1061:4: error: ‘RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT’?
RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT
../examples/l2fwd-event/l2fwd_worker.c:1065:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1068:20: error: ‘RTE_EVENTMODE_HELPER_RX_TYPE_BURST’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1074:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1087:31: error: ‘struct rte_eventmode_helper_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_worker’:
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: array type has incomplete element type ‘struct rte_eventmode_helper_app_worker_params’
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1101:2: error: implicit declaration of function ‘rte_eventmode_helper_launch_worker’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_launch_worker(mode_conf, l2fwd_wrkr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: unused variable ‘l2fwd_wrkr’ [-Werror=unused-variable]
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_launch_one_lcore’:
../examples/l2fwd-event/l2fwd_worker.c:1112:15: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_conf’
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~
../examples/l2fwd-event/l2fwd_worker.c:1112:25: error: ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL’ undeclared (first use in this function)
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1116:4: error: ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL’?
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL
../examples/l2fwd-event/l2fwd_worker.c:1118:26: error: passing argument 1 of ‘l2fwd_eventmode_worker’ from incompatible pointer type [-Werror=incompatible-pointer-types]
l2fwd_eventmode_worker(mode_conf);
^~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1087:1: note: expected ‘struct rte_eventmode_helper_conf *’ but argument is of type ‘struct rte_eventmode_helper_conf *’
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: ‘l2fwd_ports_eth_addr’ defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1559/1625] Linking target examples/dpdk-l2fwd.
[1560/1625] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-crypto@exe/l2fwd-crypto_main.c.o'.
[1561/1625] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec-secgw.c.o'.
[1562/1625] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-power@exe/l3fwd-power_main.c.o'.
ninja: build stopped: subcommand failed
*Meson Failed Build #5:
OS: UB1804-64
Target:build-gcc-static
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -c ../examples/l2fwd-event/main.c
In file included from ../examples/l2fwd-event/main.c:44:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type ‘struct rte_ether_addr’
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function ‘l2fwd_usage’:
../examples/l2fwd-event/main.c:72:2: error: implicit declaration of function ‘rte_eventmode_helper_print_options_list’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_list();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:86:2: error: implicit declaration of function ‘rte_eventmode_helper_print_options_description’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_description();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: At top level:
../examples/l2fwd-event/main.c:167:10: error: ‘struct rte_eventmode_helper_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_conf **mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function ‘l2fwd_parse_args’:
../examples/l2fwd-event/main.c:231:15: error: implicit declaration of function ‘rte_eventmode_helper_parse_args’ [-Werror=implicit-function-declaration]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:231:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^
../examples/l2fwd-event/main.c: In function ‘main’:
../examples/l2fwd-event/main.c:364:37: error: passing argument 3 of ‘l2fwd_parse_args’ from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = l2fwd_parse_args(argc, argv, &mode_conf);
^
../examples/l2fwd-event/main.c:166:1: note: expected ‘struct rte_eventmode_helper_conf **’ but argument is of type ‘struct rte_eventmode_helper_conf **’
l2fwd_parse_args(int argc, char **argv,
^~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:558:11: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_conf’
mode_conf->eth_portmask = l2fwd_enabled_port_mask;
^~
../examples/l2fwd-event/main.c:561:2: error: implicit declaration of function ‘rte_eventmode_helper_initialize_devs’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_initialize_devs(mode_conf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/main.c:44:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: ‘l2fwd_ports_eth_addr’ defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1536/1603] Compiling C object 'examples/c590b3c@@dpdk-l3fwd-power@exe/l3fwd-power_perf_core.c.o'.
[1537/1603] Compiling C object 'examples/c590b3c@@dpdk-l2fwd@exe/l2fwd_main.c.o'.
[1538/1603] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-crypto@exe/l2fwd-crypto_main.c.o'.
[1539/1603] Linking target examples/dpdk-kni.
[1540/1603] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o'.
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -c ../examples/l2fwd-event/l2fwd_worker.c
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type ‘struct rte_ether_addr’
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_mac_updating’:
../examples/l2fwd-event/l2fwd_worker.c:185:12: error: dereferencing pointer to incomplete type ‘struct rte_ether_hdr’
tmp = ð->d_addr.addr_bytes[0];
^~
../examples/l2fwd-event/l2fwd_worker.c:189:2: error: implicit declaration of function ‘rte_ether_addr_copy’; did you mean ‘ether_addr_copy’? [-Werror=implicit-function-declaration]
rte_ether_addr_copy(&l2fwd_ports_eth_addr[dest_portid], ð->s_addr);
^~~~~~~~~~~~~~~~~~~
ether_addr_copy
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_event_pre_forward’:
../examples/l2fwd-event/l2fwd_worker.c:234:2: error: implicit declaration of function ‘rte_event_eth_tx_adapter_txq_set’; did you mean ‘rte_event_eth_tx_adapter_caps_get’? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_txq_set(m, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_non_burst_no_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:361:18: error: implicit declaration of function ‘rte_eventmode_helper_get_event_lcore_links’; did you mean ‘rte_event_dequeue_timeout_ticks’? [-Werror=implicit-function-declaration]
lcore_nb_link = rte_eventmode_helper_get_event_lcore_links(lcore_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_dequeue_timeout_ticks
../examples/l2fwd-event/l2fwd_worker.c:382:13: error: implicit declaration of function ‘rte_eventmode_helper_get_tx_queue’ [-Werror=implicit-function-declaration]
tx_queue = rte_eventmode_helper_get_tx_queue(mode_conf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:393:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:401:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:402:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:428:32: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:429:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:439:20: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:449:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:450:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:476:33: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_enqueue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:477:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_non_burst_tx_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:561:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:562:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:584:3: error: implicit declaration of function ‘rte_event_eth_tx_adapter_enqueue’; did you mean ‘rte_event_eth_tx_adapter_caps_get’? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c:584:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:585:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:595:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:605:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:606:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:628:42: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_eth_tx_adapter_enqueue(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:629:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_burst_no_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
../examples/l2fwd-event/l2fwd_worker.c:712:39: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:713:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:735:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:743:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:744:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:776:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
left -= rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:777:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:789:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:799:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:800:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:835:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:836:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_burst_tx_internal_port’:
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_event_link_info’
../examples/l2fwd-event/l2fwd_worker.c:911:9: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:933:8: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:941:40: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:942:10: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:971:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:972:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:984:19: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro ‘RTE_LOG’
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:994:41: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:995:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:1024:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:1025:11: error: invalid use of undefined type ‘struct rte_eventmode_helper_event_link_info’
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1041:10: error: ‘struct rte_eventmode_helper_app_worker_params’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_app_worker_params *wrkrs)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_populate_wrkr_params’:
../examples/l2fwd-event/l2fwd_worker.c:1050:6: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~
../examples/l2fwd-event/l2fwd_worker.c:1050:20: error: ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’ undeclared (first use in this function); did you mean ‘_RTE_EVENTMODE_HELPER_H_’?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_RTE_EVENTMODE_HELPER_H_
../examples/l2fwd-event/l2fwd_worker.c:1050:20: note: each undeclared identifier is reported only once for each function it appears in
../examples/l2fwd-event/l2fwd_worker.c:1052:4: error: ‘RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’?
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1056:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1061:4: error: ‘RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT’?
RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT
../examples/l2fwd-event/l2fwd_worker.c:1065:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1068:20: error: ‘RTE_EVENTMODE_HELPER_RX_TYPE_BURST’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST’?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1074:6: error: increment of pointer to an incomplete type ‘struct rte_eventmode_helper_app_worker_params’
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1087:31: error: ‘struct rte_eventmode_helper_conf’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_eventmode_worker’:
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: array type has incomplete element type ‘struct rte_eventmode_helper_app_worker_params’
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1101:2: error: implicit declaration of function ‘rte_eventmode_helper_launch_worker’ [-Werror=implicit-function-declaration]
rte_eventmode_helper_launch_worker(mode_conf, l2fwd_wrkr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: unused variable ‘l2fwd_wrkr’ [-Werror=unused-variable]
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function ‘l2fwd_launch_one_lcore’:
../examples/l2fwd-event/l2fwd_worker.c:1112:15: error: dereferencing pointer to incomplete type ‘struct rte_eventmode_helper_conf’
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~
../examples/l2fwd-event/l2fwd_worker.c:1112:25: error: ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL’ undeclared (first use in this function)
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1116:4: error: ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT’ undeclared (first use in this function); did you mean ‘RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL’?
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL
../examples/l2fwd-event/l2fwd_worker.c:1118:26: error: passing argument 1 of ‘l2fwd_eventmode_worker’ from incompatible pointer type [-Werror=incompatible-pointer-types]
l2fwd_eventmode_worker(mode_conf);
^~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1087:1: note: expected ‘struct rte_eventmode_helper_conf *’ but argument is of type ‘struct rte_eventmode_helper_conf *’
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: ‘l2fwd_ports_eth_addr’ defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed
*Meson Failed Build #6:
OS: CENTOS76-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o
gcc -Idrivers/a715181@@tmp_rte_pmd_aesni_mb@sta -Idrivers -I../drivers -Idrivers/crypto/aesni_mb -I../drivers/crypto/aesni_mb -Ilib/librte_cryptodev -I../lib/librte_cryptodev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -fPIC -march=native -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_aesni_mb@sta/crypto_aesni_mb_rte_aesni_mb_pmd.c.o' -c ../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c
../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c: In function ‘aesni_mb_set_session_auth_parameters’:
../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:60:19: error: ‘hash_oneblock_fn’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
(*one_block_hash)(opad_buf, opad);
^
../drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c:107:19: note: ‘hash_oneblock_fn’ was declared here
hash_one_block_t hash_oneblock_fn;
^
cc1: all warnings being treated as errors
[1052/1633] Linking static target drivers/librte_pmd_aesni_gcm.a.
[1053/1633] Compiling C object 'drivers/a715181@@rte_pmd_aesni_gcm@sha/meson-generated_.._rte_pmd_aesni_gcm.pmd.c.o'.
[1054/1633] Compiling C object 'drivers/a715181@@tmp_rte_pmd_caam_jr@sta/crypto_caam_jr_caam_jr_hw.c.o'.
[1055/1633] Compiling C object 'drivers/a715181@@tmp_rte_pmd_vmxnet3@sta/net_vmxnet3_vmxnet3_rxtx.c.o'.
[1056/1633] Compiling C object 'drivers/a715181@@tmp_rte_pmd_virtio@sta/net_virtio_virtio_rxtx.c.o'.
ninja: build stopped: subcommand failed
*Meson Failed Build #7:
OS: FreeBSD12-64
Target:build-gcc-static
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_l2fwd_worker.c.o' -c ../examples/l2fwd-event/l2fwd_worker.c
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type 'struct rte_ether_addr'
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_mac_updating':
../examples/l2fwd-event/l2fwd_worker.c:185:12: error: dereferencing pointer to incomplete type 'struct rte_ether_hdr'
tmp = ð->d_addr.addr_bytes[0];
^~
../examples/l2fwd-event/l2fwd_worker.c:189:2: error: implicit declaration of function 'rte_ether_addr_copy'; did you mean 'ether_addr_copy'? [-Werror=implicit-function-declaration]
rte_ether_addr_copy(&l2fwd_ports_eth_addr[dest_portid], ð->s_addr);
^~~~~~~~~~~~~~~~~~~
ether_addr_copy
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_event_pre_forward':
../examples/l2fwd-event/l2fwd_worker.c:234:2: error: implicit declaration of function 'rte_event_eth_tx_adapter_txq_set'; did you mean 'rte_event_eth_tx_adapter_caps_get'? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_txq_set(m, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_non_burst_no_internal_port':
../examples/l2fwd-event/l2fwd_worker.c:361:18: error: implicit declaration of function 'rte_eventmode_helper_get_event_lcore_links'; did you mean 'rte_event_dequeue_timeout_ticks'? [-Werror=implicit-function-declaration]
lcore_nb_link = rte_eventmode_helper_get_event_lcore_links(lcore_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_dequeue_timeout_ticks
../examples/l2fwd-event/l2fwd_worker.c:382:13: error: implicit declaration of function 'rte_eventmode_helper_get_tx_queue' [-Werror=implicit-function-declaration]
tx_queue = rte_eventmode_helper_get_tx_queue(mode_conf,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:383:17: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_event_link_info'
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:393:9: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:401:40: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:402:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:428:32: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:429:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:439:20: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:449:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:450:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:476:33: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_enqueue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:477:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_non_burst_tx_internal_port':
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:553:8: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:561:40: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:562:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:584:3: error: implicit declaration of function 'rte_event_eth_tx_adapter_enqueue'; did you mean 'rte_event_eth_tx_adapter_caps_get'? [-Werror=implicit-function-declaration]
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rte_event_eth_tx_adapter_caps_get
../examples/l2fwd-event/l2fwd_worker.c:584:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_eth_tx_adapter_enqueue(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:585:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:595:19: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:605:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:606:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:628:42: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_eth_tx_adapter_enqueue(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:629:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_burst_no_internal_port':
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].eventdev_id);
^
../examples/l2fwd-event/l2fwd_worker.c:707:17: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_event_link_info'
../examples/l2fwd-event/l2fwd_worker.c:712:39: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:713:9: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:735:8: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:743:40: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:744:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:776:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
left -= rte_event_enqueue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:777:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:789:19: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:799:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:800:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:835:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:836:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_burst_tx_internal_port':
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
rte_event_port_default_conf_get(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:910:39: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_event_link_info'
../examples/l2fwd-event/l2fwd_worker.c:911:9: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:933:8: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:941:40: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:942:10: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:971:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:972:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[0].event_portid,
^
In file included from ../examples/l2fwd-event/l2fwd_worker.c:19:0:
../examples/l2fwd-event/l2fwd_worker.c:984:19: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
lcore_id, links[i].event_portid);
^
../lib/librte_eal/common/include/rte_log.h:325:32: note: in definition of macro 'RTE_LOG'
RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
^~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:994:41: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
nb_rx = rte_event_dequeue_burst(links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:995:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c:1024:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].eventdev_id,
^
../examples/l2fwd-event/l2fwd_worker.c:1025:11: error: invalid use of undefined type 'struct rte_eventmode_helper_event_link_info'
links[i].event_portid,
^
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1041:10: error: 'struct rte_eventmode_helper_app_worker_params' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_app_worker_params *wrkrs)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_populate_wrkr_params':
../examples/l2fwd-event/l2fwd_worker.c:1050:6: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_app_worker_params'
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~
../examples/l2fwd-event/l2fwd_worker.c:1050:20: error: 'RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST' undeclared (first use in this function); did you mean '_RTE_EVENTMODE_HELPER_H_'?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_RTE_EVENTMODE_HELPER_H_
../examples/l2fwd-event/l2fwd_worker.c:1050:20: note: each undeclared identifier is reported only once for each function it appears in
../examples/l2fwd-event/l2fwd_worker.c:1052:4: error: 'RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT' undeclared (first use in this function); did you mean 'RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST'?
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1056:6: error: increment of pointer to an incomplete type 'struct rte_eventmode_helper_app_worker_params'
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1061:4: error: 'RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT' undeclared (first use in this function); did you mean 'RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT'?
RTE_EVENTMODE_HELPER_TX_TYPE_INTERNAL_PORT;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_TX_TYPE_NO_INTERNAL_PORT
../examples/l2fwd-event/l2fwd_worker.c:1065:6: error: increment of pointer to an incomplete type 'struct rte_eventmode_helper_app_worker_params'
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c:1068:20: error: 'RTE_EVENTMODE_HELPER_RX_TYPE_BURST' undeclared (first use in this function); did you mean 'RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST'?
wrkr->cap.burst = RTE_EVENTMODE_HELPER_RX_TYPE_BURST;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_RX_TYPE_NON_BURST
../examples/l2fwd-event/l2fwd_worker.c:1074:6: error: increment of pointer to an incomplete type 'struct rte_eventmode_helper_app_worker_params'
wrkr++;
^~
../examples/l2fwd-event/l2fwd_worker.c: At top level:
../examples/l2fwd-event/l2fwd_worker.c:1087:31: error: 'struct rte_eventmode_helper_conf' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_eventmode_worker':
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: array type has incomplete element type 'struct rte_eventmode_helper_app_worker_params'
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1101:2: error: implicit declaration of function 'rte_eventmode_helper_launch_worker' [-Werror=implicit-function-declaration]
rte_eventmode_helper_launch_worker(mode_conf, l2fwd_wrkr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1090:4: error: unused variable 'l2fwd_wrkr' [-Werror=unused-variable]
l2fwd_wrkr[L2FWD_EVENTMODE_WORKERS] = {
^~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c: In function 'l2fwd_launch_one_lcore':
../examples/l2fwd-event/l2fwd_worker.c:1112:15: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_conf'
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~
../examples/l2fwd-event/l2fwd_worker.c:1112:25: error: 'RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL' undeclared (first use in this function)
if (mode_conf->mode == RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1116:4: error: 'RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT' undeclared (first use in this function); did you mean 'RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL'?
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_EVENT) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_EVENTMODE_HELPER_PKT_TRANSFER_MODE_POLL
../examples/l2fwd-event/l2fwd_worker.c:1118:26: error: passing argument 1 of 'l2fwd_eventmode_worker' from incompatible pointer type [-Werror=incompatible-pointer-types]
l2fwd_eventmode_worker(mode_conf);
^~~~~~~~~
../examples/l2fwd-event/l2fwd_worker.c:1087:1: note: expected 'struct rte_eventmode_helper_conf *' but argument is of type 'struct rte_eventmode_helper_conf *'
l2fwd_eventmode_worker(struct rte_eventmode_helper_conf *mode_conf)
^~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/l2fwd_worker.c:33:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: 'l2fwd_ports_eth_addr' defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1143/1199] Compiling C object 'examples/c590b3c@@dpdk-ipv4_multicast@exe/ipv4_multicast_main.c.o'.
[1144/1199] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o'.
FAILED: examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o
gcc -Iexamples/c590b3c@@dpdk-l2fwd-event@exe -Iexamples -I../examples -Iexamples/l2fwd-event -I../examples/l2fwd-event -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_eventdev -I../lib/librte_eventdev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev -I../lib/librte_cryptodev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wsign-compare -Wcast-qual -march=native -Wno-format-truncation -D_GNU_SOURCE -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -MF 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o.d' -o 'examples/c590b3c@@dpdk-l2fwd-event@exe/l2fwd-event_main.c.o' -c ../examples/l2fwd-event/main.c
In file included from ../examples/l2fwd-event/main.c:44:0:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: array type has incomplete element type 'struct rte_ether_addr'
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function 'l2fwd_usage':
../examples/l2fwd-event/main.c:72:2: error: implicit declaration of function 'rte_eventmode_helper_print_options_list' [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_list();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:86:2: error: implicit declaration of function 'rte_eventmode_helper_print_options_description' [-Werror=implicit-function-declaration]
rte_eventmode_helper_print_options_description();
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: At top level:
../examples/l2fwd-event/main.c:167:10: error: 'struct rte_eventmode_helper_conf' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
struct rte_eventmode_helper_conf **mode_conf)
^~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c: In function 'l2fwd_parse_args':
../examples/l2fwd-event/main.c:231:15: error: implicit declaration of function 'rte_eventmode_helper_parse_args' [-Werror=implicit-function-declaration]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:231:13: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
*mode_conf = rte_eventmode_helper_parse_args(argc, argv);
^
../examples/l2fwd-event/main.c: In function 'main':
../examples/l2fwd-event/main.c:364:37: error: passing argument 3 of 'l2fwd_parse_args' from incompatible pointer type [-Werror=incompatible-pointer-types]
ret = l2fwd_parse_args(argc, argv, &mode_conf);
^
../examples/l2fwd-event/main.c:166:1: note: expected 'struct rte_eventmode_helper_conf **' but argument is of type 'struct rte_eventmode_helper_conf **'
l2fwd_parse_args(int argc, char **argv,
^~~~~~~~~~~~~~~~
../examples/l2fwd-event/main.c:558:11: error: dereferencing pointer to incomplete type 'struct rte_eventmode_helper_conf'
mode_conf->eth_portmask = l2fwd_enabled_port_mask;
^~
../examples/l2fwd-event/main.c:561:2: error: implicit declaration of function 'rte_eventmode_helper_initialize_devs' [-Werror=implicit-function-declaration]
rte_eventmode_helper_initialize_devs(mode_conf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/l2fwd-event/main.c:44:0:
At top level:
../examples/l2fwd-event/l2fwd_common.h:46:30: error: 'l2fwd_ports_eth_addr' defined but not used [-Werror=unused-variable]
static struct rte_ether_addr l2fwd_ports_eth_addr[RTE_MAX_ETHPORTS];
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1145/1199] Compiling C object 'examples/c590b3c@@dpdk-ipsec-secgw@exe/ipsec-secgw_ipsec-secgw.c.o'.
[1146/1199] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-jobstats@exe/l2fwd-jobstats_main.c.o'.
[1147/1199] Compiling C object 'examples/c590b3c@@dpdk-l2fwd-crypto@exe/l2fwd-crypto_main.c.o'.
ninja: build stopped: subcommand failed
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-03 18:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 18:29 [dpdk-test-report] |FAILURE| pw54260[36/39] examples/l2fwd-event: add eventmode for l2fwd sys_stv
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).