From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw(85948) [v6, 2/2] examples/vhost: refactor vhost data path
Date: 04 Jan 2021 00:39:16 -0800 [thread overview]
Message-ID: <93cfb9$gutnir@fmsmga005-auth.fm.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 70422 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/85948
_Compilation issues_
Submitter: Cheng Jiang <Cheng1.jiang@intel.com>
Date: 2021-01-04 04:57:53
Reply_mail: 20210104045753.62487-3-Cheng1.jiang@intel.com
DPDK git baseline: Repo:dpdk-next-virtio, CommitID: af356f5ca2f7a92d65f99472d431d9759f85cbba
Meson Build Summary: 22 Builds Done, 7 Successful, 15 Failures, 0 Blocked
+------------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64 | FAIL | FAIL | FAIL | | | pass |
| RHEL83-64 | FAIL | | | | | |
| FC33-64 | FAIL | FAIL | | | | |
| CentOsStream8-64 | FAIL | | | | | |
| UB2010-64 | FAIL | | | | | |
| WIN10-64 | | pass | | | | |
| UB2004-32 | FAIL | | | | | |
| CENTOS83-64 | FAIL | FAIL | FAIL | pass | FAIL | |
| FreeBSD1201-64 | pass | pass | | pass | pass | |
| SUSE15-64 | FAIL | FAIL | | | | |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: UB2004-64
Kernel Version: 5.6.0-050600-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: RHEL83-64
Kernel Version: 4.18.0-240.el8.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
x86_64-native-linuxapp-gcc
OS: FC33-64
Kernel Version: 5.8.16-300.fc33.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: CentOsStream8-64
Kernel Version: 4.18.0-257.el8.x86_64
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
x86_64-native-linuxapp-gcc
OS: UB2010-64
Kernel Version: 5.8.0-25-generic
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
Clang Version: 11.0.0-2
x86_64-native-linuxapp-gcc
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: UB2004-32
Kernel Version: 5.6.0-050600-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: CENTOS83-64
Kernel Version: 4.18.0-193.14.2.el8_2.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 5.3.18-lp152.57-default
CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 9.0.1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2696/2783] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2697/2783] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2698/2783] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2699/2783] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2700/2783] Compiling C object examples/dpdk-vhost.p/vhost_ioat.c.o
[2701/2783] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2702/2783] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2703/2783] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2704/2783] Generating rte_kni with a custom command
make: Entering directory '/usr/src/kernels/4.18.0-193.14.2.el8_2.x86_64'
CC [M] /root/CENTOS83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
CC [M] /root/CENTOS83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
LD [M] /root/CENTOS83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/CENTOS83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/CENTOS83-64_K4.18.0_GCC8.3.1/x86_64-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/kernels/4.18.0-193.14.2.el8_2.x86_64'
ninja: build stopped
*Build Failed #2:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
clang -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c:878:18: error: too many arguments to function call, expected 4, have 6
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
../examples/vhost/main.c:1207:6: error: too many arguments to function call, expected 4, have 6
m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
2 errors generated.
[2702/2786] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2703/2786] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2704/2786] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2705/2786] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2706/2786] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2707/2786] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2708/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2709/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2710/2786] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #3:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
icc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c(836): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_sub(&vdev->nr_async_pkts, complete_count);
^
../examples/vhost/main.c(854): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&dst_vdev->stats.rx_total_atomic, 1);
^
../examples/vhost/main.c(855): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&dst_vdev->stats.rx_atomic, ret);
^
../examples/vhost/main.c(878): error #140: too many arguments in function call
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^
../examples/vhost/main.c(879): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->nr_async_pkts, ret - cpu_cpl_nr);
^
../examples/vhost/main.c(893): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_total_atomic, nr_xmit);
^
../examples/vhost/main.c(894): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_atomic, ret);
^
../examples/vhost/main.c(1207): error #140: too many arguments in function call
m_cpu_cpl, &cpu_cpl_nr);
^
../examples/vhost/main.c(1208): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->nr_async_pkts,
^
../examples/vhost/main.c(1223): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_total_atomic, rx_count);
^
../examples/vhost/main.c(1224): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_atomic, enqueue_count);
^
../examples/vhost/main.c(1504): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "const volatile void *" (dropping qualifiers)
rx_total = atomic_load(&vdev->stats.rx_total_atomic);
^
../examples/vhost/main.c(1505): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "const volatile void *" (dropping qualifiers)
rx = atomic_load(&vdev->stats.rx_atomic);
^
compilation aborted for ../examples/vhost/main.c (code 2)
[2704/2786] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2705/2786] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2706/2786] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2707/2786] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2708/2786] Generating rte_kni with a custom command
make: Entering directory '/usr/src/kernels/4.18.0-193.14.2.el8_2.x86_64'
CC [M] /root/CENTOS83-64_K4.18.0_ICC19.1.1/x86_64-native-linuxapp-icc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-icc/kernel/linux/kni/kni_net.o
CC [M] /root/CENTOS83-64_K4.18.0_ICC19.1.1/x86_64-native-linuxapp-icc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-icc/kernel/linux/kni/kni_misc.o
LD [M] /root/CENTOS83-64_K4.18.0_ICC19.1.1/x86_64-native-linuxapp-icc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-icc/kernel/linux/kni/rte_kni.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/CENTOS83-64_K4.18.0_ICC19.1.1/x86_64-native-linuxapp-icc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-icc/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/CENTOS83-64_K4.18.0_ICC19.1.1/x86_64-native-linuxapp-icc/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-icc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/kernels/4.18.0-193.14.2.el8_2.x86_64'
[2709/2786] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2710/2786] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2711/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2712/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #4:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2760/2783] Linking target examples/dpdk-qos_sched
[2761/2783] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2762/2783] Compiling C object examples/dpdk-timer.p/timer_main.c.o
[2763/2783] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2764/2783] Linking target examples/dpdk-rxtx_callbacks
ninja: build stopped
*Build Failed #5:
OS: FC33-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
877 | ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
1205 | enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2708/2795] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2709/2795] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[2710/2795] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2711/2795] Compiling C object examples/dpdk-vhost.p/vhost_ioat.c.o
[2712/2795] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2713/2795] Compiling C object examples/dpdk-vdpa.p/vdpa_main.c.o
[2714/2795] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2715/2795] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2716/2795] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2717/2795] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2718/2795] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #6:
OS: FC33-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
clang -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c:878:18: error: too many arguments to function call, expected 4, have 6
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:166:10: note: 'rte_vhost_submit_enqueue_burst' declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^
../examples/vhost/main.c:1207:6: error: too many arguments to function call, expected 4, have 6
m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:166:10: note: 'rte_vhost_submit_enqueue_burst' declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^
2 errors generated.
[2715/2795] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2716/2795] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2717/2795] Generating rte_kni with a custom command
make: Entering directory '/usr/src/kernels/5.8.16-300.fc33.x86_64'
CC [M] /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_misc.o
CC [M] /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/kni_net.o
LD [M] /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.o
MODPOST /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/Module.symvers
CC [M] /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/FC33-64_K5.8.16_Clang11.0.0/x86_64-native-linuxapp-clang/d99503dcd42340939328416cc7b637e2/dpdk/x86_64-native-linuxapp-clang/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/kernels/5.8.16-300.fc33.x86_64'
[2718/2795] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2719/2795] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2720/2795] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2721/2795] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #7:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o
gcc -Iexamples/c590b3c@@dpdk-vhost@exe -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o' -MF 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o.d' -o 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o' -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2656/2740] Compiling C object 'examples/c590b3c@@dpdk-vmdq@exe/vmdq_main.c.o'.
[2657/2740] Compiling C object 'examples/c590b3c@@dpdk-vmdq_dcb@exe/vmdq_dcb_main.c.o'.
[2658/2740] Compiling C object 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_blk.c.o'.
[2659/2740] Compiling C object 'examples/c590b3c@@dpdk-efd_node@exe/server_node_efd_node_node.c.o'.
[2660/2740] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_ioat.c.o'.
[2661/2740] Compiling C object 'examples/c590b3c@@dpdk-vhost_crypto@exe/vhost_crypto_main.c.o'.
[2662/2740] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o'.
[2663/2740] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'.
[2664/2740] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'.
ninja: build stopped
*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
clang -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c:878:18: error: too many arguments to function call, expected 4, have 6
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
../examples/vhost/main.c:1207:6: error: too many arguments to function call, expected 4, have 6
m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
2 errors generated.
[2605/2689] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2606/2689] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2607/2689] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2608/2689] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2609/2689] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2610/2689] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2611/2689] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2612/2689] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2613/2689] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10:0,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10:0,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2667/2687] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2668/2687] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2669/2687] Linking target examples/dpdk-skeleton
[2670/2687] Linking target examples/dpdk-service_cores
[2671/2687] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2672/2687] Linking target examples/dpdk-efd_server
[2673/2687] Linking target examples/dpdk-vdpa
ninja: build stopped
*Build Failed #10:
OS: CentOsStream8-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2694/2786] Compiling C object examples/dpdk-qos_sched.p/qos_sched_stats.c.o
[2695/2786] Compiling C object examples/dpdk-qos_sched.p/qos_sched_args.c.o
[2696/2786] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_init.c.o
[2697/2786] Compiling C object examples/dpdk-rxtx_callbacks.p/rxtx_callbacks_main.c.o
[2698/2786] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2699/2786] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2700/2786] Compiling C object examples/dpdk-vhost.p/vhost_ioat.c.o
[2701/2786] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2702/2786] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2703/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2704/2786] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
ninja: build stopped
*Build Failed #11:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
877 | ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
1205 | enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2275/2296] Linking target examples/dpdk-qos_sched
[2276/2296] Compiling C object examples/dpdk-vhost.p/vhost_ioat.c.o
[2277/2296] Linking target examples/dpdk-efd_server
[2278/2296] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2279/2296] Linking target examples/dpdk-skeleton
[2280/2296] Linking target examples/dpdk-efd_node
[2281/2296] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2282/2296] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2283/2296] Generating rte_kni with a custom command
make: Entering directory '/usr/src/linux-headers-5.6.0-050600-generic'
CC [M] /root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
CC [M] /root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
LD [M] /root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/rte_kni.o
MODPOST 1 modules
CC [M] /root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/rte_kni.mod.o
LD [M] /root/UB2004-32_K4.15.0_GCC9.3.0/i686-native-linuxapp-gcc/d99503dcd42340939328416cc7b637e2/dpdk/i686-native-linuxapp-gcc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/linux-headers-5.6.0-050600-generic'
ninja: build stopped
*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
clang -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c:878:18: error: too many arguments to function call, expected 4, have 6
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
../examples/vhost/main.c:1207:6: error: too many arguments to function call, expected 4, have 6
m_cpu_cpl, &cpu_cpl_nr);
^~~~~~~~~~~~~~~~~~~~~~
../lib/librte_vhost/rte_vhost_async.h:165:1: note: 'rte_vhost_submit_enqueue_burst' declared here
__rte_experimental
^
../lib/librte_eal/include/rte_compat.h:17:28: note: expanded from macro '__rte_experimental'
#define __rte_experimental \
^
2 errors generated.
[2691/2782] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk.c.o
[2692/2782] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2693/2782] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2694/2782] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2695/2782] Compiling C object examples/dpdk-vhost.p/vhost_virtio_net.c.o
[2696/2782] Compiling C object app/test/dpdk-test.p/test_ring.c.o
[2697/2782] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2698/2782] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
[2699/2782] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
ninja: build stopped
*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
gcc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
877 | ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
1205 | enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2694/2782] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_blk.c.o
[2695/2782] Compiling C object examples/dpdk-vmdq.p/vmdq_main.c.o
[2696/2782] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2697/2782] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2698/2782] Compiling C object examples/dpdk-vhost_blk.p/vhost_blk_vhost_blk_compat.c.o
[2699/2782] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2700/2782] Compiling C object examples/dpdk-vmdq_dcb.p/vmdq_dcb_main.c.o
[2701/2782] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2702/2782] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #14:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: examples/dpdk-vhost.p/vhost_main.c.o
icc -Iexamples/dpdk-vhost.p -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ examples/dpdk-vhost.p/vhost_main.c.o -MF examples/dpdk-vhost.p/vhost_main.c.o.d -o examples/dpdk-vhost.p/vhost_main.c.o -c ../examples/vhost/main.c
../examples/vhost/main.c(836): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_sub(&vdev->nr_async_pkts, complete_count);
^
../examples/vhost/main.c(854): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&dst_vdev->stats.rx_total_atomic, 1);
^
../examples/vhost/main.c(855): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&dst_vdev->stats.rx_atomic, ret);
^
../examples/vhost/main.c(878): error #140: too many arguments in function call
m, nr_xmit, m_cpu_cpl, &cpu_cpl_nr);
^
../examples/vhost/main.c(879): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->nr_async_pkts, ret - cpu_cpl_nr);
^
../examples/vhost/main.c(893): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_total_atomic, nr_xmit);
^
../examples/vhost/main.c(894): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_atomic, ret);
^
../examples/vhost/main.c(1207): error #140: too many arguments in function call
m_cpu_cpl, &cpu_cpl_nr);
^
../examples/vhost/main.c(1208): error #2330: argument of type "atomic_int_least16_t={_Atomic(short)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->nr_async_pkts,
^
../examples/vhost/main.c(1223): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_total_atomic, rx_count);
^
../examples/vhost/main.c(1224): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "volatile void *" (dropping qualifiers)
atomic_fetch_add(&vdev->stats.rx_atomic, enqueue_count);
^
../examples/vhost/main.c(1504): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "const volatile void *" (dropping qualifiers)
rx_total = atomic_load(&vdev->stats.rx_total_atomic);
^
../examples/vhost/main.c(1505): error #2330: argument of type "atomic_int_least64_t={_Atomic(long)} *" is incompatible with parameter of type "const volatile void *" (dropping qualifiers)
rx = atomic_load(&vdev->stats.rx_atomic);
^
compilation aborted for ../examples/vhost/main.c (code 2)
[2645/2736] Compiling C object examples/dpdk-vhost_crypto.p/vhost_crypto_main.c.o
[2646/2736] Compiling C object examples/dpdk-efd_node.p/server_node_efd_node_node.c.o
[2647/2736] Compiling C object examples/dpdk-skeleton.p/skeleton_basicfwd.c.o
[2648/2736] Compiling C object examples/dpdk-vhost.p/vhost_ioat.c.o
In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169),
from ../examples/vhost/ioat.c(8):
../drivers/raw/ioat/rte_ioat_rawdev_fns.h(254): warning #300: const variable "null_hdl" requires an initializer
static const uintptr_t null_hdl;
^
In file included from ../drivers/raw/ioat/rte_ioat_rawdev.h(169),
from ../examples/vhost/ioat.c(8):
../drivers/raw/ioat/rte_ioat_rawdev_fns.h(450): warning #300: const variable "null_hdl" requires an initializer
static const struct rte_idxd_user_hdl null_hdl;
^
[2649/2736] Compiling C object examples/dpdk-efd_server.p/server_node_efd_server_main.c.o
[2650/2736] Compiling C object app/test/dpdk-test.p/test_ring_perf.c.o
[2651/2736] Compiling C object app/test/dpdk-test.p/test_memcpy_perf.c.o
[2652/2736] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
[2653/2736] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker_dual.c.o
ninja: build stopped
*Build Failed #15:
OS: UB2010-64
Target: x86_64-native-linuxapp-gcc
FAILED: examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o
gcc -Iexamples/c590b3c@@dpdk-vhost@exe -Iexamples -I../examples -Iexamples/vhost -I../examples/vhost -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -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_meter -I../lib/librte_meter -Ilib/librte_cmdline -I../lib/librte_cmdline -Ilib/librte_vhost -I../lib/librte_vhost -Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_pci -I../lib/librte_pci -Idrivers/raw/ioat -I../drivers/raw/ioat -Ilib/librte_rawdev -I../lib/librte_rawdev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o' -MF 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o.d' -o 'examples/c590b3c@@dpdk-vhost@exe/vhost_main.c.o' -c ../examples/vhost/main.c
../examples/vhost/main.c: In function ‘drain_vhost’:
../examples/vhost/main.c:877:9: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
877 | ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../examples/vhost/main.c: In function ‘drain_eth_rx’:
../examples/vhost/main.c:1205:19: error: too many arguments to function ‘rte_vhost_submit_enqueue_burst’
1205 | enqueue_count = rte_vhost_submit_enqueue_burst(vdev->vid,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../examples/vhost/ioat.h:10,
from ../examples/vhost/main.c:28:
../lib/librte_vhost/rte_vhost_async.h:166:10: note: declared here
166 | uint16_t rte_vhost_submit_enqueue_burst(int vid, uint16_t queue_id,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[2656/2739] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_virtio_net.c.o'.
[2657/2739] Compiling C object 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk_compat.c.o'.
[2658/2739] Compiling C object 'examples/c590b3c@@dpdk-vhost@exe/vhost_ioat.c.o'.
[2659/2739] Compiling C object 'examples/c590b3c@@dpdk-vmdq@exe/vmdq_main.c.o'.
[2660/2739] Compiling C object 'examples/c590b3c@@dpdk-efd_server@exe/server_node_efd_server_main.c.o'.
[2661/2739] Compiling C object 'examples/c590b3c@@dpdk-vhost_blk@exe/vhost_blk_vhost_blk.c.o'.
[2662/2739] Compiling C object 'examples/c590b3c@@dpdk-vmdq_dcb@exe/vmdq_dcb_main.c.o'.
[2663/2739] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker.c.o'.
[2664/2739] Compiling C object 'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'.
ninja: build stopped
DPDK STV team
reply other threads:[~2021-01-04 8:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='93cfb9$gutnir@fmsmga005-auth.fm.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).