Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/66682 _Compilation issues_ Submitter: Leyi Rong Date: 2020-03-16 07:45:58 Reply_mail: 20200316074603.10998-8-leyi.rong@intel.com DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: f2d4b03a17dbcd9b6e06106c0663a8201df1f31b Makefile build Summary: 23 Builds Done, 0 Successful, 23 Failures Meson build Summary: 8 Builds Done, 2 Successful, 6 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +----------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +----------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL80-64 | FAIL | | | | | | | | UB1804-64 | FAIL | FAIL | FAIL | | | FAIL | pass | | UB1604-32 | FAIL | | | | | FAIL | | | CENTOS77-64 | FAIL | FAIL | FAIL | FAIL | FAIL | FAIL | | | UB1604-64 | FAIL | FAIL | | | | | | | WIN10-64 | | | | | | pass | | | UB1910-64 | FAIL | | | | | | | | FC31-64 | FAIL | FAIL | | | | FAIL | | | CENTOS80-64 | FAIL | | | | | | | | FreeBSD1201-64 | FAIL | FAIL | | FAIL | FAIL | FAIL | | | RHEL77-64 | FAIL | | | | | | | | SUSE15-64 | FAIL | FAIL | | | | FAIL | | +----------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-icc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: CENTOS77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc OS: UB1910-64 Kernel Version: 5.3.0-18-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 9.2.1-9ubuntu2) 9.2.1 20191008 Clang Version: 9.0.0-2 (tags/RELEASE_900/final) x86_64-native-linuxapp-gcc OS: CENTOS80-64 Kernel Version: 4.18.0-80.11.2.el8_0.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 7.0.1 (tags/RELEASE_701/final) x86_64-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-170-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC31-64 Kernel Version: 5.3.15-300.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz (2494.19-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+debug x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc x86_64-native-bsdapp-gcc+shared OS: RHEL77-64 Kernel Version: 3.10.0-1062.9.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** Meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: CENTOS77-64 Kernel Version: 3.10.0-1062.12.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FC31-64 Kernel Version: 5.4.18-200.fc31.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) Clang Version: 9.0.0 (Fedora 9.0.0-1.fc31) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: FreeBSD1201-64 Kernel Version: 12.1-RELEASE CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-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) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.12.82-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.4.1 20190905 [gcc-7-branch revision 275407] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) ./build-gcc-static ./build-gcc-shared ./build-clang-static ./build-clang-shared ./build-x86-default *Make Build Failed #1: OS: UB1604-64 Target: x86_64-native-linuxapp-clang ^ /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors generated. /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 1 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ice_common.o CC ice_controlq.o CC hinic_pmd_wq.o CC fm10k_api.o -- CC i40e_ethdev_vf.o.pmd.o LD i40e_ethdev_vf.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[6]: warning: Clock skew detected. Your build may be incomplete. /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #2: OS: UB1604-32 Target: i686-native-linuxapp-gcc /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC fm10k_tlv.o CC e1000_osdep.o In file included from /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:22:0: /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type -- /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^ /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_vchnl.o' failed make[6]: *** [iavf_vchnl.o] Error 1 /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC e1000_vf.o CC e1000_phy.o CC i40e_common.o AR librte_pmd_failsafe.a -- CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[6]: warning: Clock skew detected. Your build may be incomplete. /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #3: OS: UB1910-64 Target: x86_64-native-linuxapp-gcc /root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES == Build drivers/net/ice make[6]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: iavf_ethdev.o] Error 1 make[5]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:37: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC base/vnic_wq.o CC fm10k_common.o PMDINFO hns3_ethdev_vf.o.pmd.c CC hns3_ethdev_vf.o.pmd.o -- CC ice_ethdev.o.pmd.o LD ice_ethdev.o AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[6]: warning: Clock skew detected. Your build may be incomplete. make[4]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/UB1910-64_K5.3.0_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #4: OS: UB1804-64 Target: x86_64-native-linuxapp-icc /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c(1247): error: identifier "VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC" is undefined if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ compilation aborted for /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c (code 2) /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 2 /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC i40e_diag.o CC l2t.o CC igb_rxtx.o PMDINFO fm10k_ethdev.o.pmd.c -- INSTALL-LIB librte_pmd_ice.a make[6]: warning: Clock skew detected. Your build may be incomplete. AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[6]: warning: Clock skew detected. Your build may be incomplete. /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #5: OS: UB1804-64 Target: x86_64-native-linuxapp-clang /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors generated. PMDINFO igb_ethdev.o.pmd.c /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 1 /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC igb_ethdev.o.pmd.o CC hns3_flow.o LD igb_ethdev.o CC igb_pf.o -- CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[6]: warning: Clock skew detected. Your build may be incomplete. /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #6: OS: CENTOS77-64 Target: x86_64-native-linuxapp-clang ^ /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors generated. make[6]: *** [iavf_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC i40e_hmc.o CC i40e_lan_hmc.o In file included from /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:22: /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf.h:110:27: error: field has incomplete type 'struct virtchnl_pkg_info' -- if (unlikely(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S))) ^ /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/x86_64-native-linuxapp-clang/include/rte_branch_prediction.h:38:41: note: expanded from macro 'unlikely' #define unlikely(x) __builtin_expect(!!(x), 0) ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. make[6]: *** [iavf_rxtx.o] Error 1 /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:601:8: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && ^ CC hns3_rss.o CC i40e_nvm.o -- ^ /root/CENTOS77-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:639:13: error: use of undeclared identifier 'VIRTCHNL_OP_PACKAGE_INFO' args.ops = VIRTCHNL_OP_PACKAGE_INFO; ^ 17 errors generated. make[6]: *** [iavf_vchnl.o] Error 1 make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/ice CC hns3_flow.o CC i40e_dcb.o CC i40e_ethdev.o -- PMDINFO ice_ethdev.o.pmd.c CC ice_ethdev.o.pmd.o LD ice_ethdev.o AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #7: OS: CENTOS77-64 Target: x86_64-native-linuxapp-gcc+debug /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [iavf_ethdev.o] Error 1 CC base/vnic_intr.o == Build drivers/net/ionic make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC base/vnic_rq.o CC hinic_pmd_flow.o CC i40e_ethdev_vf.o CC hns3_flow.o -- PMDINFO ice_ethdev.o.pmd.c CC ice_ethdev.o.pmd.o LD ice_ethdev.o AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #8: OS: CENTOS77-64 Target: x86_64-native-linuxapp-gcc /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [iavf_ethdev.o] Error 1 make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ice_common.o PMDINFO hns3_ethdev.o.pmd.c CC hns3_ethdev.o.pmd.o LD hns3_ethdev.o -- PMDINFO i40e_ethdev.o.pmd.c CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #9: OS: CENTOS77-64 Target: x86_64-native-linuxapp-gcc+shared /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/CENTOS77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [iavf_ethdev.o] Error 1 make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC hinic_pmd_mgmt.o CC hinic_pmd_niccfg.o LD librte_pmd_fm10k.so.20.0.2 CC i40e_common.o -- INSTALL-LIB librte_pmd_ice.so.20.0.2 LD librte_pmd_ixgbe.so.20.0.2 INSTALL-LIB librte_pmd_ixgbe.so.20.0.2 LD librte_pmd_i40e.so.20.0.2 INSTALL-LIB librte_pmd_i40e.so.20.0.2 make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #10: OS: CENTOS80-64 Target: x86_64-native-linuxapp-gcc ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES /root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ CC e1000_vf.o make[6]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: iavf_ethdev.o] Error 1 make[5]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC igb_ethdev.o CC failsafe_intr.o AR librte_pmd_cxgbe.a CC fm10k_api.o -- PMDINFO i40e_ethdev.o.pmd.c CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/CENTOS80-64_K4.18.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #11: OS: CENTOS77-64 Target: x86_64-native-linuxapp-icc /root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c(1247): error: identifier "VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC" is undefined if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ compilation aborted for /root/CENTOS77-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c (code 2) make[6]: *** [iavf_ethdev.o] Error 2 make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC i40e_common.o CC fm10k_rxtx.o CC igb_rxtx.o CC failsafe_eal.o -- AR librte_pmd_enic.a INSTALL-LIB librte_pmd_i40e.a INSTALL-LIB librte_pmd_enic.a AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #12: OS: FC31-64 Target: x86_64-native-linuxapp-gcc | ^~~~~~~~~~~~~~~~~~~~~~~~ /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ 653 | sizeof(struct virtchnl_pkg_info)); | ^~~~~~ CC hinic_pmd_mbox.o make[6]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_vchnl.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES CC i40e_common.o make[6]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 make[5]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC hinic_pmd_flow.o CC i40e_diag.o CC i40e_hmc.o CC hinic_pmd_ethdev.o -- LD nitrox_device.o AR librte_pmd_nitrox.a INSTALL-LIB librte_pmd_nitrox.a AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/FC31-64_K5.3.14_GCC9.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #13: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES /root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ make[6]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 make[5]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:37: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/ice CC hns3_mbx.o CC hinic_pmd_hwdev.o PMDINFO hns3_ethdev.o.pmd.c -- LD i40e_ethdev.o AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #14: OS: RHEL77-64 Target: x86_64-native-linuxapp-gcc /root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/RHEL77-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [iavf_ethdev.o] Error 1 make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC fm10k_rxtx_vec.o CC hinic_pmd_mgmt.o SYMLINK-FILE include/rte_pmd_i40e.h CC igb_flow.o -- PMDINFO ice_ethdev.o.pmd.c CC ice_ethdev.o.pmd.o LD ice_ethdev.o AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[4]: *** [net] Error 2 make[3]: *** [drivers] Error 2 make[2]: *** [all] Error 2 make[1]: *** [pre_install] Error 2 make: *** [install] Error 2 *Make Build Failed #15: OS: RHEL80-64 Target: x86_64-native-linuxapp-gcc ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES CC hns3_mp.o /root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ make[6]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: iavf_ethdev.o] Error 1 make[5]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC hinic_pmd_nicio.o CC i40e_hmc.o CC i40e_lan_hmc.o AR librte_pmd_fm10k.a -- LD i40e_ethdev_vf.o AR librte_pmd_hinic.a INSTALL-LIB librte_pmd_hinic.a AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #16: OS: FC31-64 Target: x86_64-native-linuxapp-clang ^ /root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors generated. make[6]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 CC base/vnic_intr.o CC hinic_pmd_niccfg.o CC nitrox_logs.o CC base/vnic_rq.o CC nitrox_sym.o CC caam_jr_hw.o PMDINFO em_ethdev.o.pmd.c CC em_ethdev.o.pmd.o make[5]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/ice CC caam_jr_uio.o LD em_ethdev.o CC hns3_rss.o -- CC ice_generic_flow.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[4]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/FC31-64_K5.3.14_Clang9.0.0/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #17: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang ^ /root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors generated. make[6]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: iavf_ethdev.o] Error 1 make[5]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC hinic_pmd_mbox.o CC base/vnic_dev.o CC fm10k_rxtx_vec.o CC i40e_common.o -- PMDINFO i40e_ethdev.o.pmd.c CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/root/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #18: OS: UB1604-64 Target: x86_64-native-linuxapp-gcc /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... == Build drivers/net/ionic SYMLINK-FILE include/rte_pmd_ice.h CC ice_controlq.o In file included from /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:22:0: -- /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^ /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_vchnl.o' failed make[6]: *** [iavf_vchnl.o] Error 1 /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC em_ethdev.o CC ice_common.o CC i40e_common.o CC i40e_diag.o -- AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a make[6]: warning: Clock skew detected. Your build may be incomplete. /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #19: OS: UB1804-64 Target: x86_64-native-linuxapp-gcc if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_ethdev.o' failed make[6]: *** [iavf_ethdev.o] Error 1 make[6]: *** Waiting for unfinished jobs.... /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? case VIRTCHNL_OP_PACKAGE_INFO: ^~~~~~~~~~~~~~~~~~~~~~~~ -- _mm_load_si128((void *)(rxdp + 1)); ^ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx_vec_avx2.c:786:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 0)); ^ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_rxtx_vec_sse.o' failed make[6]: *** [iavf_rxtx_vec_sse.o] Error 1 CC ice_controlq.o == Build drivers/net/ionic /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? args.ops = VIRTCHNL_OP_PACKAGE_INFO; -- /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx_vec_avx2.c:995:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_vchnl.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_vchnl.o' failed make[6]: *** [iavf_vchnl.o] Error 1 == Build drivers/net/ixgbe /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx_vec_avx2.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_rxtx_vec_avx2.o' failed make[6]: *** [iavf_rxtx_vec_avx2.o] Error 1 == Build drivers/net/liquidio /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx.c:1063:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN -- /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx.c:2420:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_rxtx.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'iavf_rxtx.o' failed make[6]: *** [iavf_rxtx.o] Error 1 /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'iavf' failed make[5]: *** [iavf] Error 2 make[5]: *** Waiting for unfinished jobs.... CC hns3_flow.o CC fm10k_tlv.o CC ionic_rxtx.o CC ice_common.o -- LD ice_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a AR librte_pmd_ice.a INSTALL-LIB librte_pmd_ice.a /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /root/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #20: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+debug /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: iavf] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC base/vnic_wq.o CC base/vnic_dev.o CC failsafe_rxtx.o SYMLINK-FILE include/rte_pmd_ice.h -- PMDINFO ixgbe_ethdev.o.pmd.c CC ixgbe_ethdev.o.pmd.o LD ixgbe_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #21: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-clang : error: use of undeclared identifier 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ 3 errors CC t4vf_hw.o generated. gmake[6]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:37: iavf] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC fm10k_common.o CC failsafe_flow.o CC e1000_osdep.o CC fm10k_mbx.o -- PMDINFO i40e_ethdev.o.pmd.c CC i40e_ethdev.o.pmd.o LD i40e_ethdev.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a gmake[4]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_Clang8.0.1/x86_64-native-bsdapp-clang/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #22: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc /root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES SYMLINK-FILE include/rte_pmd_i40e.h gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:37: iavf] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC nitrox_sym_reqmgr.o CC enic_res.o PMDINFO fm10k_ethdev.o.pmd.c CC fm10k_ethdev.o.pmd.o -- LD ice_ethdev.o AR librte_pmd_i40e.a AR librte_pmd_ice.a INSTALL-LIB librte_pmd_i40e.a INSTALL-LIB librte_pmd_ice.a gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC9.2.0/x86_64-native-bsdapp-gcc/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #23: OS: FreeBSD1201-64 Target: x86_64-native-bsdapp-gcc+shared /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in /root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/drivers/net/iavf/iavf_ethdev.c:1247:33: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES gmake[6]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/internal/rte.compile-pre.mk:116: iavf_ethdev.o] Error 1 gmake[5]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:37: iavf] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC base/vnic_wq.o CC e1000_phy.o CC t4vf_hw.o CC i40e_dcb.o -- PMDINFO ice_ethdev.o.pmd.c CC ice_ethdev.o.pmd.o LD ice_ethdev.o LD librte_pmd_ice.so.20.0.2 INSTALL-LIB librte_pmd_ice.so.20.0.2 gmake[4]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/root/FreeBSD1201-64_K12.1_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/b9ae86bb81f84e8fa16c7e7581a51b24/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Meson Build Failed #1: OS: UB1604-32 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: ../drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) case VIRTCHNL_OP_PACKAGE_INFO: ^ ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function) case VIRTCHNL_OP_RXDID: ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’: ../drivers/net/iavf/iavf_vchnl.c:344:3: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_QUERY_DDP | ^ ../drivers/net/iavf/iavf_vchnl.c:345:3: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_supported_rxdid’: ../drivers/net/iavf/iavf_vchnl.c:389:13: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function) args.ops = VIRTCHNL_OP_RXDID; ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_configure_queues’: ../drivers/net/iavf/iavf_vchnl.c:601:8: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && ^ In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8:0, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { ^ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’ #define BIT(a) (1UL << (a)) ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: ‘IAVF_RXDID_LEGACY_1’ undeclared (first use in this function) vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: ../drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) args.ops = VIRTCHNL_OP_PACKAGE_INFO; ^ ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^ [949/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’: ../drivers/net/iavf/iavf_ethdev.c:1240:33: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QUERY_DDP) { ^ ../drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ [950/1973] Linking static target drivers/net/hinic/base/libhinic_base.a. [951/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_olflags_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_ptype_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function) const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘_recv_raw_pkts_vec_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ In file included from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:10:0: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:16: note: in expansion of macro ‘iavf_rx_flex_desc’ rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (!(rxdp->wb.status_error0 & ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:7: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_VPMD_DESCS_PER_LOOP) { ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ [952/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'. [953/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e@sta/net_i40e_i40e_ethdev.c.o'. [954/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_rx.c.o'. [955/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c In file included from ../drivers/net/iavf/iavf_rxtx.c:27:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^ ../drivers/net/iavf/iavf_rxtx.h:62:27: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_to_vlan_tci’: ../drivers/net/iavf/iavf_rxtx.c:721:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_64(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:83:30: note: in definition of macro ‘rte_le_to_cpu_64’ #define rte_le_to_cpu_64(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S)) { ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: note: each undeclared identifier is reported only once for each function it appears in In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.c: At top level: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:791:25: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rxd_to_pkt_fields’: ../drivers/net/iavf/iavf_rxtx.c:798:34: error: dereferencing pointer to incomplete type ‘volatile struct iavf_32b_rx_flex_desc_comms_ovs’ stat_err = rte_le_to_cpu_16(desc->status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ In file included from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:15:0, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_memzone.h:27, from ../drivers/net/iavf/iavf_rxtx.c:16: ../drivers/net/iavf/iavf_rxtx.c:799:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S’ undeclared (first use in this function) if (likely(stat_err & (1 << IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S))) { ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_error_to_pkt_flags’: ../drivers/net/iavf/iavf_rxtx.c:826:35: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’ undeclared (first use in this function) if (unlikely(!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S)))) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ ../drivers/net/iavf/iavf_rxtx.c:812:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’ undeclared (first use in this function) ((1 << IAVF_RX_FLEX_DESC_STATUS0_HBO_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c:813:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c:814:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c:815:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c:816:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c:817:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RXE_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_RXE_S)) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:999:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^ ../drivers/net/iavf/iavf_rxtx.c:1017:17: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1021:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1024:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../drivers/net/iavf/iavf_rxtx.c:1063:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^ ../drivers/net/iavf/iavf_rxtx.c:1073:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function) rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^ ../drivers/net/iavf/iavf_rxtx.c:1010:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl; ^ ../drivers/net/iavf/iavf_rxtx.c:999:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_scattered_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^ ../drivers/net/iavf/iavf_rxtx.c:1125:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1129:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1132:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../drivers/net/iavf/iavf_rxtx.c:1173:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) IAVF_RX_FLX_DESC_PKT_LEN_M; ^ ../drivers/net/iavf/iavf_rxtx.c:1199:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function) if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_EOF_S))) { ^ ../drivers/net/iavf/iavf_rxtx.c:1231:38: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function) first_seg->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^ ../drivers/net/iavf/iavf_rxtx.c:1125:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rx_scan_hw_ring_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1482:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1487:35: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1490:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) if (!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../drivers/net/iavf/iavf_rxtx.c:1497:7: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_LOOK_AHEAD, rxep += IAVF_LOOK_AHEAD) { ^ ../drivers/net/iavf/iavf_rxtx.c:1500:4: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ s[j] = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../drivers/net/iavf/iavf_rxtx.c:1517:4: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ pkt_len = (rte_le_to_cpu_16(rxdp[j].wb.pkt_len) & ^ ../drivers/net/iavf/iavf_rxtx.c:1518:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^ ../drivers/net/iavf/iavf_rxtx.c:1523:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function) mb->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^ ../drivers/net/iavf/iavf_rxtx.c:1524:5: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; ^ ../drivers/net/iavf/iavf_rxtx.c:1525:4: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_flex_rxd_to_vlan_tci(mb, &rxdp[j]); ^ ../drivers/net/iavf/iavf_rxtx.c:1526:4: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_rxd_to_pkt_fields(mb, &rxdp[j]); ^ ../drivers/net/iavf/iavf_rxtx.c:1527:4: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../drivers/net/iavf/iavf_rxtx.c:1482:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘rx_recv_pkts’: ../drivers/net/iavf/iavf_rxtx.c:1736:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_set_rx_function’: ../drivers/net/iavf/iavf_rxtx.c:2205:5: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2337:30: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2338:15: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) { ^ ../drivers/net/iavf/iavf_rxtx.c:2344:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_RXQ_SCAN_INTERVAL; ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count’: ../drivers/net/iavf/iavf_rxtx.c:2366:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2405:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2406:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status’: ../drivers/net/iavf/iavf_rxtx.c:2420:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^ cc1: all warnings being treated as errors [956/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_flow.c.o'. [957/1973] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: FC31-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:110:27: error: field ‘pkg_info’ has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_olflags_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 289 | if (rxq->vsi->adapter->fdir_enabled) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_ptype_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? 380 | const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘_recv_raw_pkts_vec_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 658 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:49: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 713 | rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 726 | if (!(rxdp->wb.status_error0 & | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 727 | rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ 74 | #define rte_cpu_to_le_32(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 759 | rxdp += IAVF_VPMD_DESCS_PER_LOOP) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 773 | descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 784 | descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 787 | descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 833 | if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 838 | ((void *)(&rxdp[3].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 842 | ((void *)(&rxdp[2].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 846 | ((void *)(&rxdp[1].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 850 | ((void *)(&rxdp[0].wb.status_error1)); | ^ [988/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: ../drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) 91 | case VIRTCHNL_OP_PACKAGE_INFO: | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? 92 | case VIRTCHNL_OP_RXDID: | ^~~~~~~~~~~~~~~~~ | VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’: ../drivers/net/iavf/iavf_vchnl.c:344:3: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_RSVD’? 344 | VIRTCHNL_VF_OFFLOAD_QUERY_DDP | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_vchnl.c:345:3: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 345 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_supported_rxdid’: ../drivers/net/iavf/iavf_vchnl.c:389:13: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? 389 | args.ops = VIRTCHNL_OP_RXDID; | ^~~~~~~~~~~~~~~~~ | VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_configure_queues’: ../drivers/net/iavf/iavf_vchnl.c:601:8: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 601 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) 602 | vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’ 23 | #define BIT(a) (1UL << (a)) | ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ 603 | vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; | ^ In file included from ../drivers/net/iavf/iavf.h:13, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ 606 | "Queue[%d]", vc_qp->rxq.rxdid, i); | ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ 17 | __func__, ## args) | ^~~~ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro ‘PMD_DRV_LOG’ 605 | PMD_DRV_LOG(NOTICE, "request RXDID == %d in " | ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ 608 | vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; | ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: ‘IAVF_RXDID_LEGACY_1’ undeclared (first use in this function) 608 | vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; | ^~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/iavf/iavf.h:13, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ 611 | "Queue[%d]", vc_qp->rxq.rxdid, i); | ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ 17 | __func__, ## args) | ^~~~ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro ‘PMD_DRV_LOG’ 610 | PMD_DRV_LOG(NOTICE, "request RXDID == %d in " | ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: ../drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) 639 | args.ops = VIRTCHNL_OP_PACKAGE_INFO; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ 653 | sizeof(struct virtchnl_pkg_info)); | ^~~~~~ [989/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@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:110:27: error: field ‘pkg_info’ has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’: ../drivers/net/iavf/iavf_ethdev.c:1240:33: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_RSVD’? 1240 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QUERY_DDP) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES [990/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -c ../drivers/net/iavf/iavf_rxtx_vec_avx2.c In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘iavf_rxq_rearm’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) 20 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘_iavf_recv_raw_pkts_vec_avx2_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:596:34: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 596 | const uint32_t *type_table = rxq->vsi->adapter->ptype_tbl; | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:602:43: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 602 | (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:619:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 619 | if (!(rxdp->wb.status_error0 & | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_common.h:8, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:620:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 620 | rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ 74 | #define rte_cpu_to_le_32(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:645:4: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_EOF_SHIFT’? 645 | IAVF_RX_FLEX_DESC_STATUS0_EOF_S); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_EOF_SHIFT ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:752:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 752 | rxdp += IAVF_DESCS_PER_LOOP_AVX) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:765:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 765 | _mm_load_si128((void *)(rxdp + 7)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:768:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 768 | _mm_load_si128((void *)(rxdp + 6)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:771:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 771 | _mm_load_si128((void *)(rxdp + 5)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:774:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 774 | _mm_load_si128((void *)(rxdp + 4)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:777:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 777 | _mm_load_si128((void *)(rxdp + 3)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:780:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 780 | _mm_load_si128((void *)(rxdp + 2)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:783:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 783 | _mm_load_si128((void *)(rxdp + 1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:786:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 786 | _mm_load_si128((void *)(rxdp + 0)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:826:22: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? 826 | _mm256_set1_epi16(IAVF_RX_FLEX_DESC_PTYPE_M); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:906:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 906 | if (rxq->vsi->adapter->fdir_enabled) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:962:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 962 | if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:967:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 967 | ((void *)(&rxdp[7].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:971:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 971 | ((void *)(&rxdp[6].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:975:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 975 | ((void *)(&rxdp[5].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:979:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 979 | ((void *)(&rxdp[4].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:983:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 983 | ((void *)(&rxdp[3].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:987:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 987 | ((void *)(&rxdp[2].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:991:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 991 | ((void *)(&rxdp[1].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:995:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 995 | ((void *)(&rxdp[0].wb.status_error1)); | ^ [991/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c In file included from ../drivers/net/iavf/iavf_rxtx.c:27: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ In file included from ../drivers/net/iavf/iavf_rxtx.c:28: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 62 | #define iavf_rx_flex_desc iavf_32b_rx_flex_desc | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro ‘iavf_rx_flex_desc’ 719 | volatile union iavf_rx_flex_desc *rxdp) | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_to_vlan_tci’: ../drivers/net/iavf/iavf_rxtx.c:721:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 721 | if (rte_le_to_cpu_64(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:83:30: note: in definition of macro ‘rte_le_to_cpu_64’ 83 | #define rte_le_to_cpu_64(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT’? 722 | (1 << IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT ../drivers/net/iavf/iavf_rxtx.c:722:9: note: each undeclared identifier is reported only once for each function it appears in In file included from ../drivers/net/iavf/iavf_rxtx.c:28: ../drivers/net/iavf/iavf_rxtx.c: At top level: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 62 | #define iavf_rx_flex_desc iavf_32b_rx_flex_desc | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:791:25: note: in expansion of macro ‘iavf_rx_flex_desc’ 791 | volatile union iavf_rx_flex_desc *rxdp) | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rxd_to_pkt_fields’: ../drivers/net/iavf/iavf_rxtx.c:798:34: error: dereferencing pointer to incomplete type ‘volatile struct iavf_32b_rx_flex_desc_comms_ovs’ 798 | stat_err = rte_le_to_cpu_16(desc->status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ In file included from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:15, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_memzone.h:27, from ../drivers/net/iavf/iavf_rxtx.c:16: ../drivers/net/iavf/iavf_rxtx.c:799:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_TSYNVALID_SHIFT’? 799 | if (likely(stat_err & (1 << IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_error_to_pkt_flags’: ../drivers/net/iavf/iavf_rxtx.c:826:35: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L3L4P_SHIFT’? 826 | if (unlikely(!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ 38 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../drivers/net/iavf/iavf_rxtx.c:812:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 812 | ((1 << IAVF_RX_FLEX_DESC_STATUS0_HBO_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:813:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’ undeclared (first use in this function) 813 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:814:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S’ undeclared (first use in this function) 814 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:815:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’ undeclared (first use in this function) 815 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:816:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S’ undeclared (first use in this function) 816 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:817:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RXE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 817 | (1 << IAVF_RX_FLEX_DESC_STATUS0_RXE_S)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:999:26: error: storage size of ‘rxd’ isn’t known 999 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c:1017:17: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 1017 | ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1021:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 1021 | rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1024:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 1024 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1063:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) 1063 | IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1073:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? 1073 | rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx.c:1010:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] 1010 | const uint32_t *ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:999:26: error: unused variable ‘rxd’ [-Werror=unused-variable] 999 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_scattered_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: storage size of ‘rxd’ isn’t known 1111 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c:1125:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 1125 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1129:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 1129 | rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1132:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 1132 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1173:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) 1173 | IAVF_RX_FLX_DESC_PKT_LEN_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1199:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_EOF_SHIFT’? 1199 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_EOF_S))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_EOF_SHIFT ../drivers/net/iavf/iavf_rxtx.c:1231:38: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? 1231 | first_seg->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx.c:1125:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] 1125 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: unused variable ‘rxd’ [-Werror=unused-variable] 1111 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rx_scan_hw_ring_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1482:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ 1482 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1487:35: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 1487 | stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1490:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 1490 | if (!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1497:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1497 | rxdp += IAVF_LOOK_AHEAD, rxep += IAVF_LOOK_AHEAD) { | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1500:32: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1500 | s[j] = rte_le_to_cpu_16(rxdp[j].wb.status_error0); | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1517:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1517 | pkt_len = (rte_le_to_cpu_16(rxdp[j].wb.pkt_len) & | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1518:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function) 1518 | IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1523:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? 1523 | mb->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1524:26: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1524 | rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1525:39: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1525 | iavf_flex_rxd_to_vlan_tci(mb, &rxdp[j]); | ^ ../drivers/net/iavf/iavf_rxtx.c:1526:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1526 | iavf_rxd_to_pkt_fields(mb, &rxdp[j]); | ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1527:37: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 1527 | stat_err0 = rte_le_to_cpu_16(rxdp[j].wb.status_error0); | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1482:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] 1482 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘rx_recv_pkts’: ../drivers/net/iavf/iavf_rxtx.c:1736:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) 1736 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_set_rx_function’: ../drivers/net/iavf/iavf_rxtx.c:2205:5: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? 2205 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2337:30: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 2337 | rte_le_to_cpu_16(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:2338:15: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 2338 | (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:2344:8: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ 2344 | rxdp += IAVF_RXQ_SCAN_INTERVAL; | ^~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count’: ../drivers/net/iavf/iavf_rxtx.c:2366:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) 2366 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2405:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ 2405 | if (rte_le_to_cpu_16(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:2406:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? 2406 | (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status’: ../drivers/net/iavf/iavf_rxtx.c:2420:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) 2420 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [992/2248] Generating rte_pmd_hinic.exp_chk with a meson_exe.py custom command. [993/2248] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev_security_pdcp.c.o'. [994/2248] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev_asym.c.o'. [995/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_rxtx.c.o'. [996/2248] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e@sta/net_i40e_i40e_ethdev.c.o'. [997/2248] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev_blockcipher.c.o'. [998/2248] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #3: OS: CENTOS77-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’: ../drivers/net/iavf/iavf_ethdev.c:1240:33: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QUERY_DDP) { ^ ../drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^ [988/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_mp.c.o'. [989/2239] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_distributor_perf.c.o'. [990/2239] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_efd.c.o'. [991/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'. [992/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_olflags_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_ptype_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function) const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘_recv_raw_pkts_vec_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^ In file included from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:10:0: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:16: note: in expansion of macro ‘iavf_rx_flex_desc’ rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type if (!(rxdp->wb.status_error0 & ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function) rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:7: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_VPMD_DESCS_PER_LOOP) { ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:3: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:21: error: dereferencing pointer to incomplete type ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:21: error: dereferencing pointer to incomplete type ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:21: error: dereferencing pointer to incomplete type ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:6: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:21: error: dereferencing pointer to incomplete type ((void *)(&rxdp[0].wb.status_error1)); ^ [993/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: ../drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) case VIRTCHNL_OP_PACKAGE_INFO: ^ ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function) case VIRTCHNL_OP_RXDID: ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’: ../drivers/net/iavf/iavf_vchnl.c:344:3: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_QUERY_DDP | ^ ../drivers/net/iavf/iavf_vchnl.c:345:3: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_supported_rxdid’: ../drivers/net/iavf/iavf_vchnl.c:389:13: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function) args.ops = VIRTCHNL_OP_RXDID; ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_configure_queues’: ../drivers/net/iavf/iavf_vchnl.c:601:8: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function) VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && ^ In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8:0, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { ^ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’ #define BIT(a) (1UL << (a)) ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: ‘IAVF_RXDID_LEGACY_1’ undeclared (first use in this function) vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: ../drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function) args.ops = VIRTCHNL_OP_PACKAGE_INFO; ^ ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^ [994/2239] Compiling C object 'drivers/a715181@@tmp_rte_pmd_i40e@sta/net_i40e_i40e_ethdev.c.o'. [995/2239] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_eal_flags.c.o'. [996/2239] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_cryptodev.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #4: OS: UB1804-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_olflags_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_ptype_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘_recv_raw_pkts_vec_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:49: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (!(rxdp->wb.status_error0 & ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_VPMD_DESCS_PER_LOOP) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ [1006/2161] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_timer_secondary.c.o'. [1007/2161] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -c ../drivers/net/iavf/iavf_rxtx_vec_avx2.c In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:0, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘iavf_rxq_rearm’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘_iavf_recv_raw_pkts_vec_avx2_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:596:34: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *type_table = rxq->vsi->adapter->ptype_tbl; ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:602:43: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:619:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (!(rxdp->wb.status_error0 & ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_common.h:8, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:620:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:645:4: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’? IAVF_RX_FLEX_DESC_STATUS0_EOF_S); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLEX_DESC_STATUS0_DD_S ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:752:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_DESCS_PER_LOOP_AVX) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:765:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 7)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:768:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 6)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:771:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 5)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:774:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 4)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:777:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:780:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:783:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:786:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 0)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:826:22: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? _mm256_set1_epi16(IAVF_RX_FLEX_DESC_PTYPE_M); ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:906:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:962:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:967:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[7].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:971:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[6].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:975:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[5].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:979:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[4].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:983:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:987:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:991:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:995:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ [1008/2161] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: ../drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? case VIRTCHNL_OP_PACKAGE_INFO: ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_OP_EVENT ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? case VIRTCHNL_OP_RXDID: ^~~~~~~~~~~~~~~~~ VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’: ../drivers/net/iavf/iavf_vchnl.c:344:3: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_RSVD’? VIRTCHNL_VF_OFFLOAD_QUERY_DDP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_vchnl.c:345:3: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_supported_rxdid’: ../drivers/net/iavf/iavf_vchnl.c:389:13: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? args.ops = VIRTCHNL_OP_RXDID; ^~~~~~~~~~~~~~~~~ VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_configure_queues’: ../drivers/net/iavf/iavf_vchnl.c:601:8: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8:0, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { ^ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’ #define BIT(a) (1UL << (a)) ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^~~~ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: ‘IAVF_RXDID_LEGACY_1’ undeclared (first use in this function); did you mean ‘IAVF_RXDID_COMMS_OVS_1’? vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^~~~~~~~~~~~~~~~~~~ IAVF_RXDID_COMMS_OVS_1 In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^~~~ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: ../drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? args.ops = VIRTCHNL_OP_PACKAGE_INFO; ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_OP_EVENT ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^~~~~~ [1009/2161] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_nvm.c.o'. [1010/2161] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_ethdev.c: In function ‘iavf_init_vf’: ../drivers/net/iavf/iavf_ethdev.c:1240:33: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_RSVD’? if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QUERY_DDP) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_ethdev.c:1247:33: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES [1011/2161] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c In file included from ../drivers/net/iavf/iavf_rxtx.c:27:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_to_vlan_tci’: ../drivers/net/iavf/iavf_rxtx.c:721:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_64(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:83:30: note: in definition of macro ‘rte_le_to_cpu_64’ #define rte_le_to_cpu_64(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT’? (1 << IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT ../drivers/net/iavf/iavf_rxtx.c:722:9: note: each undeclared identifier is reported only once for each function it appears in In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.c: At top level: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:791:25: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rxd_to_pkt_fields’: ../drivers/net/iavf/iavf_rxtx.c:798:34: error: dereferencing pointer to incomplete type ‘volatile struct iavf_32b_rx_flex_desc_comms_ovs’ stat_err = rte_le_to_cpu_16(desc->status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ In file included from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:15:0, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_memzone.h:27, from ../drivers/net/iavf/iavf_rxtx.c:16: ../drivers/net/iavf/iavf_rxtx.c:799:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_TSYNVALID_SHIFT’? if (likely(stat_err & (1 << IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S))) { ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_error_to_pkt_flags’: ../drivers/net/iavf/iavf_rxtx.c:826:35: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L3L4P_SHIFT’? if (unlikely(!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S)))) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ ../drivers/net/iavf/iavf_rxtx.c:812:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’? ((1 << IAVF_RX_FLEX_DESC_STATUS0_HBO_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:813:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:814:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:815:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:816:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:817:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RXE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_RXE_S)) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:999:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c:1017:17: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1021:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1024:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1063:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1073:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M ../drivers/net/iavf/iavf_rxtx.c:1010:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:999:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_scattered_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c:1125:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1129:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1132:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1173:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1199:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_EOF_S))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLEX_DESC_STATUS0_DD_S ../drivers/net/iavf/iavf_rxtx.c:1231:38: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? first_seg->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M ../drivers/net/iavf/iavf_rxtx.c:1125:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rx_scan_hw_ring_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1482:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1487:35: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1490:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1497:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_LOOK_AHEAD, rxep += IAVF_LOOK_AHEAD) { ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1500:32: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ s[j] = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1517:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ pkt_len = (rte_le_to_cpu_16(rxdp[j].wb.pkt_len) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1518:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1523:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? mb->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1524:26: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1525:39: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_flex_rxd_to_vlan_tci(mb, &rxdp[j]); ^ ../drivers/net/iavf/iavf_rxtx.c:1526:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_rxd_to_pkt_fields(mb, &rxdp[j]); ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1527:37: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1482:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘rx_recv_pkts’: ../drivers/net/iavf/iavf_rxtx.c:1736:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_set_rx_function’: ../drivers/net/iavf/iavf_rxtx.c:2205:5: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2337:30: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2338:15: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:2344:8: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_RXQ_SCAN_INTERVAL; ^~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count’: ../drivers/net/iavf/iavf_rxtx.c:2366:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2405:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2406:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status’: ../drivers/net/iavf/iavf_rxtx.c:2420:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1012/2161] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_rxtx.c.o'. [1013/2161] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'. [1014/2161] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_switch.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #5: OS: FreeBSD1201-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_ethdev.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@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:110:27: error: field 'pkg_info' has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_ethdev.c: In function 'iavf_init_vf': ../drivers/net/iavf/iavf_ethdev.c:1240:33: error: 'VIRTCHNL_VF_OFFLOAD_QUERY_DDP' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_RSVD'? 1240 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_QUERY_DDP) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_ethdev.c:1240:33: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_ethdev.c:1247:33: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 1247 | if (vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES [806/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ixgbe@sta/net_ixgbe_ixgbe_82599_bypass.c.o'. [807/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_flow.c.o'. [808/1640] Generating rte_pmd_i40e.pmd.c with a custom command. [809/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf.h:110:27: error: field 'pkg_info' has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_execute_vf_cmd': ../drivers/net/iavf/iavf_vchnl.c:91:7: error: 'VIRTCHNL_OP_PACKAGE_INFO' undeclared (first use in this function) 91 | case VIRTCHNL_OP_PACKAGE_INFO: | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: 'VIRTCHNL_OP_RXDID' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_RSVD'? 92 | case VIRTCHNL_OP_RXDID: | ^~~~~~~~~~~~~~~~~ | VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_vf_resource': ../drivers/net/iavf/iavf_vchnl.c:344:3: error: 'VIRTCHNL_VF_OFFLOAD_QUERY_DDP' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_RSVD'? 344 | VIRTCHNL_VF_OFFLOAD_QUERY_DDP | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_vchnl.c:345:3: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 345 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES ../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_get_supported_rxdid': ../drivers/net/iavf/iavf_vchnl.c:389:13: error: 'VIRTCHNL_OP_RXDID' undeclared (first use in this function); did you mean 'VIRTCHNL_OP_RSVD'? 389 | args.ops = VIRTCHNL_OP_RXDID; | ^~~~~~~~~~~~~~~~~ | VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_configure_queues': ../drivers/net/iavf/iavf_vchnl.c:601:8: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 601 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: 'IAVF_RXDID_COMMS_OVS_1' undeclared (first use in this function) 602 | vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT' 23 | #define BIT(a) (1UL << (a)) | ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: 'struct virtchnl_rxq_info' has no member named 'rxdid' 603 | vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; | ^ In file included from ../drivers/net/iavf/iavf.h:13, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: 'struct virtchnl_rxq_info' has no member named 'rxdid' 606 | "Queue[%d]", vc_qp->rxq.rxdid, i); | ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro 'PMD_DRV_LOG_RAW' 17 | __func__, ## args) | ^~~~ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro 'PMD_DRV_LOG' 605 | PMD_DRV_LOG(NOTICE, "request RXDID == %d in " | ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: 'struct virtchnl_rxq_info' has no member named 'rxdid' 608 | vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; | ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: 'IAVF_RXDID_LEGACY_1' undeclared (first use in this function) 608 | vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; | ^~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/iavf/iavf.h:13, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: 'struct virtchnl_rxq_info' has no member named 'rxdid' 611 | "Queue[%d]", vc_qp->rxq.rxdid, i); | ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro 'PMD_DRV_LOG_RAW' 17 | __func__, ## args) | ^~~~ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro 'PMD_DRV_LOG' 610 | PMD_DRV_LOG(NOTICE, "request RXDID == %d in " | ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function 'iavf_query_package_info': ../drivers/net/iavf/iavf_vchnl.c:639:13: error: 'VIRTCHNL_OP_PACKAGE_INFO' undeclared (first use in this function) 639 | args.ops = VIRTCHNL_OP_PACKAGE_INFO; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of 'sizeof' to incomplete type 'struct virtchnl_pkg_info' 653 | sizeof(struct virtchnl_pkg_info)); | ^~~~~~ [810/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:110:27: error: field 'pkg_info' has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function 'flex_desc_to_olflags_v': ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: 'struct iavf_rx_queue' has no member named 'vsi' 289 | if (rxq->vsi->adapter->fdir_enabled) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function 'flex_desc_to_ptype_v': ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: 'IAVF_RX_FLEX_DESC_PTYPE_M' undeclared (first use in this function); did you mean 'IAVF_TX_CTX_DESC_SWPE'? 380 | const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function '_recv_raw_pkts_vec_flex_rxd': ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: 'struct iavf_rx_queue' has no member named 'vsi' 658 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:49: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 713 | rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 726 | if (!(rxdp->wb.status_error0 & | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 727 | rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro 'rte_cpu_to_le_32' 74 | #define rte_cpu_to_le_32(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:12: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 759 | rxdp += IAVF_VPMD_DESCS_PER_LOOP) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:47: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 773 | descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:47: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 784 | descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:47: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 787 | descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: 'struct iavf_rx_queue' has no member named 'vsi' 833 | if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & | ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 838 | ((void *)(&rxdp[3].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 842 | ((void *)(&rxdp[2].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 846 | ((void *)(&rxdp[1].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 850 | ((void *)(&rxdp[0].wb.status_error1)); | ^ [811/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -c ../drivers/net/iavf/iavf_rxtx_vec_avx2.c In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf.h:110:27: error: field 'pkg_info' has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function 'iavf_rxq_rearm': ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: error: 'IAVF_RXDID_COMMS_OVS_1' undeclared (first use in this function) 20 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function '_iavf_recv_raw_pkts_vec_avx2_flex_rxd': ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:596:34: error: 'struct iavf_rx_queue' has no member named 'vsi' 596 | const uint32_t *type_table = rxq->vsi->adapter->ptype_tbl; | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:602:43: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 602 | (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:619:12: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 619 | if (!(rxdp->wb.status_error0 & | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_common.h:8, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:620:26: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 620 | rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro 'rte_cpu_to_le_32' 74 | #define rte_cpu_to_le_32(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:645:4: error: 'IAVF_RX_FLEX_DESC_STATUS0_EOF_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_EOF_SHIFT'? 645 | IAVF_RX_FLEX_DESC_STATUS0_EOF_S); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_EOF_SHIFT ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:752:12: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 752 | rxdp += IAVF_DESCS_PER_LOOP_AVX) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:765:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 765 | _mm_load_si128((void *)(rxdp + 7)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:768:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 768 | _mm_load_si128((void *)(rxdp + 6)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:771:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 771 | _mm_load_si128((void *)(rxdp + 5)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:774:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 774 | _mm_load_si128((void *)(rxdp + 4)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:777:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 777 | _mm_load_si128((void *)(rxdp + 3)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:780:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 780 | _mm_load_si128((void *)(rxdp + 2)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:783:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 783 | _mm_load_si128((void *)(rxdp + 1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:786:33: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 786 | _mm_load_si128((void *)(rxdp + 0)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:826:22: error: 'IAVF_RX_FLEX_DESC_PTYPE_M' undeclared (first use in this function); did you mean 'IAVF_TX_CTX_DESC_SWPE'? 826 | _mm256_set1_epi16(IAVF_RX_FLEX_DESC_PTYPE_M); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:906:10: error: 'struct iavf_rx_queue' has no member named 'vsi' 906 | if (rxq->vsi->adapter->fdir_enabled) { | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:962:10: error: 'struct iavf_rx_queue' has no member named 'vsi' 962 | if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & | ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:967:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 967 | ((void *)(&rxdp[7].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:971:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 971 | ((void *)(&rxdp[6].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:975:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 975 | ((void *)(&rxdp[5].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:979:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 979 | ((void *)(&rxdp[4].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:983:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 983 | ((void *)(&rxdp[3].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:987:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 987 | ((void *)(&rxdp[2].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:991:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 991 | ((void *)(&rxdp[1].wb.status_error1)); | ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:995:21: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 995 | ((void *)(&rxdp[0].wb.status_error1)); | ^ [812/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_ethdev.c.o'. [813/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c In file included from ../drivers/net/iavf/iavf_rxtx.c:27: ../drivers/net/iavf/iavf.h:110:27: error: field 'pkg_info' has incomplete type 110 | struct virtchnl_pkg_info pkg_info; /* package info */ | ^~~~~~~~ In file included from ../drivers/net/iavf/iavf_rxtx.c:28: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: 'union iavf_32b_rx_flex_desc' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 62 | #define iavf_rx_flex_desc iavf_32b_rx_flex_desc | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro 'iavf_rx_flex_desc' 719 | volatile union iavf_rx_flex_desc *rxdp) | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_flex_rxd_to_vlan_tci': ../drivers/net/iavf/iavf_rxtx.c:721:27: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 721 | if (rte_le_to_cpu_64(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:83:30: note: in definition of macro 'rte_le_to_cpu_64' 83 | #define rte_le_to_cpu_64(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT'? 722 | (1 << IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT ../drivers/net/iavf/iavf_rxtx.c:722:9: note: each undeclared identifier is reported only once for each function it appears in In file included from ../drivers/net/iavf/iavf_rxtx.c:28: ../drivers/net/iavf/iavf_rxtx.c: At top level: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: 'union iavf_32b_rx_flex_desc' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 62 | #define iavf_rx_flex_desc iavf_32b_rx_flex_desc | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:791:25: note: in expansion of macro 'iavf_rx_flex_desc' 791 | volatile union iavf_rx_flex_desc *rxdp) | ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_rxd_to_pkt_fields': ../drivers/net/iavf/iavf_rxtx.c:798:34: error: dereferencing pointer to incomplete type 'volatile struct iavf_32b_rx_flex_desc_comms_ovs' 798 | stat_err = rte_le_to_cpu_16(desc->status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ In file included from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:15, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_memzone.h:27, from ../drivers/net/iavf/iavf_rxtx.c:16: ../drivers/net/iavf/iavf_rxtx.c:799:30: error: 'IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_TSYNVALID_SHIFT'? 799 | if (likely(stat_err & (1 << IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_flex_rxd_error_to_pkt_flags': ../drivers/net/iavf/iavf_rxtx.c:826:35: error: 'IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_L3L4P_SHIFT'? 826 | if (unlikely(!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:38:41: note: in definition of macro 'unlikely' 38 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ ../drivers/net/iavf/iavf_rxtx.c:812:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_HBO_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 812 | ((1 << IAVF_RX_FLEX_DESC_STATUS0_HBO_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:813:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S' undeclared (first use in this function) 813 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:814:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S' undeclared (first use in this function) 814 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:815:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S' undeclared (first use in this function) 815 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:816:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S' undeclared (first use in this function) 816 | (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S) | \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:817:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_RXE_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 817 | (1 << IAVF_RX_FLEX_DESC_STATUS0_RXE_S)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro 'likely' 24 | #define likely(x) __builtin_expect(!!(x), 1) | ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro 'IAVF_RX_FLEX_ERR0_BITS' 829 | if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_recv_pkts_flex_rxd': ../drivers/net/iavf/iavf_rxtx.c:999:26: error: storage size of 'rxd' isn't known 999 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c:1017:17: error: 'struct iavf_rx_queue' has no member named 'vsi' 1017 | ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1021:39: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 1021 | rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1024:30: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 1024 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1063:5: error: 'IAVF_RX_FLX_DESC_PKT_LEN_M' undeclared (first use in this function) 1063 | IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1073:32: error: 'IAVF_RX_FLEX_DESC_PTYPE_M' undeclared (first use in this function); did you mean 'IAVF_TX_CTX_DESC_SWPE'? 1073 | rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx.c:1010:18: error: variable 'ptype_tbl' set but not used [-Werror=unused-but-set-variable] 1010 | const uint32_t *ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:999:26: error: unused variable 'rxd' [-Werror=unused-variable] 999 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_recv_scattered_pkts_flex_rxd': ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: storage size of 'rxd' isn't known 1111 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c:1125:33: error: 'struct iavf_rx_queue' has no member named 'vsi' 1125 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1129:39: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 1129 | rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1132:30: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 1132 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1173:5: error: 'IAVF_RX_FLX_DESC_PKT_LEN_M' undeclared (first use in this function) 1173 | IAVF_RX_FLX_DESC_PKT_LEN_M; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1199:30: error: 'IAVF_RX_FLEX_DESC_STATUS0_EOF_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_EOF_SHIFT'? 1199 | if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_EOF_S))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_EOF_SHIFT ../drivers/net/iavf/iavf_rxtx.c:1231:38: error: 'IAVF_RX_FLEX_DESC_PTYPE_M' undeclared (first use in this function); did you mean 'IAVF_TX_CTX_DESC_SWPE'? 1231 | first_seg->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx.c:1125:18: error: variable 'ptype_tbl' set but not used [-Werror=unused-but-set-variable] 1125 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: unused variable 'rxd' [-Werror=unused-variable] 1111 | union iavf_rx_flex_desc rxd; | ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_rx_scan_hw_ring_flex_rxd': ../drivers/net/iavf/iavf_rxtx.c:1482:33: error: 'struct iavf_rx_queue' has no member named 'vsi' 1482 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1487:35: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 1487 | stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1490:26: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 1490 | if (!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1497:12: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1497 | rxdp += IAVF_LOOK_AHEAD, rxep += IAVF_LOOK_AHEAD) { | ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1500:32: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1500 | s[j] = rte_le_to_cpu_16(rxdp[j].wb.status_error0); | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1517:36: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1517 | pkt_len = (rte_le_to_cpu_16(rxdp[j].wb.pkt_len) & | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1518:5: error: 'IAVF_RX_FLX_DESC_PKT_LEN_M' undeclared (first use in this function) 1518 | IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1523:32: error: 'IAVF_RX_FLEX_DESC_PTYPE_M' undeclared (first use in this function); did you mean 'IAVF_TX_CTX_DESC_SWPE'? 1523 | mb->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & | ^~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_TX_CTX_DESC_SWPE In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1524:26: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1524 | rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1525:39: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1525 | iavf_flex_rxd_to_vlan_tci(mb, &rxdp[j]); | ^ ../drivers/net/iavf/iavf_rxtx.c:1526:36: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1526 | iavf_rxd_to_pkt_fields(mb, &rxdp[j]); | ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1527:37: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 1527 | stat_err0 = rte_le_to_cpu_16(rxdp[j].wb.status_error0); | ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:1482:18: error: variable 'ptype_tbl' set but not used [-Werror=unused-but-set-variable] 1482 | const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; | ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function 'rx_recv_pkts': ../drivers/net/iavf/iavf_rxtx.c:1736:20: error: 'IAVF_RXDID_COMMS_OVS_1' undeclared (first use in this function) 1736 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_set_rx_function': ../drivers/net/iavf/iavf_rxtx.c:2205:5: error: 'VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC' undeclared (first use in this function); did you mean 'VIRTCHNL_VF_OFFLOAD_REQ_QUEUES'? 2205 | VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_dev_rxq_count_flex_rxd': ../drivers/net/iavf/iavf_rxtx.c:2337:30: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 2337 | rte_le_to_cpu_16(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:2338:15: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 2338 | (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:2344:8: error: invalid use of undefined type 'union iavf_32b_rx_flex_desc' 2344 | rxdp += IAVF_RXQ_SCAN_INTERVAL; | ^~ ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_dev_rxq_count': ../drivers/net/iavf/iavf_rxtx.c:2366:20: error: 'IAVF_RXDID_COMMS_OVS_1' undeclared (first use in this function) 2366 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_dev_rx_desc_status_flex_rxd': ../drivers/net/iavf/iavf_rxtx.c:2405:27: error: dereferencing pointer to incomplete type 'volatile union iavf_32b_rx_flex_desc' 2405 | if (rte_le_to_cpu_16(rxdp->wb.status_error0) & | ^~ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro 'rte_le_to_cpu_16' 81 | #define rte_le_to_cpu_16(x) (x) | ^ ../drivers/net/iavf/iavf_rxtx.c:2406:9: error: 'IAVF_RX_FLEX_DESC_STATUS0_DD_S' undeclared (first use in this function); did you mean 'IAVF_RX_DESC_STATUS_LAST'? 2406 | (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c: In function 'iavf_dev_rx_desc_status': ../drivers/net/iavf/iavf_rxtx.c:2420:20: error: 'IAVF_RXDID_COMMS_OVS_1' undeclared (first use in this function) 2420 | if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [814/1640] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hinic@sta/net_hinic_hinic_pmd_tx.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #6: OS: SUSE15-64 Target:./build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_vchnl.c.o' -c ../drivers/net/iavf/iavf_vchnl.c In file included from ../drivers/net/iavf/iavf_vchnl.c:22:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_execute_vf_cmd’: ../drivers/net/iavf/iavf_vchnl.c:91:7: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? case VIRTCHNL_OP_PACKAGE_INFO: ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_OP_EVENT ../drivers/net/iavf/iavf_vchnl.c:91:7: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_vchnl.c:92:7: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? case VIRTCHNL_OP_RXDID: ^~~~~~~~~~~~~~~~~ VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_vf_resource’: ../drivers/net/iavf/iavf_vchnl.c:344:3: error: ‘VIRTCHNL_VF_OFFLOAD_QUERY_DDP’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_RSVD’? VIRTCHNL_VF_OFFLOAD_QUERY_DDP | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_RSVD ../drivers/net/iavf/iavf_vchnl.c:345:3: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_get_supported_rxdid’: ../drivers/net/iavf/iavf_vchnl.c:389:13: error: ‘VIRTCHNL_OP_RXDID’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_RSVD’? args.ops = VIRTCHNL_OP_RXDID; ^~~~~~~~~~~~~~~~~ VIRTCHNL_OP_RSVD ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_configure_queues’: ../drivers/net/iavf/iavf_vchnl.c:601:8: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8:0, from ../drivers/net/iavf/iavf.h:9, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:602:34: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) vf->supported_rxdid & BIT(IAVF_RXDID_COMMS_OVS_1)) { ^ ../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’ #define BIT(a) (1UL << (a)) ^ ../drivers/net/iavf/iavf_vchnl.c:603:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_COMMS_OVS_1; ^ In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:606:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^~~~ ../drivers/net/iavf/iavf_vchnl.c:605:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c:608:15: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^ ../drivers/net/iavf/iavf_vchnl.c:608:24: error: ‘IAVF_RXDID_LEGACY_1’ undeclared (first use in this function); did you mean ‘IAVF_RXDID_COMMS_OVS_1’? vc_qp->rxq.rxdid = IAVF_RXDID_LEGACY_1; ^~~~~~~~~~~~~~~~~~~ IAVF_RXDID_COMMS_OVS_1 In file included from ../drivers/net/iavf/iavf.h:13:0, from ../drivers/net/iavf/iavf_vchnl.c:22: ../drivers/net/iavf/iavf_vchnl.c:611:33: error: ‘struct virtchnl_rxq_info’ has no member named ‘rxdid’ "Queue[%d]", vc_qp->rxq.rxdid, i); ^ ../drivers/net/iavf/iavf_log.h:17:16: note: in definition of macro ‘PMD_DRV_LOG_RAW’ __func__, ## args) ^~~~ ../drivers/net/iavf/iavf_vchnl.c:610:5: note: in expansion of macro ‘PMD_DRV_LOG’ PMD_DRV_LOG(NOTICE, "request RXDID == %d in " ^~~~~~~~~~~ ../drivers/net/iavf/iavf_vchnl.c: In function ‘iavf_query_package_info’: ../drivers/net/iavf/iavf_vchnl.c:639:13: error: ‘VIRTCHNL_OP_PACKAGE_INFO’ undeclared (first use in this function); did you mean ‘VIRTCHNL_OP_EVENT’? args.ops = VIRTCHNL_OP_PACKAGE_INFO; ^~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_OP_EVENT ../drivers/net/iavf/iavf_vchnl.c:653:13: error: invalid application of ‘sizeof’ to incomplete type ‘struct virtchnl_pkg_info’ sizeof(struct virtchnl_pkg_info)); ^~~~~~ [999/2151] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx.c.o' -c ../drivers/net/iavf/iavf_rxtx.c In file included from ../drivers/net/iavf/iavf_rxtx.c:27:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:719:21: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_to_vlan_tci’: ../drivers/net/iavf/iavf_rxtx.c:721:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_64(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:83:30: note: in definition of macro ‘rte_le_to_cpu_64’ #define rte_le_to_cpu_64(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:722:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT’? (1 << IAVF_RX_FLEX_DESC_STATUS0_L2TAG1P_S)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_L2TAG1P_SHIFT ../drivers/net/iavf/iavf_rxtx.c:722:9: note: each undeclared identifier is reported only once for each function it appears in In file included from ../drivers/net/iavf/iavf_rxtx.c:28:0: ../drivers/net/iavf/iavf_rxtx.c: At top level: ../drivers/net/iavf/iavf_rxtx.h:62:27: error: ‘union iavf_32b_rx_flex_desc’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] #define iavf_rx_flex_desc iavf_32b_rx_flex_desc ^ ../drivers/net/iavf/iavf_rxtx.c:791:25: note: in expansion of macro ‘iavf_rx_flex_desc’ volatile union iavf_rx_flex_desc *rxdp) ^~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rxd_to_pkt_fields’: ../drivers/net/iavf/iavf_rxtx.c:798:34: error: dereferencing pointer to incomplete type ‘volatile struct iavf_32b_rx_flex_desc_comms_ovs’ stat_err = rte_le_to_cpu_16(desc->status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ In file included from ../lib/librte_eal/common/include/arch/x86/rte_spinlock.h:15:0, from ../lib/librte_eal/common/include/arch/x86/rte_rwlock.h:13, from ../lib/librte_eal/common/include/rte_fbarray.h:40, from ../lib/librte_eal/common/include/rte_memory.h:25, from ../lib/librte_eal/common/include/rte_memzone.h:27, from ../drivers/net/iavf/iavf_rxtx.c:16: ../drivers/net/iavf/iavf_rxtx.c:799:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_TSYNVALID_SHIFT’? if (likely(stat_err & (1 << IAVF_RX_FLEX_DESC_STATUS0_RSS_VALID_S))) { ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_flex_rxd_error_to_pkt_flags’: ../drivers/net/iavf/iavf_rxtx.c:826:35: error: ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_L3L4P_SHIFT’? if (unlikely(!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S)))) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:38:41: note: in definition of macro ‘unlikely’ #define unlikely(x) __builtin_expect(!!(x), 0) ^ ../drivers/net/iavf/iavf_rxtx.c:812:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’? ((1 << IAVF_RX_FLEX_DESC_STATUS0_HBO_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:813:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_L3L4P_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:814:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_L4E_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:815:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_IPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:816:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_XSUM_EIPE_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_XSUM_EUDPE_S) | \ ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:817:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_RXE_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_HBO_S’? (1 << IAVF_RX_FLEX_DESC_STATUS0_RXE_S)) ^ ../lib/librte_eal/common/include/rte_branch_prediction.h:24:39: note: in definition of macro ‘likely’ #define likely(x) __builtin_expect(!!(x), 1) ^ ../drivers/net/iavf/iavf_rxtx.c:829:27: note: in expansion of macro ‘IAVF_RX_FLEX_ERR0_BITS’ if (likely(!(stat_err0 & IAVF_RX_FLEX_ERR0_BITS))) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:999:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c:1017:17: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1021:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1024:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1063:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1073:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? rxm->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M ../drivers/net/iavf/iavf_rxtx.c:1010:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:999:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_recv_scattered_pkts_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: storage size of ‘rxd’ isn’t known union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c:1125:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1129:39: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rx_stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1132:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1173:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1199:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’? if (!(rx_stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_EOF_S))) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLEX_DESC_STATUS0_DD_S ../drivers/net/iavf/iavf_rxtx.c:1231:38: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? first_seg->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M ../drivers/net/iavf/iavf_rxtx.c:1125:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c:1111:26: error: unused variable ‘rxd’ [-Werror=unused-variable] union iavf_rx_flex_desc rxd; ^~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_rx_scan_hw_ring_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:1482:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1487:35: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp->wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1490:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? if (!(stat_err0 & (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:1497:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_LOOK_AHEAD, rxep += IAVF_LOOK_AHEAD) { ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1500:32: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ s[j] = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1517:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ pkt_len = (rte_le_to_cpu_16(rxdp[j].wb.pkt_len) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1518:5: error: ‘IAVF_RX_FLX_DESC_PKT_LEN_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_TSYN’? IAVF_RX_FLX_DESC_PKT_LEN_M) - rxq->crc_len; ^~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_TSYN ../drivers/net/iavf/iavf_rxtx.c:1523:32: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLX_DESC_PKT_LEN_M’? mb->packet_type = ptype_tbl[IAVF_RX_FLEX_DESC_PTYPE_M & ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLX_DESC_PKT_LEN_M In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1524:26: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp[j].wb.ptype_flex_flags0)]; ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1525:39: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_flex_rxd_to_vlan_tci(mb, &rxdp[j]); ^ ../drivers/net/iavf/iavf_rxtx.c:1526:36: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ iavf_rxd_to_pkt_fields(mb, &rxdp[j]); ^ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c:1527:37: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ stat_err0 = rte_le_to_cpu_16(rxdp[j].wb.status_error0); ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:1482:18: error: variable ‘ptype_tbl’ set but not used [-Werror=unused-but-set-variable] const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘rx_recv_pkts’: ../drivers/net/iavf/iavf_rxtx.c:1736:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_set_rx_function’: ../drivers/net/iavf/iavf_rxtx.c:2205:5: error: ‘VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC’ undeclared (first use in this function); did you mean ‘VIRTCHNL_VF_OFFLOAD_REQ_QUEUES’? VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VIRTCHNL_VF_OFFLOAD_REQ_QUEUES In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2337:30: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2338:15: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c:2344:8: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_RXQ_SCAN_INTERVAL; ^~ ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rxq_count’: ../drivers/net/iavf/iavf_rxtx.c:2366:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../drivers/net/iavf/iavf_rxtx.c:17: ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status_flex_rxd’: ../drivers/net/iavf/iavf_rxtx.c:2405:27: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (rte_le_to_cpu_16(rxdp->wb.status_error0) & ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:81:30: note: in definition of macro ‘rte_le_to_cpu_16’ #define rte_le_to_cpu_16(x) (x) ^ ../drivers/net/iavf/iavf_rxtx.c:2406:9: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? (1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_DESC_STATUS_LAST ../drivers/net/iavf/iavf_rxtx.c: In function ‘iavf_dev_rx_desc_status’: ../drivers/net/iavf/iavf_rxtx.c:2420:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [1000/2151] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_sse.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/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:0: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_olflags_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:289:9: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘flex_desc_to_ptype_v’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? const __m128i ptype_mask = _mm_set_epi16(0, IAVF_RX_FLEX_DESC_PTYPE_M, ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_sse.c:380:46: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_sse.c: In function ‘_recv_raw_pkts_vec_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:658:33: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *ptype_tbl = rxq->vsi->adapter->ptype_tbl; ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:713:49: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp = (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:726:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (!(rxdp->wb.status_error0 & ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_sse.c:6: ../drivers/net/iavf/iavf_rxtx_vec_sse.c:727:30: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:759:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_VPMD_DESCS_PER_LOOP) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:773:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[3] = _mm_loadu_si128((__m128i *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:784:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[2] = _mm_loadu_si128((__m128i *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:787:47: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ descs[1] = _mm_loadu_si128((__m128i *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:833:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^~ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:838:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:842:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:846:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_sse.c:850:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ [1001/2151] Generating rte_pmd_hinic.exp_chk with a meson_exe.py custom command. [1002/2151] Compiling C object 'drivers/a715181@@tmp_rte_pmd_hns3@sta/net_hns3_hns3_rxtx.c.o'. [1003/2151] Compiling C object 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o'. FAILED: drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_iavf@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/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_iavf@sta/net_iavf_iavf_rxtx_vec_avx2.c.o' -c ../drivers/net/iavf/iavf_rxtx_vec_avx2.c In file included from ../drivers/net/iavf/iavf_rxtx_vec_common.h:11:0, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf.h:110:27: error: field ‘pkg_info’ has incomplete type struct virtchnl_pkg_info pkg_info; /* package info */ ^~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘iavf_rxq_rearm’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: error: ‘IAVF_RXDID_COMMS_OVS_1’ undeclared (first use in this function) if (rxq->rxdid == IAVF_RXDID_COMMS_OVS_1) { ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:20:20: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/iavf/iavf_rxtx_vec_avx2.c: In function ‘_iavf_recv_raw_pkts_vec_avx2_flex_rxd’: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:596:34: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ const uint32_t *type_table = rxq->vsi->adapter->ptype_tbl; ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:602:43: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ (union iavf_rx_flex_desc *)rxq->rx_ring + rxq->rx_tail; ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:619:12: error: dereferencing pointer to incomplete type ‘volatile union iavf_32b_rx_flex_desc’ if (!(rxdp->wb.status_error0 & ^~ In file included from ../lib/librte_mbuf/rte_mbuf.h:43:0, from ../lib/librte_net/rte_ether.h:23, from ../lib/librte_ethdev/rte_ethdev.h:159, from ../lib/librte_ethdev/rte_ethdev_driver.h:18, from ../drivers/net/iavf/iavf_rxtx_vec_common.h:8, from ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:5: ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:620:26: error: ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_DESC_STATUS_LAST’? rte_cpu_to_le_32(1 << IAVF_RX_FLEX_DESC_STATUS0_DD_S))) ^ ../lib/librte_eal/common/include/arch/x86/rte_byteorder.h:74:30: note: in definition of macro ‘rte_cpu_to_le_32’ #define rte_cpu_to_le_32(x) (x) ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:645:4: error: ‘IAVF_RX_FLEX_DESC_STATUS0_EOF_S’ undeclared (first use in this function); did you mean ‘IAVF_RX_FLEX_DESC_STATUS0_DD_S’? IAVF_RX_FLEX_DESC_STATUS0_EOF_S); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_RX_FLEX_DESC_STATUS0_DD_S ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:752:12: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ rxdp += IAVF_DESCS_PER_LOOP_AVX) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:765:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 7)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:768:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 6)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:771:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 5)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:774:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 4)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:777:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 3)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:780:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 2)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:783:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:786:33: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ _mm_load_si128((void *)(rxdp + 0)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:826:22: error: ‘IAVF_RX_FLEX_DESC_PTYPE_M’ undeclared (first use in this function); did you mean ‘IAVF_TX_CTX_DESC_SWPE’? _mm256_set1_epi16(IAVF_RX_FLEX_DESC_PTYPE_M); ^~~~~~~~~~~~~~~~~~~~~~~~~ IAVF_TX_CTX_DESC_SWPE ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:906:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->fdir_enabled) { ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:962:10: error: ‘struct iavf_rx_queue’ has no member named ‘vsi’ if (rxq->vsi->adapter->eth_dev->data->dev_conf.rxmode.offloads & ^~ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:967:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[7].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:971:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[6].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:975:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[5].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:979:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[4].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:983:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[3].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:987:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[2].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:991:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[1].wb.status_error1)); ^ ../drivers/net/iavf/iavf_rxtx_vec_avx2.c:995:21: error: invalid use of undefined type ‘union iavf_32b_rx_flex_desc’ ((void *)(&rxdp[0].wb.status_error1)); ^ [1004/2151] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_compressdev.c.o'. [1005/2151] Compiling C object 'app/test/3062f5d@@dpdk-test@exe/test_link_bonding_mode4.c.o'. ninja: build stopped: subcommand failed DPDK STV team