[dpdk-test-report] |FAILURE| pw60205[v3, 18/19] net/hinic: optimize RX performance

sys_stv at intel.com sys_stv at intel.com
Mon Sep 30 17:20:31 CEST 2019


Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/60205

_Compilation issues_

Submitter: Xiaoyun wang <cloud.wangxiaoyun at huawei.com>
Date: 2019-09-30 14:00:56
Reply_mail: 8dea773bd37c783e349692afae166cfa1cf9a8b5.1569850827.git.cloud.wangxiaoyun at huawei.com
DPDK git baseline: Repo:dpdk-next-net, CommitID: 70eebab3d468729f7b067897a6a47056ea7b0a62

Makefile build Summary: 22 Builds Done, 22 Successful, 0 Failures

Meson build Summary: 7 Builds Done, 2 Successful, 5 Failures

               +==============================================+===========+==========+
               |                   Makefile                   |   Meson   | Document |
+--------------+------+-------+------+------------+-----------+-----------+----------+
| os           | gcc  | clang | icc  | gcc+shared | gcc+debug | gcc/clang | pdf/html |
+--------------+------+-------+------+------------+-----------+-----------+----------+
| RHEL76-64    | pass |       |      |            |           |           |          |
| CENTOS76-64  | pass | pass  | pass | pass       | pass      |           |          |
| UB1804-64    | pass | pass  | pass |            |           | FAIL      | pass     |
| UB1604-32    | pass |       |      |            |           | FAIL      |          |
| UB1904-64    | pass |       |      |            |           |           |          |
| UB1604-64    | pass | pass  |      |            |           |           |          |
| FC30-64      | pass | pass  |      |            |           | FAIL      |          |
| WIN10-64     |      |       |      |            |           | pass      |          |
| FreeBSD12-64 | pass | pass  |      | pass       | pass      | FAIL      |          |
| RHEL80-64    | pass |       |      |            |           |           |          |
| SUSE15-64    | pass | pass  |      |            |           | FAIL      |          |
+--------------+------+-------+------+------------+-----------+-----------+----------+

Test environment and configuration as below:

** Makefile build **


OS: RHEL76-64
	Kernel Version: 3.10.0-957.el7.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
	Clang Version: NA
	x86_64-native-linuxapp-gcc


OS: CENTOS76-64
	Kernel Version: 3.10.0-957.10.1.el7.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-icc


OS: UB1804-64
	Kernel Version: 4.15.0-20-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
	GCC Version: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc


OS: UB1904-64
	Kernel Version: 5.0.0-13-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
	GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0
	Clang Version: 8.0.0-3 (tags/RELEASE_800/final)
	x86_64-native-linuxapp-gcc


OS: UB1604-32
	Kernel Version: 4.4.0-131-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
	GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
	Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
	i686-native-linuxapp-gcc


OS: UB1604-64
	Kernel Version: 4.4.0-47-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
	GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
	Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc


OS: FC30-64
	Kernel Version: 5.1.7-300.fc30.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
	Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang


OS: FreeBSD12-64
	Kernel Version: 12.0-RC3
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 7.3.0
	Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc


OS: RHEL80-64
	Kernel Version: 4.18.0-80.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3)
	Clang Version: 6.0.1 (tags/RELEASE_601/final)
	x86_64-native-linuxapp-gcc


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang


** Meson build **


OS: UB1804-64
	Kernel Version: 4.15.0-20-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0
	Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
	x86_64-native-linuxapp-doc
	build-gcc-static
	build-gcc-shared
	build-clang-static
	build-clang-shared
	build-x86-default


OS: UB1604-32
	Kernel Version: 4.4.0-131-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
	Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
	build-gcc-static
	build-gcc-shared
	build-clang-static
	build-clang-shared
	build-x86-default


OS: FC30-64
	Kernel Version: 5.0.9-301.fc30.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1)
	Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30)
	build-gcc-static
	build-gcc-shared
	build-clang-static
	build-clang-shared
	build-x86-default


