From: sys_stv@intel.com
To: test-report@dpdk.org
Subject: [dpdk-test-report] |FAILURE| pw(78992) [v3, 2/2] net/iavf: enable large VF configuration
Date: 28 Sep 2020 19:06:57 -0700 [thread overview]
Message-ID: <fecc85$beq2lq@orsmga001.jf.intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 241055 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/78992
_Compilation issues_
Submitter: Ting Xu <ting.xu@intel.com>
Date: 2020-09-28 09:56:04
Reply_mail: 20200928095604.50040-3-ting.xu@intel.com
DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: 67b790caa655867facde55b454b2354e8aab2e06
Meson Build Summary: 21 Builds Done, 1 Successful, 20 Failures, 0 Blocked
+----------------+------------+--------------+------------+------------+-----------+----------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| CENTOS82-64 | FAIL | FAIL | FAIL | FAIL | FAIL | |
| RHEL82-64 | FAIL | | | | | |
| UB1804-64 | FAIL | | | | | |
| FC32-64 | FAIL | FAIL | | | | |
| UB2004-64 | FAIL | FAIL | FAIL | | | FAIL |
| WIN10-64 | | pass | | | | |
| UB2004-32 | FAIL | | | | | |
| FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | |
| SUSE15-64 | FAIL | FAIL | | | | |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:
OS: CENTOS82-64
Kernel Version: 4.18.0-193.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 9.0.1 (Red Hat 9.0.1-2.module_el8.2.0+309+0c7b6b03)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-gcc+shared
x86_64-native-linuxapp-gcc+debug
OS: RHEL82-64
Kernel Version: 4.18.0-193.el8.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang Version: 8.0.1 (Red Hat 8.0.1-1.module_el8.1.0+215+a01033fb)
x86_64-native-linuxapp-gcc
OS: UB1804-64
Kernel Version: 5.3.0-59-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
x86_64-native-linuxapp-gcc
OS: FC32-64
Kernel Version: 5.6.0-0.rc7.git0.2.fc32.x86_64
CPU info: Intel(R) Xeon(R) Platinum 8280M CPU @ 2.70GHz
GCC Version: gcc (GCC) 10.0.1 20200311 (Red Hat 10.0.1-0.9)
Clang Version: 10.0.0 (Fedora 10.0.0-0.3.rc4.fc32)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2004-64
Kernel Version: 5.4.0-26-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
Clang Version: 10.0.0-4ubuntu1
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-icc
x86_64-native-linuxapp-doc
OS: WIN10-64
Kernel Version: N/A
CPU info: N/A
GCC Version: N/A
Clang Version: Clang 8.0.0
x86_64-windows-clang
OS: UB2004-32
Kernel Version: 5.4.0-26-generic
CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
Clang Version: 10.0.0-4ubuntu1
i686-native-linuxapp-gcc
OS: FreeBSD1201-64
Kernel Version: 12.1-RELEASE
CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: SUSE15-64
Kernel Version: 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-clang
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1255/2600] Generating rte_pmd_hinic.sym_chk with a meson_exe.py custom command
[1256/2600] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1257/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1258/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues);
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
len = sizeof(struct virtchnl_queue_vector_maps) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
sizeof(struct virtchnl_queue_vector) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
map_info->vport_id = vf->vsi_res->vsi_id;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function); did you mean ‘VIRTCHNL_ERR_PARAM’?
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~~~~~~~~~~~~~~~~~
VIRTCHNL_ERR_PARAM
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_CLOUD_FILTER’?
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DEL_CLOUD_FILTER
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^~
cc1: all warnings being treated as errors
[1259/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1260/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1261/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1262/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1263/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #2:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c:278:5: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c:305:33: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
2 errors generated.
[1259/2600] Generating rte_pmd_iavf_def with a custom command
[1260/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c:454:3: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c:613:8: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_del_ena_dis_queues'
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:614:5: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_queue_chunk'
sizeof(struct virtchnl_queue_chunk) *
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:620:28: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_chunk = queue_select->chunks.chunks;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:621:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:622:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->vport_id = vf->vsi_res->vsi_id;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:624:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:624:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:624:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:626:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:626:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:629:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:631:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1261/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
../drivers/net/iavf/iavf_rxtx.c:933:1: error: unused function 'iavf_rxd_error_to_pkt_flags' [-Werror,-Wunused-function]
iavf_rxd_error_to_pkt_flags(uint16_t stat_err0)
^
1 error generated.
[1262/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1263/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1264/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1265/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1266/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1267/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
ninja: build stopped: subcommand failed
*Build Failed #3:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
icc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c(278): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c(305): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
compilation aborted for ../drivers/net/iavf/iavf_ethdev.c (code 2)
[1257/2600] Compiling C object drivers/librte_pmd_hinic.so.21.0.p/meson-generated_.._rte_pmd_hinic.pmd.c.o
[1258/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1259/2600] Linking target drivers/librte_pmd_i40e.so.21.0
[1260/2600] Generating rte_pmd_hinic.sym_chk with a meson_exe.py custom command
[1261/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
icc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c(454): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c(613): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^
../drivers/net/iavf/iavf_vchnl.c(614): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_chunk) *
^
../drivers/net/iavf/iavf_vchnl.c(620): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(621): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
^
../drivers/net/iavf/iavf_vchnl.c(622): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(624): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(624): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(625): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(626): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(629): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(629): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(630): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(631): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(634): error: identifier "VIRTCHNL_OP_ENABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(657): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^
../drivers/net/iavf/iavf_vchnl.c(658): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_chunk) *
^
../drivers/net/iavf/iavf_vchnl.c(664): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(665): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
^
../drivers/net/iavf/iavf_vchnl.c(666): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(668): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(668): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(669): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(670): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(673): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(673): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(674): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(675): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(678): error: identifier "VIRTCHNL_OP_DISABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(702): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues);
^
../drivers/net/iavf/iavf_vchnl.c(707): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(708): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = 1;
^
../drivers/net/iavf/iavf_vchnl.c(709): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(712): error: pointer to incomplete class type is not allowed
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(712): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(713): error: pointer to incomplete class type is not allowed
queue_chunk->start_queue_id = qid;
^
../drivers/net/iavf/iavf_vchnl.c(714): error: pointer to incomplete class type is not allowed
queue_chunk->num_queues = 1;
^
../drivers/net/iavf/iavf_vchnl.c(716): error: pointer to incomplete class type is not allowed
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(716): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(717): error: pointer to incomplete class type is not allowed
queue_chunk->start_queue_id = qid;
^
../drivers/net/iavf/iavf_vchnl.c(718): error: pointer to incomplete class type is not allowed
queue_chunk->num_queues = 1;
^
../drivers/net/iavf/iavf_vchnl.c(722): error: identifier "VIRTCHNL_OP_ENABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(724): error: identifier "VIRTCHNL_OP_DISABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(993): error: incomplete type is not allowed
len = sizeof(struct virtchnl_queue_vector_maps) +
^
../drivers/net/iavf/iavf_vchnl.c(994): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_vector) *
^
../drivers/net/iavf/iavf_vchnl.c(1001): error: pointer to incomplete class type is not allowed
map_info->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(1002): error: pointer to incomplete class type is not allowed
map_info->num_qv_maps = adapter->eth_dev->data->nb_rx_queues;
^
../drivers/net/iavf/iavf_vchnl.c(1003): error: pointer to incomplete class type is not allowed
for (i = 0; i < map_info->num_qv_maps; i++) {
^
../drivers/net/iavf/iavf_vchnl.c(1004): error: pointer to incomplete class type is not allowed
qv_maps = &map_info->qv_maps[i];
^
../drivers/net/iavf/iavf_vchnl.c(1005): error: pointer to incomplete class type is not allowed
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^
../drivers/net/iavf/iavf_vchnl.c(1005): error: identifier "VIRTCHNL_ITR_IDX_0" is undefined
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^
../drivers/net/iavf/iavf_vchnl.c(1006): error: pointer to incomplete class type is not allowed
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(1006): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(1007): error: pointer to incomplete class type is not allowed
qv_maps->queue_id = vf->qv_map[i].queue_id;
^
../drivers/net/iavf/iavf_vchnl.c(1008): error: pointer to incomplete class type is not allowed
qv_maps->vector_id = vf->qv_map[i].vector_id;
^
../drivers/net/iavf/iavf_vchnl.c(1011): error: identifier "VIRTCHNL_OP_MAP_QUEUE_VECTOR" is undefined
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^
../drivers/net/iavf/iavf_vchnl.c(1500): error: identifier "VIRTCHNL_OP_GET_MAX_RSS_QREGION" is undefined
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^
../drivers/net/iavf/iavf_vchnl.c(1515): error: pointer to incomplete class type is not allowed
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^
compilation aborted for ../drivers/net/iavf/iavf_vchnl.c (code 2)
[1262/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1263/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1264/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1265/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #4:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1280/2436] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues);
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
len = sizeof(struct virtchnl_queue_vector_maps) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
sizeof(struct virtchnl_queue_vector) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
map_info->vport_id = vf->vsi_res->vsi_id;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function); did you mean ‘VIRTCHNL_ERR_PARAM’?
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~~~~~~~~~~~~~~~~~
VIRTCHNL_ERR_PARAM
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_CLOUD_FILTER’?
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DEL_CLOUD_FILTER
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^~
cc1: all warnings being treated as errors
[1281/2436] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1282/2436] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1283/2436] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1284/2436] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #5:
OS: CENTOS82-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1259/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues);
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
len = sizeof(struct virtchnl_queue_vector_maps) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
sizeof(struct virtchnl_queue_vector) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
map_info->vport_id = vf->vsi_res->vsi_id;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function); did you mean ‘VIRTCHNL_ERR_PARAM’?
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~~~~~~~~~~~~~~~~~
VIRTCHNL_ERR_PARAM
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_CLOUD_FILTER’?
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DEL_CLOUD_FILTER
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^~
cc1: all warnings being treated as errors
[1260/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1261/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1262/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1263/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #6:
OS: FC32-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1251/2601] Generating rte_pmd_iavf_def with a custom command
[1252/2601] Generating rte_pmd_i40e.pmd.c with a custom command
[1253/2601] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_stats.c.o
[1254/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
454 | VIRTCHNL_VF_LARGE_NUM_QPAIRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
613 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
614 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
620 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:621:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
621 | queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
| ^~
../drivers/net/iavf/iavf_vchnl.c:622:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
622 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
624 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
629 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
634 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
609 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
657 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
658 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
664 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:665:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
665 | queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
| ^~
../drivers/net/iavf/iavf_vchnl.c:666:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
666 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
668 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
673 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
678 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
653 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
702 | len = sizeof(struct virtchnl_del_ena_dis_queues);
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
707 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:708:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
708 | queue_select->chunks.num_chunks = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:709:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
709 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:713:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
713 | queue_chunk->start_queue_id = qid;
| ^~
../drivers/net/iavf/iavf_vchnl.c:714:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
714 | queue_chunk->num_queues = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:716:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:717:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
717 | queue_chunk->start_queue_id = qid;
| ^~
../drivers/net/iavf/iavf_vchnl.c:718:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
718 | queue_chunk->num_queues = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
722 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
724 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
993 | len = sizeof(struct virtchnl_queue_vector_maps) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
994 | sizeof(struct virtchnl_queue_vector) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1001 | map_info->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1002:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1002 | map_info->num_qv_maps = adapter->eth_dev->data->nb_rx_queues;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1003:26: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1003 | for (i = 0; i < map_info->num_qv_maps; i++) {
| ^~
../drivers/net/iavf/iavf_vchnl.c:1004:22: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1004 | qv_maps = &map_info->qv_maps[i];
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function)
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:1006:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1007:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1007 | qv_maps->queue_id = vf->qv_map[i].queue_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1008:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1008 | qv_maps->vector_id = vf->qv_map[i].vector_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function)
1011 | args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
1500 | args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: invalid use of undefined type ‘struct virtchnl_max_rss_qregion’
1515 | ((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
| ^~
cc1: all warnings being treated as errors
[1255/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1256/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1257/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1258/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1259/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1260/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1261/2601] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #7:
OS: FC32-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c:454:3: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c:613:8: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_del_ena_dis_queues'
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:614:5: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_queue_chunk'
sizeof(struct virtchnl_queue_chunk) *
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:620:28: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_chunk = queue_select->chunks.chunks;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:621:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:622:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->vport_id = vf->vsi_res->vsi_id;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:624:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:624:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:624:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:626:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:626:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:629:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:631:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1257/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
../drivers/net/iavf/iavf_rxtx.c:933:1: error: unused function 'iavf_rxd_error_to_pkt_flags' [-Werror,-Wunused-function]
iavf_rxd_error_to_pkt_flags(uint16_t stat_err0)
^
1 error generated.
[1258/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c:278:5: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c:305:33: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
2 errors generated.
[1259/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1260/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1261/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1262/2601] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1263/2601] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1264/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1265/2601] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
ninja: build stopped: subcommand failed
*Build Failed #8:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_configure':
../drivers/net/iavf/iavf_ethdev.c:278:5: error: 'VIRTCHNL_VF_LARGE_NUM_QPAIRS' undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1001/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1002/1937] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1003/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1004/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1005/1937] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #9:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c:278:5: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c:305:33: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
2 errors generated.
[998/1937] Linking static target drivers/librte_pmd_i40e.a
[999/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1000/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_rx.c.o
[1001/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1002/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
ninja: build stopped: subcommand failed
*Build Failed #10:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_configure':
../drivers/net/iavf/iavf_ethdev.c:278:5: error: 'VIRTCHNL_VF_LARGE_NUM_QPAIRS' undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1022/1817] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1023/1817] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1024/1817] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1025/1817] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1026/1817] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #11:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_configure':
../drivers/net/iavf/iavf_ethdev.c:278:5: error: 'VIRTCHNL_VF_LARGE_NUM_QPAIRS' undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[998/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[999/1937] Generating rte_pmd_i40e.pmd.c with a custom command
[1000/1937] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1001/1937] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/freebsd/include -I../lib/librte_eal/freebsd/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vf_resource':
../drivers/net/iavf/iavf_vchnl.c:454:3: error: 'VIRTCHNL_VF_LARGE_NUM_QPAIRS' undeclared (first use in this function)
454 | VIRTCHNL_VF_LARGE_NUM_QPAIRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_enable_queues_lv':
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_del_ena_dis_queues'
613 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_queue_chunk'
614 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type 'struct virtchnl_del_ena_dis_queues'
620 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: 'VIRTCHNL_QUEUE_TYPE_TX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_TX'?
624 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: 'VIRTCHNL_QUEUE_TYPE_RX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_RX'?
629 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: 'VIRTCHNL_OP_ENABLE_QUEUES_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_QUEUES'?
634 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable 'queue_chunk' set but not used [-Werror=unused-but-set-variable]
609 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_disable_queues_lv':
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_del_ena_dis_queues'
657 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_queue_chunk'
658 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type 'struct virtchnl_del_ena_dis_queues'
664 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: 'VIRTCHNL_QUEUE_TYPE_TX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_TX'?
668 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: 'VIRTCHNL_QUEUE_TYPE_RX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_RX'?
673 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: 'VIRTCHNL_OP_DISABLE_QUEUES_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_QUEUES'?
678 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable 'queue_chunk' set but not used [-Werror=unused-but-set-variable]
653 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_switch_queue_lv':
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_del_ena_dis_queues'
702 | len = sizeof(struct virtchnl_del_ena_dis_queues);
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type 'struct virtchnl_del_ena_dis_queues'
707 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type 'struct virtchnl_queue_chunk'
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: 'VIRTCHNL_QUEUE_TYPE_RX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_RX'?
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: 'VIRTCHNL_QUEUE_TYPE_TX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_TX'?
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: 'VIRTCHNL_OP_ENABLE_QUEUES_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_QUEUES'?
722 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: 'VIRTCHNL_OP_DISABLE_QUEUES_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_QUEUES'?
724 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_irq_map_lv':
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_queue_vector_maps'
993 | len = sizeof(struct virtchnl_queue_vector_maps) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_queue_vector'
994 | sizeof(struct virtchnl_queue_vector) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type 'struct virtchnl_queue_vector_maps'
1001 | map_info->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type 'struct virtchnl_queue_vector'
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: 'VIRTCHNL_ITR_IDX_0' undeclared (first use in this function)
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: 'VIRTCHNL_QUEUE_TYPE_RX' undeclared (first use in this function); did you mean 'IAVF_QUEUE_TYPE_RX'?
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: 'VIRTCHNL_OP_MAP_QUEUE_VECTOR' undeclared (first use in this function)
1011 | args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_max_rss_queue_region':
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: 'VIRTCHNL_OP_GET_MAX_RSS_QREGION' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_SET_RSS_HENA'?
1500 | args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type 'struct virtchnl_max_rss_qregion'
1515 | ((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
| ^~
cc1: all warnings being treated as errors
[1002/1937] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #12:
OS: RHEL82-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1252/2600] Linking static target drivers/librte_pmd_i40e.a
[1253/2600] Generating rte_pmd_hinic.sym_chk with a meson_exe.py custom command
[1254/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1255/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues);
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
len = sizeof(struct virtchnl_queue_vector_maps) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
sizeof(struct virtchnl_queue_vector) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
map_info->vport_id = vf->vsi_res->vsi_id;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function); did you mean ‘VIRTCHNL_ERR_PARAM’?
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~~~~~~~~~~~~~~~~~
VIRTCHNL_ERR_PARAM
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_CLOUD_FILTER’?
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DEL_CLOUD_FILTER
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^~
cc1: all warnings being treated as errors
[1256/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1257/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1258/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1259/2600] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1260/2600] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #13:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c:278:5: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c:305:33: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
2 errors generated.
[1273/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
../drivers/net/iavf/iavf_rxtx.c:933:1: error: unused function 'iavf_rxd_error_to_pkt_flags' [-Werror,-Wunused-function]
iavf_rxd_error_to_pkt_flags(uint16_t stat_err0)
^
1 error generated.
[1274/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c:454:3: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c:613:8: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_del_ena_dis_queues'
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:614:5: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_queue_chunk'
sizeof(struct virtchnl_queue_chunk) *
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:620:28: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_chunk = queue_select->chunks.chunks;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:621:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:622:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->vport_id = vf->vsi_res->vsi_id;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:624:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c:624:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c:626:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c:629:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c:629:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c:631:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c:634:13: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_QUEUES_V2'; did you mean 'VIRTCHNL_OP_ENABLE_QUEUES'?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/common/iavf/virtchnl.h:108:2: note: 'VIRTCHNL_OP_ENABLE_QUEUES' declared here
VIRTCHNL_OP_ENABLE_QUEUES = 8,
^
../drivers/net/iavf/iavf_vchnl.c:657:8: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_del_ena_dis_queues'
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:652:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:658:5: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_queue_chunk'
sizeof(struct virtchnl_queue_chunk) *
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:653:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:664:28: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_chunk = queue_select->chunks.chunks;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:652:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:665:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:652:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1275/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1276/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1277/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1278/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1279/2569] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1280/2569] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1281/2569] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
ninja: build stopped: subcommand failed
*Build Failed #14:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1242/2569] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1243/2569] Generating rte_pmd_i40e.pmd.c with a custom command
[1244/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_flow.c.o
[1245/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_mbx.c.o
[1246/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_regs.c.o
[1247/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rss.c.o
[1248/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev_vf.c.o
[1249/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1250/2569] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #15:
OS: UB1804-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1264/2589] Linking target drivers/librte_pmd_hinic.so.21.0
[1265/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_MAX_NUM_ACTIONS’?
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_MAX_NUM_ACTIONS
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
sizeof(struct virtchnl_queue_chunk) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
struct virtchnl_queue_chunk *queue_chunk;
^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
len = sizeof(struct virtchnl_del_ena_dis_queues);
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
queue_chunk = queue_select->chunks.chunks;
^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
len = sizeof(struct virtchnl_queue_vector_maps) +
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
sizeof(struct virtchnl_queue_vector) *
^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
map_info->vport_id = vf->vsi_res->vsi_id;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function); did you mean ‘VIRTCHNL_ERR_PARAM’?
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^~~~~~~~~~~~~~~~~~
VIRTCHNL_ERR_PARAM
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_CLOUD_FILTER’?
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_DEL_CLOUD_FILTER
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^~
cc1: all warnings being treated as errors
[1266/2589] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1267/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1268/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1269/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1270/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1271/2589] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1272/2589] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
ninja: build stopped: subcommand failed
*Build Failed #16:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1141/2338] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_rx.c.o
[1142/2338] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1143/2338] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
454 | VIRTCHNL_VF_LARGE_NUM_QPAIRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
613 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
614 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
620 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
624 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
629 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
634 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
609 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
657 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
658 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
664 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
668 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
673 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
678 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
653 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
702 | len = sizeof(struct virtchnl_del_ena_dis_queues);
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
707 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
722 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
724 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
993 | len = sizeof(struct virtchnl_queue_vector_maps) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
994 | sizeof(struct virtchnl_queue_vector) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
1001 | map_info->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function)
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function)
1011 | args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
1500 | args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
1515 | ((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
| ^~
cc1: all warnings being treated as errors
[1144/2338] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1145/2338] Compiling C object drivers/libtmp_rte_pmd_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1146/2338] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1147/2338] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1148/2338] Compiling C object drivers/libtmp_rte_pmd_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1149/2338] Compiling C object lib/librte_pipeline.a.p/librte_pipeline_rte_table_action.c.o
ninja: build stopped: subcommand failed
*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c:278:5: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c:305:33: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
2 errors generated.
[1257/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
../drivers/net/iavf/iavf_rxtx.c:933:1: error: unused function 'iavf_rxd_error_to_pkt_flags' [-Werror,-Wunused-function]
iavf_rxd_error_to_pkt_flags(uint16_t stat_err0)
^
1 error generated.
[1258/2591] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1259/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_stats.c.o
[1260/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
clang -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c:454:3: error: use of undeclared identifier 'VIRTCHNL_VF_LARGE_NUM_QPAIRS'
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c:613:8: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_del_ena_dis_queues'
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:614:5: error: invalid application of 'sizeof' to an incomplete type 'struct virtchnl_queue_chunk'
sizeof(struct virtchnl_queue_chunk) *
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:620:28: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_chunk = queue_select->chunks.chunks;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:621:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:622:14: error: incomplete definition of type 'struct virtchnl_del_ena_dis_queues'
queue_select->vport_id = vf->vsi_res->vsi_id;
~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:608:9: note: forward declaration of 'struct virtchnl_del_ena_dis_queues'
struct virtchnl_del_ena_dis_queues *queue_select;
^
../drivers/net/iavf/iavf_vchnl.c:624:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:624:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:624:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:625:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:626:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_TX'; did you mean 'IAVF_QUEUE_TYPE_TX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_TX
../drivers/common/iavf/iavf_type.h:189:2: note: 'IAVF_QUEUE_TYPE_TX' declared here
IAVF_QUEUE_TYPE_TX,
^
../drivers/net/iavf/iavf_vchnl.c:626:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:629:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:629:45: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
../drivers/net/iavf/iavf_vchnl.c:630:13: error: subscript of pointer to incomplete type 'struct virtchnl_queue_chunk'
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:609:9: note: forward declaration of 'struct virtchnl_queue_chunk'
struct virtchnl_queue_chunk *queue_chunk;
^
../drivers/net/iavf/iavf_vchnl.c:631:14: error: use of undeclared identifier 'VIRTCHNL_QUEUE_TYPE_RX'; did you mean 'IAVF_QUEUE_TYPE_RX'?
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^~~~~~~~~~~~~~~~~~~~~~
IAVF_QUEUE_TYPE_RX
../drivers/common/iavf/iavf_type.h:188:2: note: 'IAVF_QUEUE_TYPE_RX' declared here
IAVF_QUEUE_TYPE_RX = 0,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1261/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1262/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1263/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1264/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1265/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
ninja: build stopped: subcommand failed
*Build Failed #18:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1263/2591] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1264/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1265/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
454 | VIRTCHNL_VF_LARGE_NUM_QPAIRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
613 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
614 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
620 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:621:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
621 | queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
| ^~
../drivers/net/iavf/iavf_vchnl.c:622:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
622 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
624 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
629 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
634 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
609 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
657 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
658 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
664 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:665:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
665 | queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
| ^~
../drivers/net/iavf/iavf_vchnl.c:666:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
666 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
668 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
673 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
678 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
653 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
702 | len = sizeof(struct virtchnl_del_ena_dis_queues);
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
707 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:708:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
708 | queue_select->chunks.num_chunks = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:709:14: error: invalid use of undefined type ‘struct virtchnl_del_ena_dis_queues’
709 | queue_select->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:713:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
713 | queue_chunk->start_queue_id = qid;
| ^~
../drivers/net/iavf/iavf_vchnl.c:714:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
714 | queue_chunk->num_queues = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:716:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:717:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
717 | queue_chunk->start_queue_id = qid;
| ^~
../drivers/net/iavf/iavf_vchnl.c:718:14: error: invalid use of undefined type ‘struct virtchnl_queue_chunk’
718 | queue_chunk->num_queues = 1;
| ^~
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
722 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
724 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
993 | len = sizeof(struct virtchnl_queue_vector_maps) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
994 | sizeof(struct virtchnl_queue_vector) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1001 | map_info->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1002:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1002 | map_info->num_qv_maps = adapter->eth_dev->data->nb_rx_queues;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1003:26: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1003 | for (i = 0; i < map_info->num_qv_maps; i++) {
| ^~
../drivers/net/iavf/iavf_vchnl.c:1004:22: error: invalid use of undefined type ‘struct virtchnl_queue_vector_maps’
1004 | qv_maps = &map_info->qv_maps[i];
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function)
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:1006:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1007:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1007 | qv_maps->queue_id = vf->qv_map[i].queue_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1008:10: error: invalid use of undefined type ‘struct virtchnl_queue_vector’
1008 | qv_maps->vector_id = vf->qv_map[i].vector_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function)
1011 | args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
1500 | args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: invalid use of undefined type ‘struct virtchnl_max_rss_qregion’
1515 | ((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
| ^~
cc1: all warnings being treated as errors
[1266/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1267/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1268/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1269/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1270/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1271/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #19:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
icc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c(278): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
^
../drivers/net/iavf/iavf_ethdev.c(305): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_LARGE_NUM_QPAIRS) {
^
compilation aborted for ../drivers/net/iavf/iavf_ethdev.c (code 2)
[1255/2591] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1256/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
icc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -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 -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c(454): error: identifier "VIRTCHNL_VF_LARGE_NUM_QPAIRS" is undefined
VIRTCHNL_VF_LARGE_NUM_QPAIRS;
^
../drivers/net/iavf/iavf_vchnl.c(613): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^
../drivers/net/iavf/iavf_vchnl.c(614): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_chunk) *
^
../drivers/net/iavf/iavf_vchnl.c(620): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(621): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
^
../drivers/net/iavf/iavf_vchnl.c(622): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(624): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(624): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(625): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(626): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(629): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(629): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(630): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(631): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(634): error: identifier "VIRTCHNL_OP_ENABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(657): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues) +
^
../drivers/net/iavf/iavf_vchnl.c(658): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_chunk) *
^
../drivers/net/iavf/iavf_vchnl.c(664): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(665): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = IAVF_RXTX_QUEUE_CHUNKS_NUM;
^
../drivers/net/iavf/iavf_vchnl.c(666): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(668): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(668): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(669): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(670): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(673): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(673): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(674): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].start_queue_id = 0;
^
../drivers/net/iavf/iavf_vchnl.c(675): error: expression must be a pointer to a complete object type
queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].num_queues =
^
../drivers/net/iavf/iavf_vchnl.c(678): error: identifier "VIRTCHNL_OP_DISABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(702): error: incomplete type is not allowed
len = sizeof(struct virtchnl_del_ena_dis_queues);
^
../drivers/net/iavf/iavf_vchnl.c(707): error: pointer to incomplete class type is not allowed
queue_chunk = queue_select->chunks.chunks;
^
../drivers/net/iavf/iavf_vchnl.c(708): error: pointer to incomplete class type is not allowed
queue_select->chunks.num_chunks = 1;
^
../drivers/net/iavf/iavf_vchnl.c(709): error: pointer to incomplete class type is not allowed
queue_select->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(712): error: pointer to incomplete class type is not allowed
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(712): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(713): error: pointer to incomplete class type is not allowed
queue_chunk->start_queue_id = qid;
^
../drivers/net/iavf/iavf_vchnl.c(714): error: pointer to incomplete class type is not allowed
queue_chunk->num_queues = 1;
^
../drivers/net/iavf/iavf_vchnl.c(716): error: pointer to incomplete class type is not allowed
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(716): error: identifier "VIRTCHNL_QUEUE_TYPE_TX" is undefined
queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
^
../drivers/net/iavf/iavf_vchnl.c(717): error: pointer to incomplete class type is not allowed
queue_chunk->start_queue_id = qid;
^
../drivers/net/iavf/iavf_vchnl.c(718): error: pointer to incomplete class type is not allowed
queue_chunk->num_queues = 1;
^
../drivers/net/iavf/iavf_vchnl.c(722): error: identifier "VIRTCHNL_OP_ENABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(724): error: identifier "VIRTCHNL_OP_DISABLE_QUEUES_V2" is undefined
args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
^
../drivers/net/iavf/iavf_vchnl.c(993): error: incomplete type is not allowed
len = sizeof(struct virtchnl_queue_vector_maps) +
^
../drivers/net/iavf/iavf_vchnl.c(994): error: incomplete type is not allowed
sizeof(struct virtchnl_queue_vector) *
^
../drivers/net/iavf/iavf_vchnl.c(1001): error: pointer to incomplete class type is not allowed
map_info->vport_id = vf->vsi_res->vsi_id;
^
../drivers/net/iavf/iavf_vchnl.c(1002): error: pointer to incomplete class type is not allowed
map_info->num_qv_maps = adapter->eth_dev->data->nb_rx_queues;
^
../drivers/net/iavf/iavf_vchnl.c(1003): error: pointer to incomplete class type is not allowed
for (i = 0; i < map_info->num_qv_maps; i++) {
^
../drivers/net/iavf/iavf_vchnl.c(1004): error: pointer to incomplete class type is not allowed
qv_maps = &map_info->qv_maps[i];
^
../drivers/net/iavf/iavf_vchnl.c(1005): error: pointer to incomplete class type is not allowed
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^
../drivers/net/iavf/iavf_vchnl.c(1005): error: identifier "VIRTCHNL_ITR_IDX_0" is undefined
qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
^
../drivers/net/iavf/iavf_vchnl.c(1006): error: pointer to incomplete class type is not allowed
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(1006): error: identifier "VIRTCHNL_QUEUE_TYPE_RX" is undefined
qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
^
../drivers/net/iavf/iavf_vchnl.c(1007): error: pointer to incomplete class type is not allowed
qv_maps->queue_id = vf->qv_map[i].queue_id;
^
../drivers/net/iavf/iavf_vchnl.c(1008): error: pointer to incomplete class type is not allowed
qv_maps->vector_id = vf->qv_map[i].vector_id;
^
../drivers/net/iavf/iavf_vchnl.c(1011): error: identifier "VIRTCHNL_OP_MAP_QUEUE_VECTOR" is undefined
args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
^
../drivers/net/iavf/iavf_vchnl.c(1500): error: identifier "VIRTCHNL_OP_GET_MAX_RSS_QREGION" is undefined
args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
^
../drivers/net/iavf/iavf_vchnl.c(1515): error: pointer to incomplete class type is not allowed
((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
^
compilation aborted for ../drivers/net/iavf/iavf_vchnl.c (code 2)
[1257/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_stats.c.o
[1258/2591] Compiling C object drivers/librte_pmd_hinic.a.p/meson-generated_.._rte_pmd_hinic.pmd.c.o
[1259/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1260/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1261/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1262/2591] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1263/2591] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped: subcommand failed
*Build Failed #20:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_configure’:
../drivers/net/iavf/iavf_ethdev.c:278:5: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
278 | VIRTCHNL_VF_LARGE_NUM_QPAIRS)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c:278:5: note: each undeclared identifier is reported only once for each function it appears in
[1269/2450] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1270/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_fdir.c.o
[1271/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o
gcc -Idrivers/libtmp_rte_pmd_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_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 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -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 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -MD -MQ drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:454:3: error: ‘VIRTCHNL_VF_LARGE_NUM_QPAIRS’ undeclared (first use in this function)
454 | VIRTCHNL_VF_LARGE_NUM_QPAIRS;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:454:3: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_enable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:613:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
613 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:614:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
614 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:620:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
620 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:624:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
624 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:629:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
629 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:634:13: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
634 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:609:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
609 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_disable_queues_lv’:
../drivers/net/iavf/iavf_vchnl.c:657:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
657 | len = sizeof(struct virtchnl_del_ena_dis_queues) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:658:12: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_chunk’
658 | sizeof(struct virtchnl_queue_chunk) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:664:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
664 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:668:14: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
668 | queue_chunk[VIRTCHNL_QUEUE_TYPE_TX].type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:673:14: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
673 | queue_chunk[VIRTCHNL_QUEUE_TYPE_RX].type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:678:13: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
678 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:653:31: error: variable ‘queue_chunk’ set but not used [-Werror=unused-but-set-variable]
653 | struct virtchnl_queue_chunk *queue_chunk;
| ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_switch_queue_lv’:
../drivers/net/iavf/iavf_vchnl.c:702:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_del_ena_dis_queues’
702 | len = sizeof(struct virtchnl_del_ena_dis_queues);
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:707:28: error: dereferencing pointer to incomplete type ‘struct virtchnl_del_ena_dis_queues’
707 | queue_chunk = queue_select->chunks.chunks;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_chunk’
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~
../drivers/net/iavf/iavf_vchnl.c:712:23: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
712 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:716:23: error: ‘VIRTCHNL_QUEUE_TYPE_TX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_TX’?
716 | queue_chunk->type = VIRTCHNL_QUEUE_TYPE_TX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_TX
../drivers/net/iavf/iavf_vchnl.c:722:14: error: ‘VIRTCHNL_OP_ENABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_QUEUES’?
722 | args.ops = VIRTCHNL_OP_ENABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_ENABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c:724:14: error: ‘VIRTCHNL_OP_DISABLE_QUEUES_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_QUEUES’?
724 | args.ops = VIRTCHNL_OP_DISABLE_QUEUES_V2;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_DISABLE_QUEUES
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_irq_map_lv’:
../drivers/net/iavf/iavf_vchnl.c:993:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector_maps’
993 | len = sizeof(struct virtchnl_queue_vector_maps) +
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:994:15: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_queue_vector’
994 | sizeof(struct virtchnl_queue_vector) *
| ^~~~~~
../drivers/net/iavf/iavf_vchnl.c:1001:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector_maps’
1001 | map_info->vport_id = vf->vsi_res->vsi_id;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:10: error: dereferencing pointer to incomplete type ‘struct virtchnl_queue_vector’
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~
../drivers/net/iavf/iavf_vchnl.c:1005:22: error: ‘VIRTCHNL_ITR_IDX_0’ undeclared (first use in this function)
1005 | qv_maps->itr_idx = VIRTCHNL_ITR_IDX_0;
| ^~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:1006:25: error: ‘VIRTCHNL_QUEUE_TYPE_RX’ undeclared (first use in this function); did you mean ‘IAVF_QUEUE_TYPE_RX’?
1006 | qv_maps->queue_type = VIRTCHNL_QUEUE_TYPE_RX;
| ^~~~~~~~~~~~~~~~~~~~~~
| IAVF_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:1011:13: error: ‘VIRTCHNL_OP_MAP_QUEUE_VECTOR’ undeclared (first use in this function)
1011 | args.ops = VIRTCHNL_OP_MAP_QUEUE_VECTOR;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_max_rss_queue_region’:
../drivers/net/iavf/iavf_vchnl.c:1500:13: error: ‘VIRTCHNL_OP_GET_MAX_RSS_QREGION’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_SET_RSS_HENA’?
1500 | args.ops = VIRTCHNL_OP_GET_MAX_RSS_QREGION;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| VIRTCHNL_OP_SET_RSS_HENA
../drivers/net/iavf/iavf_vchnl.c:1515:54: error: dereferencing pointer to incomplete type ‘struct virtchnl_max_rss_qregion’
1515 | ((struct virtchnl_max_rss_qregion *)args.out_buffer)->qregion_width;
| ^~
cc1: all warnings being treated as errors
[1272/2450] Generating rte_pmd_i40e.sym_chk with a meson_exe.py custom command
[1273/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_hash.c.o
[1274/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1275/2450] Compiling C object drivers/libtmp_rte_pmd_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1276/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1277/2450] Compiling C object drivers/libtmp_rte_pmd_iavf.a.p/net_iavf_iavf_rxtx.c.o
ninja: build stopped: subcommand failed
DPDK STV team
reply other threads:[~2020-09-29 2:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='fecc85$beq2lq@orsmga001.jf.intel.com' \
--to=sys_stv@intel.com \
--cc=test-report@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).