[dpdk-test-report] |FAILURE| pw(86389) [v6, 3/3] net/iavf: implement new VLAN capability handling

sys_stv at intel.com sys_stv at intel.com
Tue Jan 12 20:59:47 CET 2021


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

_Compilation issues_

Submitter: Haiyue Wang <haiyue.wang at intel.com>
Date: 2021-01-12 08:13:02
Reply_mail: 20210112081302.87715-4-haiyue.wang at intel.com

DPDK git baseline: Repo:dpdk, CommitID: b1fd151267e6791a7649090c185413293549d033


Meson Build Summary: 22 Builds Done, 1 Successful, 21 Failures, 0 Blocked

+------------------+------------+--------------+------------+------------+-----------+----------+
| os               | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+------------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64        | FAIL       | FAIL         | FAIL       |            |           | FAIL     |
| RHEL83-64        | FAIL       |              |            |            |           |          |
| FC33-64          | FAIL       | FAIL         |            |            |           |          |
| CentOsStream8-64 | FAIL       |              |            |            |           |          |
| UB2010-64        | FAIL       |              |            |            |           |          |
| WIN10-64         |            | pass         |            |            |           |          |
| UB2004-32        | FAIL       |              |            |            |           |          |
| CENTOS83-64      | FAIL       | FAIL         | FAIL       | FAIL       | FAIL      |          |
| FreeBSD1201-64   | FAIL       | FAIL         |            | FAIL       | FAIL      |          |
| SUSE15-64        | FAIL       | FAIL         |            |            |           |          |
+------------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.6.0-050600-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 10-20200416-0ubuntu1) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-240.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module+el8.3.0+7459+90c24896)
	x86_64-native-linuxapp-gcc

OS: FC33-64
	Kernel Version: 5.8.16-300.fc33.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 10.2.1 20201005 (Red Hat 10.2.1-5)
	Clang Version: 11.0.0 (Fedora 11.0.0-1.fc33)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: CentOsStream8-64
	Kernel Version: 4.18.0-257.el8.x86_64
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-0.2.rc2.module_el8.4.0+533+50191577)
	x86_64-native-linuxapp-gcc

OS: UB2010-64
	Kernel Version: 5.8.0-25-generic
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0
	Clang Version: 11.0.0-2
	x86_64-native-linuxapp-gcc

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

OS: UB2004-32
	Kernel Version: 5.6.0-050600-generic
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz (2294.74-MHz K8-class CPU)
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1298/2803] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rss.c.o
[1299/2803] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1300/2803] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1301/2803] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_mp.c.o
[1302/2803] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1303/2803] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1304/2803] Generating rte_net_hinic.sym_chk with a meson_exe.py custom command
[1305/2803] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1306/2803] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1307/2803] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1308/2803] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #2:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
clang -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1311/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1312/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1313/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1314/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1315/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1316/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:177:7: error: use of undeclared identifier 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS'
        case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
             ^
../drivers/net/iavf/iavf_vchnl.c:463:3: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
                VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
                ^
../drivers/net/iavf/iavf_vchnl.c:532:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:532:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
               ^
../drivers/net/iavf/iavf_vchnl.c:539:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:540:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:543:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:547:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:552:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:554:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:555:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
../drivers/net/iavf/iavf_vchnl.c:574:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:574:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
               ^