OS: WIN10-64
	Kernel Version: N/A
	CPU info: N/A
	GCC Version: N/A
	Clang Version: Clang 8.0.0
	x86_64-windows-clang


OS: FreeBSD12-64
	Kernel Version: 12.0-RC3
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.99-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 7.3.0
	Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
	build-gcc-static
	build-gcc-shared
	build-clang-static
	build-clang-shared
	build-x86-default


OS: SUSE15-64
	Kernel Version: 4.12.14-lp150.11-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812]
	Clang Version: 5.0.1 (tags/RELEASE_501/final 312548)
	build-gcc-static
	build-gcc-shared
	build-clang-static
	build-clang-shared
	build-x86-default


*Meson Build Failed #1:
OS: SUSE15-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o 
gcc -Idrivers/a715181@@tmp_rte_pmd_hinic at sta -Idrivers -I../drivers -Idrivers/net/hinic -I../drivers/net/hinic -Idrivers/net/hinic/base -I../drivers/net/hinic/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -c ../drivers/net/hinic/hinic_pmd_rx.c
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_prepare_rq_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:275:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  u32 rq_ceq_len = sizeof(struct hinic_rq_cqe);
                          ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_alloc_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:313:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_free_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:332:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_fill_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:356:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
   cqe_dma_addr +=  sizeof(struct hinic_rq_cqe);
                           ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_free_all_rx_skbs’:
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: dereferencing pointer to incomplete type ‘volatile struct hinic_rq_cqe’
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_recv_pkts’:
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: storage size of ‘cqe’ isn’t known
  struct hinic_rq_cqe cqe;
                      ^~~
