Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/99699 _Compilation issues_ Submitter: Gaoxiang Liu Date: 2021-09-27 01:30:22 Reply_mail: 20210927013022.131-1-gaoxiangliu0@163.com DPDK git baseline: Repo:dpdk-next-virtio, CommitID: ea2f3f584eaac39b01af2de5d06d2a390dff1660 Meson Build Summary: 22 Builds Done, 5 Successful, 17 Failures, 0 Blocked +----------------+------------+--------------+------------+------------+-----------+----------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | +----------------+------------+--------------+------------+------------+-----------+----------+ | UB2004-64 | fail | fail | fail | | | fail | | RHEL83-64 | fail | fail | fail | fail | fail | | | FC34-64 | fail | fail | | | | | | UB2104-64 | fail | | | | | | | WIN10-64 | | pass | | | | | | UB2004-32 | fail | | | | | | | CENTOS83-64 | fail | fail | | | | | | FreeBSD1201-64 | pass | pass | | pass | pass | | | SUSE15-64 | fail | fail | | | | | +----------------+------------+--------------+------------+------------+-----------+----------+ Test environment and configuration as below: OS: UB2004-64 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 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-305.3.1.el8.x86_64 GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1) Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-icc OS: FC34-64 Kernel Version: 5.11.15-300.fc34.x86_64 GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0) Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2104-64 Kernel Version: 5.11.0-16-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0 Clang Version: 12.0.0-1ubuntu1 x86_64-native-linuxapp-gcc OS: WIN10-64 Kernel Version: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: UB2004-32 Kernel Version: 5.8.0-48-generic GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 Clang Version: 10.0.0-4ubuntu1 i686-native-linuxapp-gcc OS: CENTOS83-64 Kernel Version: 4.18.0-240.1.1.el8_3.x86_64 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 OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE 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 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: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += nb_bytes; ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^~~~~~ stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^~~~~~ stats cc1: all warnings being treated as errors [953/3035] Generating rte_mempool_stack.pmd.c with a custom command [954/3035] Compiling C object drivers/librte_mempool_bucket.a.p/meson-generated_.._rte_mempool_bucket.pmd.c.o [955/3035] Generating rte_mempool_ring.pmd.c with a custom command [956/3035] Linking target drivers/librte_mempool_dpaa2.so.22.0 [957/3035] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [958/3035] Generating rte_mempool_octeontx2.sym_chk with a meson_exe.py custom command [959/3035] Generating symbol file drivers/librte_mempool_dpaa.so.22.0.p/librte_mempool_dpaa.so.22.0.symbols [960/3035] Generating symbol file drivers/librte_mempool_octeontx.so.22.0.p/librte_mempool_octeontx.so.22.0.symbols [961/3035] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [962/3035] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [963/3035] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #2: OS: CENTOS83-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += nb_bytes; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ~ ^ ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ~ ^ 6 errors generated. [960/3038] Generating rte_mempool_octeontx2.pmd.c with a custom command [961/3038] Generating rte_mempool_stack.sym_chk with a meson_exe.py custom command [962/3038] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [963/3038] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [964/3038] Generating rte_mempool_bucket.sym_chk with a meson_exe.py custom command [965/3038] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [966/3038] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [967/3038] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [968/3038] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #3: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += nb_bytes; ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^~~~~~ stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^~~~~~ stats cc1: all warnings being treated as errors [1786/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_tm.c.o'. [1787/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio.c.o'. [1788/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1789/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1790/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1791/2821] Generating rte_net_octeontx2.pmd.c with a custom command. [1792/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1793/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1794/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #4: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += nb_bytes; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ~ ^ ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ~ ^ 6 errors generated. [1953/3039] Compiling C object drivers/librte_net_octeontx2.so.22.0.p/meson-generated_.._rte_net_octeontx2.pmd.c.o [1954/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1955/3039] Generating rte_net_vdev_netvsc.pmd.c with a custom command [1956/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1957/3039] Generating rte_net_octeontx2.sym_chk with a custom command (wrapped by meson to capture output) [1958/3039] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1959/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1960/3039] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1961/3039] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #5: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:1: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:1: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += nb_bytes; ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^~~~~~ stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^~~~~~ stats cc1: all warnings being treated as errors [1952/3037] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1953/3037] Generating rte_net_tap.sym_chk with a custom command (wrapped by meson to capture output) [1954/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1955/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1956/3037] Generating rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output) [1957/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1958/3037] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #6: OS: UB2004-32 Target: i686-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 405 | r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 407 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 466 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 475 | r->stats->xstats[VHOST_BYTE] += nb_bytes; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 476 | r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; | ^~~~~~ | stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 477 | r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; | ^~~~~~ | stats cc1: all warnings being treated as errors [1583/2438] Linking static target drivers/libtmp_rte_net_vdev_netvsc.a [1584/2438] Linking target drivers/librte_net_tap.so.22.0 [1585/2438] Generating rte_net_thunderx.sym_chk with a meson_exe.py custom command [1586/2438] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1587/2438] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1588/2438] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1589/2438] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1590/2438] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1591/2438] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #7: OS: UB2004-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += nb_bytes; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ~ ^ ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ~ ^ 6 errors generated. [1945/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1946/3058] Linking static target drivers/libtmp_rte_net_vdev_netvsc.a [1947/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1948/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1949/3058] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1950/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1951/3058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1952/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_rxtx.c.o [1953/3058] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o ninja: build stopped *Build Failed #8: OS: UB2004-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 405 | r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 407 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 466 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 475 | r->stats->xstats[VHOST_BYTE] += nb_bytes; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 476 | r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; | ^~~~~~ | stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 477 | r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; | ^~~~~~ | stats cc1: all warnings being treated as errors [1942/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1943/3058] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1944/3058] Generating rte_net_thunderx.sym_chk with a meson_exe.py custom command [1945/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1946/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1947/3058] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1948/3058] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1949/3058] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1950/3058] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o ninja: build stopped *Build Failed #9: OS: UB2004-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o icc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c(405): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^ ../drivers/net/vhost/rte_eth_vhost.c(407): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(466): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(475): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += nb_bytes; ^ ../drivers/net/vhost/rte_eth_vhost.c(476): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^ ../drivers/net/vhost/rte_eth_vhost.c(477): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^ compilation aborted for ../drivers/net/vhost/rte_eth_vhost.c (code 2) [1894/3009] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_hw.c.o [1895/3009] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1896/3009] Generating rte_net_softnic.pmd.c with a custom command [1897/3009] Compiling C object drivers/net/txgbe/base/libtxgbe_base.a.p/txgbe_phy.c.o [1898/3009] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev_vf.c.o [1899/3009] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_rte_eth_tap.c.o [1900/3009] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_ethdev.c.o [1901/3009] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1902/3009] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o [1903/3009] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1904/3009] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped *Build Failed #10: OS: UB2104-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 405 | r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 407 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 466 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 475 | r->stats->xstats[VHOST_BYTE] += nb_bytes; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 476 | r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; | ^~~~~~ | stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 477 | r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; | ^~~~~~ | stats cc1: all warnings being treated as errors [1944/3072] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1945/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1946/3072] Generating rte_net_thunderx.sym_chk with a custom command (wrapped by meson to capture output) [1947/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci_ethdev.c.o [1948/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_pci.c.o [1949/3072] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1950/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [1951/3072] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_rx.c.o [1952/3072] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o ninja: build stopped *Build Failed #11: OS: UB2004-64 Target: x86_64-native-linuxapp-doc FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 405 | r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 407 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 466 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 475 | r->stats->xstats[VHOST_BYTE] += nb_bytes; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 476 | r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; | ^~~~~~ | stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 477 | r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; | ^~~~~~ | stats cc1: all warnings being treated as errors [1813/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_flow.c.o'. [1814/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_tm.c.o'. [1815/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1816/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1817/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1818/2650] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1819/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1820/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. [1821/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. ninja: build stopped *Build Failed #12: OS: FC34-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:25: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 405 | r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:54: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 407 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:54: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] 466 | vhost_update_single_packet_xstats(r, bufs); | ^~~~ | | | struct rte_mbuf ** ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ 339 | vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) | ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:17: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) 475 | r->stats->xstats[VHOST_BYTE] += nb_bytes; | ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:12: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 476 | r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; | ^~~~~~ | stats ../drivers/net/vhost/rte_eth_vhost.c:477:12: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? 477 | r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; | ^~~~~~ | stats cc1: all warnings being treated as errors [962/3037] Compiling C object drivers/librte_mempool_stack.so.22.0.p/meson-generated_.._rte_mempool_stack.pmd.c.o [963/3037] Generating symbol file drivers/librte_mempool_dpaa2.so.22.0.p/librte_mempool_dpaa2.so.22.0.symbols [964/3037] Generating rte_mempool_octeontx2.sym_chk with a meson_exe.py custom command [965/3037] Compiling C object drivers/libtmp_rte_mempool_bucket.a.p/mempool_bucket_rte_mempool_bucket.c.o [966/3037] Generating rte_mempool_ring.sym_chk with a meson_exe.py custom command [967/3037] Generating rte_mempool_stack.sym_chk with a meson_exe.py custom command [968/3037] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [969/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [970/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio_ethdev.c.o [971/3037] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [972/3037] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #13: OS: FC34-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o clang -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += nb_bytes; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ~ ^ ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ~ ^ 6 errors generated. [952/3037] Generating rte_mempool_bucket.pmd.c with a custom command [953/3037] Generating rte_mempool_stack.sym_chk with a meson_exe.py custom command [954/3037] Compiling C object drivers/libtmp_rte_net_af_packet.a.p/net_af_packet_rte_eth_af_packet.c.o [955/3037] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [956/3037] Compiling C object drivers/libtmp_rte_mempool_ring.a.p/mempool_ring_rte_mempool_ring.c.o [957/3037] Compiling C object drivers/libtmp_rte_mempool_octeontx2.a.p/mempool_octeontx2_otx2_mempool_ops.c.o [958/3037] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [959/3037] Generating rte_common_cnxk.sym_chk with a meson_exe.py custom command [960/3037] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command ninja: build stopped *Build Failed #14: OS: RHEL83-64 Target: x86_64-native-linuxapp-clang FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o clang -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: incompatible pointer types passing 'struct rte_mbuf **' to parameter of type 'struct rte_mbuf *'; dereference with * [-Werror,-Wincompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ * ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: passing argument to parameter 'buf' here vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ^ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: member reference type 'struct vhost_stats' is not a pointer; did you mean to use '.'? r->stats->xstats[VHOST_BYTE] += nb_bytes; ~~~~~~~~^~ . ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ~ ^ ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: no member named 'xstats' in 'struct vhost_queue' r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ~ ^ 6 errors generated. [1787/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio.c.o'. [1788/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1789/2821] Generating rte_net_vdev_netvsc.pmd.c with a custom command. [1790/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1791/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1792/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci_ethdev.c.o'. [1793/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1794/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. [1795/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #15: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+shared FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += nb_bytes; ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^~~~~~ stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^~~~~~ stats cc1: all warnings being treated as errors [1804/2654] Linking static target drivers/librte_net_thunderx.a. [1805/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1806/2654] Linking target drivers/librte_net_thunderx.so.22.0. [1807/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1808/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_ethdev.c.o'. [1809/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci_ethdev.c.o'. [1810/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_pci.c.o'. [1811/2654] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1812/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_octeontx2@sta/net_octeontx2_otx2_rx.c.o'. [1813/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1814/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #16: OS: RHEL83-64 Target: x86_64-native-linuxapp-gcc+debug FAILED: drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o gcc -Idrivers/a715181@@tmp_rte_net_vhost@sta -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -MF 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o.d' -o 'drivers/a715181@@tmp_rte_net_vhost@sta/net_vhost_rte_eth_vhost.c.o' -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_rx’: ../drivers/net/vhost/rte_eth_vhost.c:405:11: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^~ ../drivers/net/vhost/rte_eth_vhost.c:407:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c: In function ‘eth_vhost_tx’: ../drivers/net/vhost/rte_eth_vhost.c:466:40: error: passing argument 2 of ‘vhost_update_single_packet_xstats’ from incompatible pointer type [-Werror=incompatible-pointer-types] vhost_update_single_packet_xstats(r, bufs); ^~~~ ../drivers/net/vhost/rte_eth_vhost.c:339:76: note: expected ‘struct rte_mbuf *’ but argument is of type ‘struct rte_mbuf **’ vhost_update_single_packet_xstats(struct vhost_queue *vq, struct rte_mbuf *buf) ~~~~~~~~~~~~~~~~~^~~ ../drivers/net/vhost/rte_eth_vhost.c:475:10: error: invalid type argument of ‘->’ (have ‘struct vhost_stats’) r->stats->xstats[VHOST_BYTE] += nb_bytes; ^~ ../drivers/net/vhost/rte_eth_vhost.c:476:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^~~~~~ stats ../drivers/net/vhost/rte_eth_vhost.c:477:5: error: ‘struct vhost_queue’ has no member named ‘xstats’; did you mean ‘stats’? r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^~~~~~ stats cc1: all warnings being treated as errors [1794/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_vdev_netvsc@sta/net_vdev_netvsc_vdev_netvsc.c.o'. [1795/2821] Compiling C object 'drivers/net/virtio/20670f1@@virtio_avx512_lib@sta/virtio_rxtx_packed.c.o'. [1796/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_user_vhost_kernel_tap.c.o'. [1797/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_virtio@sta/net_virtio_virtio_ethdev.c.o'. [1798/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_txgbe@sta/net_txgbe_txgbe_rxtx.c.o'. ninja: build stopped *Build Failed #17: OS: RHEL83-64 Target: x86_64-native-linuxapp-icc FAILED: drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o icc -Idrivers/libtmp_rte_net_vhost.a.p -Idrivers -I../drivers -Idrivers/net/vhost -I../drivers/net/vhost -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/vhost -I../lib/vhost -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/hash -I../lib/hash -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 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.vhost -MD -MQ drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -MF drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o.d -o drivers/libtmp_rte_net_vhost.a.p/net_vhost_rte_eth_vhost.c.o -c ../drivers/net/vhost/rte_eth_vhost.c ../drivers/net/vhost/rte_eth_vhost.c(405): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += bufs[i]->pkt_len; ^ ../drivers/net/vhost/rte_eth_vhost.c(407): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(466): error #167: argument of type "struct rte_mbuf **" is incompatible with parameter of type "struct rte_mbuf *" vhost_update_single_packet_xstats(r, bufs); ^ ../drivers/net/vhost/rte_eth_vhost.c(475): error: expression must have pointer type r->stats->xstats[VHOST_BYTE] += nb_bytes; ^ ../drivers/net/vhost/rte_eth_vhost.c(476): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_MISSED_PKT] += nb_missed; ^ ../drivers/net/vhost/rte_eth_vhost.c(477): error: struct "vhost_queue" has no field "xstats" r->xstats->xstats[VHOST_UNICAST_PKT] += nb_missed; ^ compilation aborted for ../drivers/net/vhost/rte_eth_vhost.c (code 2) [1927/3072] Generating rte_net_softnic.sym_chk with a custom command (wrapped by meson to capture output) [1928/3072] Compiling C object drivers/libtmp_rte_net_vdev_netvsc.a.p/net_vdev_netvsc_vdev_netvsc.c.o [1929/3072] Generating rte_net_tap.pmd.c with a custom command [1930/3072] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_tm.c.o [1931/3072] Compiling C object drivers/libtmp_rte_net_virtio.a.p/net_virtio_virtio.c.o [1932/3072] Compiling C object drivers/libtmp_rte_net_thunderx.a.p/net_thunderx_nicvf_ethdev.c.o [1933/3072] Compiling C object drivers/net/virtio/libvirtio_avx512_lib.a.p/virtio_rxtx_packed.c.o [1934/3072] Compiling C object drivers/libtmp_rte_net_txgbe.a.p/net_txgbe_txgbe_rxtx.c.o [1935/3072] Compiling C object drivers/libtmp_rte_net_octeontx2.a.p/net_octeontx2_otx2_tx.c.o ninja: build stopped DPDK STV team