../drivers/net/iavf/iavf_vchnl.c:581:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:582:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:585:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:589:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:594:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:596:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:597:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1317/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_ethdev.c:337:35: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                         ^
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
5 errors generated.
[1318/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
In file included from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1319/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #3:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
icc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
icc: command line warning #10121: overriding '-march=native' with '-march=skylake-avx512'
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h(11),
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c(5):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

compilation aborted for ../drivers/net/iavf/iavf_rxtx_vec_avx512.c (code 2)
[1291/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rss.c.o
[1292/2806] Generating rte_net_i40e.pmd.c with a custom command
[1293/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1294/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
icc -Idrivers/libtmp_rte_net_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 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c(28):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

../drivers/net/iavf/iavf_ethdev.c(337): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
  	                                 ^

../drivers/net/iavf/iavf_ethdev.c(1038): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
  	                               ^

../drivers/net/iavf/iavf_ethdev.c(1111): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
  	                               ^

../drivers/net/iavf/iavf_ethdev.c(1997): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
  	                               ^

compilation aborted for ../drivers/net/iavf/iavf_ethdev.c (code 2)
[1295/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
icc -Idrivers/libtmp_rte_net_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 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c(28):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

compilation aborted for ../drivers/net/iavf/iavf_rxtx.c (code 2)
[1296/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev_vf.c.o
[1297/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_mp.c.o
[1298/2806] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1299/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
icc -Idrivers/libtmp_rte_net_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 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c(23):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

../drivers/net/iavf/iavf_vchnl.c(177): error: identifier "VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS" is undefined
  	case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
  	     ^

../drivers/net/iavf/iavf_vchnl.c(463): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
  		^

../drivers/net/iavf/iavf_vchnl.c(532): error: incomplete type is not allowed
  	struct virtchnl_vlan_offload vlan_strip;
  	                             ^

../drivers/net/iavf/iavf_vchnl.c(539): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(540): error: pointer to incomplete class type is not allowed
  		stripping_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(543): error: pointer to incomplete class type is not allowed
  		stripping_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(547): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(552): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	*vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
  	                ^

../drivers/net/iavf/iavf_vchnl.c(554): error: identifier "VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2" is undefined
  	args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
  	                    ^

../drivers/net/iavf/iavf_vchnl.c(555): error: identifier "VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2" is undefined
  			    VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
  			    ^

../drivers/net/iavf/iavf_vchnl.c(574): error: incomplete type is not allowed
  	struct virtchnl_vlan_offload vlan_insert;
  	                             ^

../drivers/net/iavf/iavf_vchnl.c(581): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(582): error: pointer to incomplete class type is not allowed
  		insertion_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(585): error: pointer to incomplete class type is not allowed
  		insertion_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(589): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(594): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	*vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
  	                ^

../drivers/net/iavf/iavf_vchnl.c(596): error: identifier "VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2" is undefined
  	args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
  	                    ^

../drivers/net/iavf/iavf_vchnl.c(597): error: identifier "VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2" is undefined
  			    VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
  			    ^

../drivers/net/iavf/iavf_vchnl.c(616): error: incomplete type is not allowed
  	struct virtchnl_vlan_filter_list_v2 vlan_filter;
  	                                    ^

../drivers/net/iavf/iavf_vchnl.c(623): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(624): error: pointer to incomplete class type is not allowed
  		filtering_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(627): error: pointer to incomplete class type is not allowed
  		filtering_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(631): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(637): error: pointer to incomplete class type is not allowed
  	vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
  	^

../drivers/net/iavf/iavf_vchnl.c(638): error: pointer to incomplete class type is not allowed
  	vlan_setting->tci = vlanid;
  	^

../drivers/net/iavf/iavf_vchnl.c(640): error: identifier "VIRTCHNL_OP_ADD_VLAN_V2" is undefined
  	args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
  	                 ^

../drivers/net/iavf/iavf_vchnl.c(640): error: identifier "VIRTCHNL_OP_DEL_VLAN_V2" is undefined
  	args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
  	                                           ^

../drivers/net/iavf/iavf_vchnl.c(660): error: identifier "VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS" is undefined
  	args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
  	           ^

compilation aborted for ../drivers/net/iavf/iavf_vchnl.c (code 2)
[1300/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1301/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #4:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1318/2646] Compiling C object drivers/librte_net_hinic.a.p/meson-generated_.._rte_net_hinic.pmd.c.o
[1319/2646] Compiling C object drivers/librte_net_hinic.so.21.1.p/meson-generated_.._rte_net_hinic.pmd.c.o
[1320/2646] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1321/2646] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1322/2646] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command
[1323/2646] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1324/2646] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1325/2646] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1326/2646] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #5:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1306/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1307/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1308/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1309/2806] Generating rte_net_hinic.sym_chk with a meson_exe.py custom command
[1310/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1311/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rss.c.o
[1312/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1313/2806] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command
[1314/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1315/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1316/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #6:
OS: FC33-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1297/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_mp.c.o
[1298/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1299/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1300/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1301/2815] Generating rte_net_hinic.sym_chk with a meson_exe.py custom command
[1302/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1303/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1304/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:540:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  540 |   stripping_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:543:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  543 |   stripping_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:582:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  582 |   insertion_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:585:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  585 |   insertion_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:624:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  624 |   filtering_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:627:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  627 |   filtering_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:638:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  638 |  vlan_setting->tci = vlanid;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1305/2815] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1306/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1307/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #7:
OS: FC33-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
clang -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1311/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_ethdev.c:337:35: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                         ^
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
5 errors generated.
[1312/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1313/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1314/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1315/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
In file included from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1316/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:177:7: error: use of undeclared identifier 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS'
        case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
             ^
../drivers/net/iavf/iavf_vchnl.c:463:3: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
                VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
                ^
../drivers/net/iavf/iavf_vchnl.c:532:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:532:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
               ^
../drivers/net/iavf/iavf_vchnl.c:539:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:540:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:543:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:547:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:552:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:554:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:555:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
../drivers/net/iavf/iavf_vchnl.c:574:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:574:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
               ^
../drivers/net/iavf/iavf_vchnl.c:581:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:582:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:585:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:589:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:594:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:596:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:597:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1317/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1318/2815] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_sse.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:9:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1319/2815] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #8:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1035/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_insert_set':
../drivers/net/iavf/iavf_ethdev.c:337:35: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_filter_set':
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_offload_set':
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_init_vf':
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1036/2030] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command
[1037/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1038/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_execute_vf_cmd':
../drivers/net/iavf/iavf_vchnl.c:177:7: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vf_resource':
../drivers/net/iavf/iavf_vchnl.c:463:3: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_strip_v2':
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of 'vlan_strip' isn't known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable 'vlan_strip' [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_insert_v2':
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of 'vlan_insert' isn't known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable 'vlan_insert' [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_add_del_vlan_v2':
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of 'vlan_filter' isn't known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan'
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: 'VIRTCHNL_OP_ADD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ADD_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: 'VIRTCHNL_OP_DEL_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DEL_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable 'vlan_filter' [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vlan_offload_caps_v2':
../drivers/net/iavf/iavf_vchnl.c:660:13: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1039/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
ninja: build stopped




*Build Failed #9:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1034/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_ethdev.c:337:35: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                         ^
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
5 errors generated.
[1035/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1036/2030] Generating rte_net_i40e.sym_chk with a meson_exe.py custom command
[1037/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1038/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
clang -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:177:7: error: use of undeclared identifier 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS'
        case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
             ^
../drivers/net/iavf/iavf_vchnl.c:463:3: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
                VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
                ^
../drivers/net/iavf/iavf_vchnl.c:532:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:532:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
               ^
../drivers/net/iavf/iavf_vchnl.c:539:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:540:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:543:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:547:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:552:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:554:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:555:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
../drivers/net/iavf/iavf_vchnl.c:574:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:574:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
               ^
../drivers/net/iavf/iavf_vchnl.c:581:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:582:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:585:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:589:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:594:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:596:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:597:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ninja: build stopped




*Build Failed #10:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_insert_set':
../drivers/net/iavf/iavf_ethdev.c:337:35: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_filter_set':
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_offload_set':
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_init_vf':
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1061/1912] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1062/1912] Linking static target drivers/libtmp_rte_net_hinic.a
[1063/1912] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1064/1912] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1065/1912] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_execute_vf_cmd':
../drivers/net/iavf/iavf_vchnl.c:177:7: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vf_resource':
../drivers/net/iavf/iavf_vchnl.c:463:3: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_strip_v2':
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of 'vlan_strip' isn't known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable 'vlan_strip' [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_insert_v2':
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of 'vlan_insert' isn't known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable 'vlan_insert' [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_add_del_vlan_v2':
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of 'vlan_filter' isn't known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan'
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: 'VIRTCHNL_OP_ADD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ADD_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: 'VIRTCHNL_OP_DEL_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DEL_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable 'vlan_filter' [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vlan_offload_caps_v2':
../drivers/net/iavf/iavf_vchnl.c:660:13: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
ninja: build stopped




*Build Failed #11:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1031/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1032/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_insert_set':
../drivers/net/iavf/iavf_ethdev.c:337:35: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_filter_set':
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_dev_vlan_offload_set':
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_init_vf':
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1033/2030] Generating rte_net_i40e.pmd.c with a custom command
[1034/2030] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field 'vlan_v2_caps' has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_execute_vf_cmd':
../drivers/net/iavf/iavf_vchnl.c:177:7: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vf_resource':
../drivers/net/iavf/iavf_vchnl.c:463:3: error: 'VIRTCHNL_VF_OFFLOAD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_VLAN'?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_strip_v2':
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of 'vlan_strip' isn't known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable 'vlan_strip' [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_config_vlan_insert_v2':
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of 'vlan_insert' isn't known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable 'vlan_insert' [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_add_del_vlan_v2':
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of 'vlan_filter' isn't known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan_supported_caps'
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: 'VIRTCHNL_VLAN_ETHERTYPE_8100' undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type 'struct virtchnl_vlan'
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: 'VIRTCHNL_OP_ADD_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_ADD_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: 'VIRTCHNL_OP_DEL_VLAN_V2' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_DEL_VLAN'?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable 'vlan_filter' [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vlan_offload_caps_v2':
../drivers/net/iavf/iavf_vchnl.c:660:13: error: 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS' undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1035/2030] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
ninja: build stopped




*Build Failed #12:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1303/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_mp.c.o
[1304/2806] Generating rte_net_hinic.sym_chk with a custom command (wrapped by meson to capture output)
[1305/2806] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output)
[1306/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1307/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1308/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1309/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1310/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1311/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #13:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
clang -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1303/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_ethdev.c:337:35: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                         ^
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
5 errors generated.
[1304/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1305/2709] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1306/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:177:7: error: use of undeclared identifier 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS'
        case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
             ^
../drivers/net/iavf/iavf_vchnl.c:463:3: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
                VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
                ^
../drivers/net/iavf/iavf_vchnl.c:532:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:532:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
               ^
../drivers/net/iavf/iavf_vchnl.c:539:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:540:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:543:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:547:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:552:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:554:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:555:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
../drivers/net/iavf/iavf_vchnl.c:574:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:574:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
               ^
../drivers/net/iavf/iavf_vchnl.c:581:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:582:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:585:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:589:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:594:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:596:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:597:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1307/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1308/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1309/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
In file included from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1310/2709] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_sse.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:9:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1311/2709] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #14:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:0,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1301/2707] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:0:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1302/2707] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1303/2707] Generating symbol file drivers/librte_net_i40e.so.21.1.p/librte_net_i40e.so.21.1.symbols
[1304/2707] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:0:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1305/2707] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1306/2707] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:0:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN_V2’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_ADD_VLAN_V2
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1307/2707] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #15:
OS: CentOsStream8-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1305/2806] Compiling C object drivers/librte_net_i40e.so.21.1.p/meson-generated_.._rte_net_i40e.pmd.c.o
[1306/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev_vf.c.o
[1307/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1308/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1309/2806] Generating rte_net_hinic.sym_chk with a custom command (wrapped by meson to capture output)
[1310/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1311/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       VIRTCHNL_OP_GET_RSS_HENA_CAPS
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_strip;
                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  struct virtchnl_vlan_offload vlan_insert;
                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  if (supported_caps->outer) {
                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function); did you mean ‘VIRTCHNL_QUEUE_TYPE_RX’?
  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
                         VIRTCHNL_QUEUE_TYPE_RX
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                   ^~~~~~~~~~~~~~~~~~~~~~~
                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  struct virtchnl_vlan_filter_list_v2 vlan_filter;
                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_GET_RSS_HENA_CAPS’?
  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
             VIRTCHNL_OP_GET_RSS_HENA_CAPS
cc1: all warnings being treated as errors
[1312/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1313/2806] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  struct virtchnl_vlan_caps vlan_v2_caps;
                            ^~~~~~~~~~~~
[1314/2806] Generating rte_net_i40e.sym_chk with a custom command (wrapped by meson to capture output)
[1315/2806] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #16:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1138/2362] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1139/2362] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1140/2362] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_rx.c.o
[1141/2362] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1142/2362] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1143/2362] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_ethdev.c.o
[1144/2362] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_flow.c.o
[1145/2362] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1146/2362] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
ninja: build stopped