../drivers/net/hinic/hinic_pmd_rx.c:974:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[sw_ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: unused variable ‘cqe’ [-Werror=unused-variable]
  struct hinic_rq_cqe cqe;
                      ^~~
cc1: all warnings being treated as errors
[809/1852] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mgmt.c.o'.
[810/1852] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o'.
[811/1852] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_nicio.c.o'.
[812/1852] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_niccfg.c.o'.
[813/1852] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_ethdev.c.o'.
[814/1852] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_ethdev.c.o'.
[815/1852] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #2:
OS: FC30-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o 
gcc -Idrivers/a715181@@tmp_rte_pmd_hinic at sta -Idrivers -I../drivers -Idrivers/net/hinic -I../drivers/net/hinic -Idrivers/net/hinic/base -I../drivers/net/hinic/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -c ../drivers/net/hinic/hinic_pmd_rx.c
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_prepare_rq_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:275:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  275 |  u32 rq_ceq_len = sizeof(struct hinic_rq_cqe);
      |                          ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_alloc_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:313:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  313 |  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
      |                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_free_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:332:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  332 |  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
      |                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_fill_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:356:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  356 |   cqe_dma_addr +=  sizeof(struct hinic_rq_cqe);
      |                           ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_free_all_rx_skbs’:
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
  718 |   rx_cqe = &rxq->rx_cqe[ci];
      |                        ^
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: dereferencing pointer to incomplete type ‘volatile struct hinic_rq_cqe’
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_recv_pkts’:
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: storage size of ‘cqe’ isn’t known
  963 |  struct hinic_rq_cqe cqe;
      |                      ^~~
../drivers/net/hinic/hinic_pmd_rx.c:974:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
  974 |   rx_cqe = &rxq->rx_cqe[sw_ci];
      |                        ^
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: unused variable ‘cqe’ [-Werror=unused-variable]
  963 |  struct hinic_rq_cqe cqe;
      |                      ^~~
cc1: all warnings being treated as errors
[801/1805] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_niccfg.c.o'.
[802/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_flow.c.o'.
[803/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3 at sta/net_hns3_hns3_fdir.c.o'.
[804/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_ethdev.c.o'.
[805/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_tx.c.o'.
[806/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3 at sta/net_hns3_hns3_ethdev.c.o'.
[807/1805] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_ethdev.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #3:
OS: UB1604-32
Target:build-gcc-static
FAILED: drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o 
gcc -Idrivers/net/hinic/base/12a4447@@hinic_base at sta -Idrivers/net/hinic/base -I../drivers/net/hinic/base -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -MD -MQ 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o' -MF 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o.d' -o 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o' -c ../drivers/net/hinic/base/hinic_pmd_mbox.c
In file included from ../drivers/net/hinic/base/hinic_pmd_mbox.c:5:0:
../drivers/net/hinic/base/hinic_pmd_mbox.c: In function ‘send_mbox_to_func’:
../drivers/net/hinic/base/hinic_compat.h:84:27: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘u64 {aka long long unsigned int}’ [-Werror=format=]
 #define HINIC_DRIVER_NAME "net_hinic"
                           ^
../drivers/net/hinic/base/hinic_compat.h:90:3: note: in expansion of macro ‘HINIC_DRIVER_NAME’
   HINIC_DRIVER_NAME": " fmt "\n", ##args)
   ^
../drivers/net/hinic/base/hinic_pmd_mbox.c:659:4: note: in expansion of macro ‘PMD_DRV_LOG’
    PMD_DRV_LOG(ERR, "Fail to send mbox seg, seq_id: 0x%lx, err: %d",
    ^
cc1: all warnings being treated as errors
[804/1658] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o'.
FAILED: drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o 
gcc -Idrivers/a715181@@tmp_rte_pmd_hinic at sta -Idrivers -I../drivers -Idrivers/net/hinic -I../drivers/net/hinic -Idrivers/net/hinic/base -I../drivers/net/hinic/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -c ../drivers/net/hinic/hinic_pmd_rx.c
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_prepare_rq_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:275:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  u32 rq_ceq_len = sizeof(struct hinic_rq_cqe);
                          ^
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_alloc_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:313:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_free_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:332:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_fill_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:356:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
   cqe_dma_addr +=  sizeof(struct hinic_rq_cqe);
                           ^
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_free_all_rx_skbs’:
../drivers/net/hinic/hinic_pmd_rx.c:718:3: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[ci];
   ^
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: dereferencing pointer to incomplete type ‘volatile struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_recv_pkts’:
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: storage size of ‘cqe’ isn’t known
  struct hinic_rq_cqe cqe;
                      ^
../drivers/net/hinic/hinic_pmd_rx.c:974:3: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[sw_ci];
   ^
../drivers/net/hinic/hinic_pmd_rx.c:975:3: error: incompatible type for argument 1 of ‘__atomic_load_n’
   status = __atomic_load_n(&rx_cqe->status, __ATOMIC_ACQUIRE);
   ^
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: unused variable ‘cqe’ [-Werror=unused-variable]
  struct hinic_rq_cqe cqe;
                      ^
cc1: all warnings being treated as errors
[805/1658] Compiling C object 'drivers/net/iavf/base/8bd2c99@@iavf_base at sta/iavf_adminq.c.o'.
[806/1658] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_ethdev.c.o'.
[807/1658] Compiling C object 'drivers/a715181@@tmp_rte_pmd_octeontx2_event at sta/event_octeontx2_otx2_worker.c.o'.
[808/1658] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_tx.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #4:
OS: UB1804-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o 
gcc -Idrivers/a715181@@tmp_rte_pmd_hinic at sta -Idrivers -I../drivers -Idrivers/net/hinic -I../drivers/net/hinic -Idrivers/net/hinic/base -I../drivers/net/hinic/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -c ../drivers/net/hinic/hinic_pmd_rx.c
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_prepare_rq_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:275:26: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  u32 rq_ceq_len = sizeof(struct hinic_rq_cqe);
                          ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_alloc_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:313:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_free_cqe’:
../drivers/net/hinic/hinic_pmd_rx.c:332:24: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_rx_fill_wqe’:
../drivers/net/hinic/hinic_pmd_rx.c:356:27: error: invalid application of ‘sizeof’ to incomplete type ‘struct hinic_rq_cqe’
   cqe_dma_addr +=  sizeof(struct hinic_rq_cqe);
                           ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_free_all_rx_skbs’:
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: dereferencing pointer to incomplete type ‘volatile struct hinic_rq_cqe’
../drivers/net/hinic/hinic_pmd_rx.c: In function ‘hinic_recv_pkts’:
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: storage size of ‘cqe’ isn’t known
  struct hinic_rq_cqe cqe;
                      ^~~
../drivers/net/hinic/hinic_pmd_rx.c:974:24: error: invalid use of undefined type ‘struct hinic_rq_cqe’
   rx_cqe = &rxq->rx_cqe[sw_ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: unused variable ‘cqe’ [-Werror=unused-variable]
  struct hinic_rq_cqe cqe;
                      ^~~
cc1: all warnings being treated as errors
[813/1812] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_nicio.c.o'.
[814/1812] Generating rte_pmd_i40e.pmd.c with a custom command.
[815/1812] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mgmt.c.o'.
[816/1812] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_niccfg.c.o'.
[817/1812] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o'.
ninja: build stopped: subcommand failed




*Meson Build Failed #5:
OS: FreeBSD12-64
Target:build-gcc-static
FAILED: drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o 
ccache gcc -Idrivers/a715181@@tmp_rte_pmd_hinic at sta -Idrivers -I../drivers -Idrivers/net/hinic -I../drivers/net/hinic -Idrivers/net/hinic/base -I../drivers/net/hinic/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -MD -MQ 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_rx.c.o' -c ../drivers/net/hinic/hinic_pmd_rx.c
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_prepare_rq_wqe':
../drivers/net/hinic/hinic_pmd_rx.c:275:26: error: invalid application of 'sizeof' to incomplete type 'struct hinic_rq_cqe'
  u32 rq_ceq_len = sizeof(struct hinic_rq_cqe);
                          ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_rx_alloc_cqe':
../drivers/net/hinic/hinic_pmd_rx.c:313:24: error: invalid application of 'sizeof' to incomplete type 'struct hinic_rq_cqe'
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_rx_free_cqe':
../drivers/net/hinic/hinic_pmd_rx.c:332:24: error: invalid application of 'sizeof' to incomplete type 'struct hinic_rq_cqe'
  cqe_mem_size = sizeof(struct hinic_rq_cqe) * rxq->q_depth;
                        ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_rx_fill_wqe':
../drivers/net/hinic/hinic_pmd_rx.c:356:27: error: invalid application of 'sizeof' to incomplete type 'struct hinic_rq_cqe'
   cqe_dma_addr +=  sizeof(struct hinic_rq_cqe);
                           ^~~~~~
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_free_all_rx_skbs':
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: invalid use of undefined type 'struct hinic_rq_cqe'
   rx_cqe = &rxq->rx_cqe[ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:718:24: error: dereferencing pointer to incomplete type 'volatile struct hinic_rq_cqe'
../drivers/net/hinic/hinic_pmd_rx.c: In function 'hinic_recv_pkts':
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: storage size of 'cqe' isn't known
  struct hinic_rq_cqe cqe;
                      ^~~
../drivers/net/hinic/hinic_pmd_rx.c:974:24: error: invalid use of undefined type 'struct hinic_rq_cqe'
   rx_cqe = &rxq->rx_cqe[sw_ci];
                        ^
../drivers/net/hinic/hinic_pmd_rx.c:963:22: error: unused variable 'cqe' [-Werror=unused-variable]
  struct hinic_rq_cqe cqe;
                      ^~~
cc1: all warnings being treated as errors
[754/1415] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base at sta/hinic_pmd_mbox.c.o'.
[755/1415] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_ethdev.c.o'.
[756/1415] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_flow.c.o'.
[757/1415] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic at sta/net_hinic_hinic_pmd_tx.c.o'.
[758/1415] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e at sta/net_i40e_i40e_ethdev.c.o'.
ninja: build stopped: subcommand failed



DPDK STV team


More information about the test-report mailing list