*Build Failed #17:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1308/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1309/2802] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
clang -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1310/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_ethdev.c:337:35: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
                                         ^
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
                                       ^
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
        if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
                                       ^
5 errors generated.
[1311/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1312/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:177:7: error: use of undeclared identifier 'VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS'
        case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
             ^
../drivers/net/iavf/iavf_vchnl.c:463:3: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_VLAN_V2'
                VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
                ^
../drivers/net/iavf/iavf_vchnl.c:532:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:532:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_strip;
               ^
../drivers/net/iavf/iavf_vchnl.c:539:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:540:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:543:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                stripping_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:531:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:547:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:552:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:554:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:555:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
../drivers/net/iavf/iavf_vchnl.c:574:31: error: variable has incomplete type 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
                                     ^
../drivers/net/iavf/iavf_vchnl.c:574:9: note: forward declaration of 'struct virtchnl_vlan_offload'
        struct virtchnl_vlan_offload vlan_insert;
               ^
../drivers/net/iavf/iavf_vchnl.c:581:20: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
        if (supported_caps->outer) {
            ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:582:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->outer;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:585:34: error: incomplete definition of type 'struct virtchnl_vlan_supported_caps'
                insertion_caps = supported_caps->inner;
                                 ~~~~~~~~~~~~~~^
../drivers/net/iavf/iavf_vchnl.c:573:9: note: forward declaration of 'struct virtchnl_vlan_supported_caps'
        struct virtchnl_vlan_supported_caps *supported_caps;
               ^
../drivers/net/iavf/iavf_vchnl.c:589:25: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
                               ^
../drivers/net/iavf/iavf_vchnl.c:594:18: error: use of undeclared identifier 'VIRTCHNL_VLAN_ETHERTYPE_8100'
        *vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
                        ^
../drivers/net/iavf/iavf_vchnl.c:596:22: error: use of undeclared identifier 'VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING'?
        args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:124:2: note: 'VIRTCHNL_OP_ENABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_ENABLE_VLAN_STRIPPING = 27,
        ^
../drivers/net/iavf/iavf_vchnl.c:597:8: error: use of undeclared identifier 'VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2'; did you mean 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING'?
                            VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/common/iavf/virtchnl.h:125:2: note: 'VIRTCHNL_OP_DISABLE_VLAN_STRIPPING' declared here
        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING = 28,
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1313/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1314/2802] Generating symbol file drivers/librte_net_i40e.so.21.1.p/librte_net_i40e.so.21.1.symbols
[1315/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
clang -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field has incomplete type 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
                                  ^
../drivers/net/iavf/iavf.h:142:9: note: forward declaration of 'struct virtchnl_vlan_caps'
        struct virtchnl_vlan_caps vlan_v2_caps;
               ^
1 error generated.
[1316/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #18:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1307/2802] Linking target drivers/librte_net_i40e.so.21.1
[1308/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1309/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1310/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1311/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:540:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  540 |   stripping_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:543:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  543 |   stripping_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:582:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  582 |   insertion_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:585:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  585 |   insertion_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:624:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  624 |   filtering_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:627:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  627 |   filtering_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:638:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  638 |  vlan_setting->tci = vlanid;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1312/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1313/2802] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1314/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1315/2802] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #19:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
icc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h(11),
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c(5):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

compilation aborted for ../drivers/net/iavf/iavf_rxtx_vec_avx512.c (code 2)
[1299/2756] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_mp.c.o
[1300/2756] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_stats.c.o
[1301/2756] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev_vf.c.o
[1302/2756] Linking target drivers/librte_net_i40e.so.21.1
[1303/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
icc -Idrivers/libtmp_rte_net_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 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c(28):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

../drivers/net/iavf/iavf_ethdev.c(337): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
  	                                 ^

../drivers/net/iavf/iavf_ethdev.c(1038): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
  	                               ^

../drivers/net/iavf/iavf_ethdev.c(1111): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
  	                               ^

../drivers/net/iavf/iavf_ethdev.c(1997): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  	if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
  	                               ^

compilation aborted for ../drivers/net/iavf/iavf_ethdev.c (code 2)
[1304/2756] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
icc -Idrivers/libtmp_rte_net_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 -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c(23):
../drivers/net/iavf/iavf.h(142): error: incomplete type is not allowed
  	struct virtchnl_vlan_caps vlan_v2_caps;
  	                          ^

../drivers/net/iavf/iavf_vchnl.c(177): error: identifier "VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS" is undefined
  	case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
  	     ^

../drivers/net/iavf/iavf_vchnl.c(463): error: identifier "VIRTCHNL_VF_OFFLOAD_VLAN_V2" is undefined
  		VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
  		^

../drivers/net/iavf/iavf_vchnl.c(532): error: incomplete type is not allowed
  	struct virtchnl_vlan_offload vlan_strip;
  	                             ^

../drivers/net/iavf/iavf_vchnl.c(539): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(540): error: pointer to incomplete class type is not allowed
  		stripping_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(543): error: pointer to incomplete class type is not allowed
  		stripping_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(547): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(552): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	*vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
  	                ^

../drivers/net/iavf/iavf_vchnl.c(554): error: identifier "VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2" is undefined
  	args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
  	                    ^

../drivers/net/iavf/iavf_vchnl.c(555): error: identifier "VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2" is undefined
  			    VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
  			    ^

../drivers/net/iavf/iavf_vchnl.c(574): error: incomplete type is not allowed
  	struct virtchnl_vlan_offload vlan_insert;
  	                             ^

../drivers/net/iavf/iavf_vchnl.c(581): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(582): error: pointer to incomplete class type is not allowed
  		insertion_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(585): error: pointer to incomplete class type is not allowed
  		insertion_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(589): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(594): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	*vlan_setting = VIRTCHNL_VLAN_ETHERTYPE_8100;
  	                ^

../drivers/net/iavf/iavf_vchnl.c(596): error: identifier "VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2" is undefined
  	args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
  	                    ^

../drivers/net/iavf/iavf_vchnl.c(597): error: identifier "VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2" is undefined
  			    VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
  			    ^

../drivers/net/iavf/iavf_vchnl.c(616): error: incomplete type is not allowed
  	struct virtchnl_vlan_filter_list_v2 vlan_filter;
  	                                    ^

../drivers/net/iavf/iavf_vchnl.c(623): error: pointer to incomplete class type is not allowed
  	if (supported_caps->outer) {
  	    ^

../drivers/net/iavf/iavf_vchnl.c(624): error: pointer to incomplete class type is not allowed
  		filtering_caps = supported_caps->outer;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(627): error: pointer to incomplete class type is not allowed
  		filtering_caps = supported_caps->inner;
  		                 ^

../drivers/net/iavf/iavf_vchnl.c(631): error: identifier "VIRTCHNL_VLAN_ETHERTYPE_8100" is undefined
  	if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
  	                       ^

../drivers/net/iavf/iavf_vchnl.c(637): error: pointer to incomplete class type is not allowed
  	vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
  	^

../drivers/net/iavf/iavf_vchnl.c(638): error: pointer to incomplete class type is not allowed
  	vlan_setting->tci = vlanid;
  	^

../drivers/net/iavf/iavf_vchnl.c(640): error: identifier "VIRTCHNL_OP_ADD_VLAN_V2" is undefined
  	args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
  	                 ^

../drivers/net/iavf/iavf_vchnl.c(640): error: identifier "VIRTCHNL_OP_DEL_VLAN_V2" is undefined
  	args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
  	                                           ^

../drivers/net/iavf/iavf_vchnl.c(660): error: identifier "VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS" is undefined
  	args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
  	           ^

compilation aborted for ../drivers/net/iavf/iavf_vchnl.c (code 2)
[1305/2756] Compiling C object drivers/libtmp_rte_net_hinic.a.p/net_hinic_hinic_pmd_tx.c.o
[1306/2756] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1307/2756] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #20:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1308/2612] Linking target drivers/librte_net_i40e.so.21.1
[1309/2612] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
FAILED: drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/libiavf_avx512_lib.a.p -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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -MF drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o.d -o drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1310/2612] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1311/2612] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1312/2612] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan_supported_caps’
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: dereferencing pointer to incomplete type ‘struct virtchnl_vlan’
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1313/2612] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1314/2612] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_ethdev.c.o
[1315/2612] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_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 -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 -DCC_AVX512_SUPPORT -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
In file included from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1316/2612] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
ninja: build stopped




*Build Failed #21:
OS: UB2010-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o 
gcc -Idrivers/net/iavf/cd88e11@@iavf_avx512_lib at sta -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -mavx512f -mavx512bw -march=skylake-avx512 -MD -MQ 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o' -MF 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o.d' -o 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o' -c ../drivers/net/iavf/iavf_rxtx_vec_avx512.c
In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11,
                 from ../drivers/net/iavf/iavf_rxtx_vec_avx512.c:5:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1315/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3 at sta/net_hns3_hns3_mp.c.o'.
[1316/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3 at sta/net_hns3_hns3_ethdev.c.o'.
[1317/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c
In file included from ../drivers/net/iavf/iavf_rxtx.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1318/2805] Generating symbol file 'drivers/a715181@@rte_net_i40e at sha/librte_net_i40e.so.21.1.symbols'.
[1319/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o' -c ../drivers/net/iavf/iavf_fdir.c
In file included from ../drivers/net/iavf/iavf_fdir.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1320/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_vchnl.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_vchnl.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c
In file included from ../drivers/net/iavf/iavf_vchnl.c:23:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’:
../drivers/net/iavf/iavf_vchnl.c:177:7: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  177 |  case VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS:
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:177:7: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’:
../drivers/net/iavf/iavf_vchnl.c:463:3: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  463 |   VIRTCHNL_VF_OFFLOAD_VLAN_V2 |
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_strip_v2’:
../drivers/net/iavf/iavf_vchnl.c:532:31: error: storage size of ‘vlan_strip’ isn’t known
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:539:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  539 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:540:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  540 |   stripping_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:543:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  543 |   stripping_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:547:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  547 |  if (!(stripping_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:554:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  554 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_STRIPPING_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:555:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  555 |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:532:31: error: unused variable ‘vlan_strip’ [-Werror=unused-variable]
  532 |  struct virtchnl_vlan_offload vlan_strip;
      |                               ^~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_config_vlan_insert_v2’:
../drivers/net/iavf/iavf_vchnl.c:574:31: error: storage size of ‘vlan_insert’ isn’t known
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:581:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  581 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:582:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  582 |   insertion_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:585:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  585 |   insertion_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:589:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  589 |  if (!(insertion_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:596:22: error: ‘VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ENABLE_VLAN_STRIPPING’?
  596 |  args.ops = enable ? VIRTCHNL_OP_ENABLE_VLAN_INSERTION_V2 :
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                      VIRTCHNL_OP_ENABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:597:8: error: ‘VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DISABLE_VLAN_STRIPPING’?
  597 |        VIRTCHNL_OP_DISABLE_VLAN_INSERTION_V2;
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |        VIRTCHNL_OP_DISABLE_VLAN_STRIPPING
../drivers/net/iavf/iavf_vchnl.c:574:31: error: unused variable ‘vlan_insert’ [-Werror=unused-variable]
  574 |  struct virtchnl_vlan_offload vlan_insert;
      |                               ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_add_del_vlan_v2’:
../drivers/net/iavf/iavf_vchnl.c:616:38: error: storage size of ‘vlan_filter’ isn’t known
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:623:20: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  623 |  if (supported_caps->outer) {
      |                    ^~
../drivers/net/iavf/iavf_vchnl.c:624:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  624 |   filtering_caps = supported_caps->outer;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:627:34: error: invalid use of undefined type ‘struct virtchnl_vlan_supported_caps’
  627 |   filtering_caps = supported_caps->inner;
      |                                  ^~
../drivers/net/iavf/iavf_vchnl.c:631:25: error: ‘VIRTCHNL_VLAN_ETHERTYPE_8100’ undeclared (first use in this function)
  631 |  if (!(filtering_caps & VIRTCHNL_VLAN_ETHERTYPE_8100))
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c:637:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  637 |  vlan_setting->tpid = RTE_ETHER_TYPE_VLAN;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:638:14: error: invalid use of undefined type ‘struct virtchnl_vlan’
  638 |  vlan_setting->tci = vlanid;
      |              ^~
../drivers/net/iavf/iavf_vchnl.c:640:19: error: ‘VIRTCHNL_OP_ADD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_ADD_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                   ^~~~~~~~~~~~~~~~~~~~~~~
      |                   VIRTCHNL_OP_ADD_VLAN
../drivers/net/iavf/iavf_vchnl.c:640:45: error: ‘VIRTCHNL_OP_DEL_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_DEL_VLAN’?
  640 |  args.ops = add ? VIRTCHNL_OP_ADD_VLAN_V2 : VIRTCHNL_OP_DEL_VLAN_V2;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                                             VIRTCHNL_OP_DEL_VLAN
../drivers/net/iavf/iavf_vchnl.c:616:38: error: unused variable ‘vlan_filter’ [-Werror=unused-variable]
  616 |  struct virtchnl_vlan_filter_list_v2 vlan_filter;
      |                                      ^~~~~~~~~~~
../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vlan_offload_caps_v2’:
../drivers/net/iavf/iavf_vchnl.c:660:13: error: ‘VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS’ undeclared (first use in this function)
  660 |  args.ops = VIRTCHNL_OP_GET_OFFLOAD_VLAN_V2_CAPS;
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1321/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o' -c ../drivers/net/iavf/iavf_generic_flow.c
In file included from ../drivers/net/iavf/iavf_generic_flow.c:18:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
[1322/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o'.
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../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_telemetry/../librte_metrics -I../lib/librte_telemetry/../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 -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o' -c ../drivers/net/iavf/iavf_ethdev.c
In file included from ../drivers/net/iavf/iavf_ethdev.c:28:
../drivers/net/iavf/iavf.h:142:28: error: field ‘vlan_v2_caps’ has incomplete type
  142 |  struct virtchnl_vlan_caps vlan_v2_caps;
      |                            ^~~~~~~~~~~~
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_insert_set’:
../drivers/net/iavf/iavf_ethdev.c:337:35: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
  337 |  if (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2))
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c:337:35: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_filter_set’:
../drivers/net/iavf/iavf_ethdev.c:1038:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1038 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_dev_vlan_offload_set’:
../drivers/net/iavf/iavf_ethdev.c:1111:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1111 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2)
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’:
../drivers/net/iavf/iavf_ethdev.c:1997:33: error: ‘VIRTCHNL_VF_OFFLOAD_VLAN_V2’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_VLAN’?
 1997 |  if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_VLAN_V2) {
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                 VIRTCHNL_VF_OFFLOAD_VLAN
[1323/2805] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3 at sta/net_hns3_hns3_rxtx.c.o'.
ninja: build stopped


DPDK STV team


More information about the test-report mailing list