Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/60103 _Compilation issues_ Submitter: Simei Su Date: 2019-09-29 10:30:29 Reply_mail: 1569753029-167168-3-git-send-email-simei.su@intel.com DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: 7403c1e35bb3d4dd110d03b3bb004b760981ef92 Makefile build Summary: 22 Builds Done, 0 Successful, 22 Failures Meson build Summary: 7 Builds Done, 2 Successful, 5 Failures +==============================================+===========+==========+ | Makefile | Meson | Document | +--------------+------+-------+------+------------+-----------+-----------+----------+ | os | gcc | clang | icc | gcc+shared | gcc+debug | gcc/clang | pdf/html | +--------------+------+-------+------+------------+-----------+-----------+----------+ | RHEL76-64 | FAIL | | | | | | | | CENTOS76-64 | FAIL | FAIL | FAIL | FAIL | FAIL | | | | UB1804-64 | FAIL | FAIL | FAIL | | | FAIL | pass | | UB1604-32 | FAIL | | | | | FAIL | | | UB1904-64 | FAIL | | | | | | | | UB1604-64 | FAIL | FAIL | | | | | | | FC30-64 | FAIL | FAIL | | | | FAIL | | | WIN10-64 | | | | | | pass | | | FreeBSD12-64 | FAIL | FAIL | | FAIL | FAIL | FAIL | | | RHEL80-64 | FAIL | | | | | | | | SUSE15-64 | FAIL | FAIL | | | | FAIL | | +--------------+------+-------+------+------------+-----------+-----------+----------+ Test environment and configuration as below: ** Makefile build ** OS: RHEL76-64 Kernel Version: 3.10.0-957.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: NA x86_64-native-linuxapp-gcc OS: CENTOS76-64 Kernel Version: 3.10.0-957.10.1.el7.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-36) Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+debug x86_64-native-linuxapp-gcc x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-icc OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 7.3.0-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: UB1904-64 Kernel Version: 5.0.0-13-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 Clang Version: 8.0.0-3 (tags/RELEASE_800/final) x86_64-native-linuxapp-gcc OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) i686-native-linuxapp-gcc OS: UB1604-64 Kernel Version: 4.4.0-47-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: FC30-64 Kernel Version: 5.1.7-300.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.97-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) x86_64-native-bsdapp-gcc+debug x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc OS: RHEL80-64 Kernel Version: 4.18.0-80.el8.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 8.2.1 20180905 (Red Hat 8.2.1-3) Clang Version: 6.0.1 (tags/RELEASE_601/final) x86_64-native-linuxapp-gcc OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang ** Meson build ** OS: UB1804-64 Kernel Version: 4.15.0-20-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Clang Version: 6.0.0-1ubuntu2 (tags/RELEASE_600/final) x86_64-native-linuxapp-doc build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: UB1604-32 Kernel Version: 4.4.0-131-generic CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (Ubuntu 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609 Clang Version: 3.8.0-2ubuntu4 (tags/RELEASE_380/final) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: FC30-64 Kernel Version: 5.0.9-301.fc30.x86_64 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (GCC) 9.1.1 20190503 (Red Hat 9.1.1-1) Clang Version: 8.0.0 (Fedora 8.0.0-1.fc30) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: WIN10-64 Kernel Version: N/A CPU info: N/A GCC Version: N/A Clang Version: Clang 8.0.0 x86_64-windows-clang OS: FreeBSD12-64 Kernel Version: 12.0-RC3 CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.99-MHz K8-class CPU) GCC Version: gcc (FreeBSD Ports Collection) 7.3.0 Clang Version: 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default OS: SUSE15-64 Kernel Version: 4.12.14-lp150.11-default CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz GCC Version: gcc (SUSE Linux) 7.3.1 20180323 [gcc-7-branch revision 258812] Clang Version: 5.0.1 (tags/RELEASE_501/final 312548) build-gcc-static build-gcc-shared build-clang-static build-clang-shared build-x86-default *Make Build Failed #1: OS: UB1604-64 Target: x86_64-native-linuxapp-clang ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC virtio_rxtx_simple_sse.o CC otx2_ethdev.o CC efx_crc32.o CC efx_ev.o -- CC efx_filter.o AR librte_pmd_vmxnet3_uio.a INSTALL-LIB librte_pmd_vmxnet3_uio.a PMDINFO virtio_ethdev.o.pmd.c CC virtio_ethdev.o.pmd.o /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/kni CC virtio_user/vhost_kernel.o LD virtio_ethdev.o CC ecore_mcp.o -- CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-64_K4.4.0_Clang3.8.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/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 ^ /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 1 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_rss.o CC virtio_rxtx.o CC bnxt_txq.o CC virtio_ethdev.o -- INSTALL-LIB librte_pmd_octeontx2.a AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-32_K4.4.0_GCC5.4.0/i686-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #3: OS: UB1904-64 Target: x86_64-native-linuxapp-gcc In file included from /tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26: /tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: ‘ice_supported_patterns’ defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ make[6]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC ecore_init_ops.o CC rte_pmd_ixgbe.o CC otx2_vlan.o AR librte_pmd_nfp.a -- CC bnxt_util.o CC ecore_int.o CC ecore_dcbx.o CC otx2_stats.o CC rte_pmd_bnxt.o make[5]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:37: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_lookup.o CC bnxt_rxtx_vec_sse.o CC bcm_osal.o CC ecore_sriov.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/UB1904-64_K4.18.0_GCC8.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #4: OS: UB1804-64 Target: x86_64-native-linuxapp-icc /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c(548): warning #266: function "ice_unregister_parser" declared implicitly ice_unregister_parser(&ice_hash_parser_comms, ad); ^ compilation aborted for /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c (code 2) /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 2 make[6]: *** Waiting for unfinished jobs.... == Build drivers/net/octeontx AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a == Build drivers/net/octeontx2 -- CC nfp_nsp.o SYMLINK-FILE include/rte_pmd_bnxt.h CC bnxt_cpr.o CC rte_pmd_ixgbe.o CC ixgbe_tm.o /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ixgbe_vf_representor.o CC bnxt_ethdev.o CC rte_eth_null.o CC bnxt_filter.o -- PMDINFO otx2_ethdev.o.pmd.c CC otx2_ethdev.o.pmd.o LD otx2_ethdev.o AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1804-64_K4.15.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/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 ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC i40e_ethdev_vf.o == Build drivers/net/octeontx CC ixgbe_ethdev.o CC nfp_nsp_cmds.o -- INSTALL-LIB librte_pmd_null.a == Build drivers/net/octeontx2 CC octeontx_bgx.o CC nfp_net.o CC octeontx_ethdev.o /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC bnxt_rxq.o PMDINFO i40e_ethdev_vf.o.pmd.c CC i40e_ethdev_vf.o.pmd.o LD i40e_ethdev_vf.o -- LD otx2_ethdev.o AR librte_pmd_ixgbe.a INSTALL-LIB librte_pmd_ixgbe.a AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1804-64_K4.15.0_Clang6.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #6: OS: SUSE15-64 Target: x86_64-native-linuxapp-gcc In file included from /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26:0: /tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: ‘ice_supported_patterns’ defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ make[6]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 make[5]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:37: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ecore_spq.o AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a CC otx2_lookup.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/SUSE15-64_K4.12.14_GCC7.3.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #7: OS: FC30-64 Target: x86_64-native-linuxapp-gcc | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26: /tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: ‘ice_supported_patterns’ defined but not used [-Wunused-variable] 569 | static struct ice_flow_pattern ice_supported_patterns[] = { | ^~~~~~~~~~~~~~~~~~~~~~ make[6]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 make[5]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:37: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/pcap CC otx2_tm.o CC i40e_rxtx.o PMDINFO i40e_ethdev.o.pmd.c -- INSTALL-LIB librte_pmd_nfp.a AR librte_pmd_bnxt.a INSTALL-LIB librte_pmd_bnxt.a AR librte_pmd_i40e.a INSTALL-LIB librte_pmd_i40e.a make[4]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_GCC9.1.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #8: OS: RHEL76-64 Target: x86_64-native-linuxapp-gcc ^ /tmp/RHEL76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC i40e_vf_representor.o AR librte_pmd_pcap.a INSTALL-LIB librte_pmd_pcap.a CC bnxt_stats.o -- CC bnxt_util.o AR librte_pmd_i40e.a CC rte_pmd_bnxt.o INSTALL-LIB librte_pmd_i40e.a == Build drivers/net/tap make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_rss.o CC bnxt_rxtx_vec_sse.o CC otx2_mac.o CC ecore_hw.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.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: RHEL80-64 Target: x86_64-native-linuxapp-gcc In file included from /tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26: /tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: ‘ice_supported_patterns’ defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ make[6]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC ixgbe_dcb_82598.o PMDINFO octeontx_pkovf.o.pmd.c CC octeontx_pkovf.o.pmd.o LD octeontx_pkovf.o -- CC bnxt_hwrm.o CC ixgbe_mbx.o PMDINFO octeontx_pkivf.o.pmd.c CC nfp_nsp_cmds.o CC octeontx_pkivf.o.pmd.o make[5]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... LD octeontx_pkivf.o CC ixgbe_rxtx.o CC nfp_nsp_eth.o AR librte_pmd_i40e.a -- AR librte_pmd_bnxt.a LD otx2_ethdev.o INSTALL-LIB librte_pmd_bnxt.a AR librte_pmd_octeontx2.a INSTALL-LIB librte_pmd_octeontx2.a make[4]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/RHEL80-64_K3.10.0_GCC8.2.1/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #10: OS: FC30-64 Target: x86_64-native-linuxapp-clang ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[6]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 CC rte_eth_tap.o CC i40e_pf.o CC bnxt_stats.o CC ecore_init_fw_funcs.o CC nfp_nsp.o -- CC i40e_rxtx_vec_avx2.o CC bcm_osal.o CC sfc_ef10_essb_rx.o CC bnxt_rxtx_vec_sse.o CC rte_pmd_ixgbe.o make[5]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:37: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... == Build drivers/net/thunderx CC sfc_ef10_tx.o CC ecore_sriov.o CC ixgbe_tm.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a make[4]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/FC30-64_K4.20_Clang8.0.0/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #11: OS: SUSE15-64 Target: x86_64-native-linuxapp-clang ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[6]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC ixgbe_ethdev.o CC ixgbe_fdir.o CC octeontx_pkovf.o CC ixgbe_pf.o -- LD octeontx_pkovf.o PMDINFO rte_eth_null.o.pmd.c CC rte_eth_null.o.pmd.o LD rte_eth_null.o CC octeontx_pkivf.o make[5]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ixgbe_flow.o AR librte_pmd_null.a INSTALL-LIB librte_pmd_null.a CC octeontx_bgx.o -- LD nfp_net.o AR librte_pmd_nfp.a INSTALL-LIB librte_pmd_nfp.a AR librte_pmd_bnxt.a INSTALL-LIB librte_pmd_bnxt.a make[4]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 make[3]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 make[2]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 make[1]: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 make: *** [/tmp/SUSE15-64_K4.12.14_Clang5.0.1/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #12: OS: UB1604-64 Target: x86_64-native-linuxapp-gcc ^ /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC memif_socket.o /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ipn3ke_tm.o CC ixgbe_82598.o CC ixgbe_82599.o CC ixgbe_x540.o -- 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 /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1604-64_K4.4.0_GCC5.4.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #13: OS: UB1804-64 Target: x86_64-native-linuxapp-gcc /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: ‘ice_supported_patterns’ defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ INSTALL-LIB librte_pmd_null.a /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'ice_hash.o' failed make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC otx2_ptp.o CC otx2_flow.o CC bnxt_irq.o PMDINFO octeontx_ethdev.o.pmd.c -- CC bnxt_rxtx_vec_sse.o CC otx2_link.o == Build drivers/net/pcap == Build drivers/net/qede == Build drivers/net/ring /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'ice' failed make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC otx2_vlan.o CC rte_eth_pcap.o CC otx2_stats.o SYMLINK-FILE include/rte_eth_ring.h -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: recipe for target 'net' failed make[4]: *** [net] Error 2 /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'drivers' failed make[3]: *** [drivers] Error 2 /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed make[2]: *** [all] Error 2 /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed make[1]: *** [pre_install] Error 2 /tmp/UB1804-64_K4.15.0_GCC7.3.0/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed make: *** [install] Error 2 *Make Build Failed #14: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+debug In file included from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26:0: /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: 'ice_supported_patterns' defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option '-Wno-address-of-packed-member' gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:114: ice_hash.o] Error 1 gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:37: ice] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC bnxt_ring.o CC octeontx_ethdev.o CC igb_pf.o CC i40e_tm.o -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #15: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc+shared In file included from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26:0: /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: 'ice_supported_patterns' defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option '-Wno-address-of-packed-member' gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... CC ixgbe_dcb_82598.o CC i40e_vf_representor.o PMDINFO igb_ethdev.o.pmd.c CC igb_ethdev.o.pmd.o CC bnxt_rxq.o LD igb_ethdev.o CC otx2_tx.o == Build drivers/net/ring gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: ice] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC i40e_rxtx_vec_avx2.o CC ecore_dev.o CC igb_pf.o CC rte_eth_pcap.o -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o LD librte_pmd_qede.so.1.1 INSTALL-LIB librte_pmd_qede.so.1.1 gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #16: OS: CENTOS76-64 Target: x86_64-native-linuxapp-clang ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/CENTOS76-64_K3.10.0_Clang3.4.2/x86_64-native-linuxapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[6]: *** [ice_hash.o] Error 1 make[6]: *** Waiting for unfinished jobs.... CC tap_flow.o CC ixgbe_tm.o CC otx2_lookup.o CC ixgbe_vf_representor.o -- PMDINFO vdev_netvsc.o.pmd.c CC vdev_netvsc.o.pmd.o CC ecore_l2.o LD vdev_netvsc.o == Build drivers/net/kni make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ecore_sp_commands.o CC otx2_flow_utils.o PMDINFO nicvf_ethdev.o.pmd.c CC nicvf_ethdev.o.pmd.o -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.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 #17: OS: CENTOS76-64 Target: x86_64-native-linuxapp-gcc+debug ^ /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+debug/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] make[6]: *** [ice_hash.o] Error 1 INSTALL-LIB librte_pmd_pcap.a make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC rte_pmd_bnxt.o CC ixgbe_flow.o CC ixgbe_rxtx_vec_sse.o PMDINFO nfp_net.o.pmd.c -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.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 #18: OS: CENTOS76-64 Target: x86_64-native-linuxapp-gcc /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] CC tap_bpf_api.o make[6]: *** [ice_hash.o] Error 1 make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ecore_sp_commands.o CC tap_intr.o CC otx2_lookup.o CC rte_pmd_bnxt.o -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.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 #19: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-clang ^~~~~~~~~~~~~~~~~~~~~ pattern_ipv6_sctp /tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:173:32: note: 'pattern_ipv6_sctp' declared here static enum rte_flow_item_type pattern_ipv6_sctp[] = { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... CC ixgbe_fdir.o CC virtio_ethdev.o PMDINFO otx2_ethdev.o.pmd.c CC otx2_ethdev.o.pmd.o LD otx2_ethdev.o gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: ice] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ecore_dcbx.o CC otx2_flow_ctrl.o CC virtio_rxtx_simple.o PMDINFO vmxnet3_ethdev.o.pmd.c -- CC hunt_nic.o CC medford_nic.o CC medford2_nic.o AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_Clang6.0.1/x86_64-native-bsdapp-clang/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #20: OS: FreeBSD12-64 Target: x86_64-native-bsdapp-gcc In file included from /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:26:0: /tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_generic_flow.h:569:32: warning: 'ice_supported_patterns' defined but not used [-Wunused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: warning: unrecognized command line option '-Wno-address-of-packed-member' gmake[6]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/internal/rte.compile-pre.mk:116: ice_hash.o] Error 1 gmake[6]: *** Waiting for unfinished jobs.... CC bnxt_ring.o LD octeontx_ethdev.o CC ixgbe_vf.o AR librte_pmd_octeontx.a INSTALL-LIB librte_pmd_octeontx.a CC bnxt_rxq.o CC rte_pmd_i40e.o CC otx2_rss.o CC ixgbe_hv_vf.o gmake[5]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: ice] Error 2 gmake[5]: *** Waiting for unfinished jobs.... CC ixgbe_dcb.o == Build drivers/net/sfc CC bnxt_rxr.o CC otx2_mac.o -- CC medford2_nic.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.a AR librte_pmd_sfc_efx.a INSTALL-LIB librte_pmd_sfc_efx.a gmake[4]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.subdir.mk:35: net] Error 2 gmake[3]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkbuild.mk:46: drivers] Error 2 gmake[2]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:99: all] Error 2 gmake[1]: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkinstall.mk:61: pre_install] Error 2 gmake: *** [/tmp/FreeBSD12-64_K19.02_GCC7.3.0/x86_64-native-bsdapp-gcc/0f5be84733134defb3aa7e830774315c/dpdk/mk/rte.sdkroot.mk:77: install] Error 2 *Make Build Failed #21: OS: CENTOS76-64 Target: x86_64-native-linuxapp-gcc+shared /tmp/CENTOS76-64_K3.10.0_GCC4.8.5/x86_64-native-linuxapp-gcc+shared/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c:391:1: warning: ‘ice_hash_parse_pattern_action’ defined but not used [-Wunused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: warning: unrecognized command line option "-Wno-address-of-packed-member" [enabled by default] CC ixgbe_fdir.o make[6]: *** [ice_hash.o] Error 1 make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... PMDINFO ixgbe_ethdev.o.pmd.c CC ixgbe_ethdev.o.pmd.o CC nicvf_mbox.o LD ixgbe_ethdev.o -- CC medford_nic.o INSTALL-LIB librte_pmd_qede.so.1.1 CC medford2_nic.o LD librte_pmd_sfc_efx.so.1.1 INSTALL-LIB librte_pmd_sfc_efx.so.1.1 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 #22: OS: CENTOS76-64 Target: x86_64-native-linuxapp-icc /tmp/CENTOS76-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c(472): error: identifier "RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ" is undefined } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^ compilation aborted for /tmp/CENTOS76-64_K3.10.0_ICC19.0.0/x86_64-native-linuxapp-icc/0f5be84733134defb3aa7e830774315c/dpdk/drivers/net/ice/ice_hash.c (code 2) make[6]: *** [ice_hash.o] Error 2 make[6]: *** Waiting for unfinished jobs.... CC otx2_tm.o LD ixgbe_ethdev.o CC ixgbe_fdir.o make[5]: *** [ice] Error 2 make[5]: *** Waiting for unfinished jobs.... CC ixgbe_pf.o PMDINFO rte_eth_ring.o.pmd.c CC rte_eth_ring.o.pmd.o CC ixgbe_flow.o -- PMDINFO qede_ethdev.o.pmd.c CC qede_ethdev.o.pmd.o LD qede_ethdev.o AR librte_pmd_qede.a INSTALL-LIB librte_pmd_qede.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 *Meson Build Failed #1: OS: SUSE15-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:68:11: error: ‘struct ice_pattern_match_item’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct ice_pattern_match_item *array, ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:107:3: error: ‘pattern_eth_ipv4’ undeclared here (not in a function); did you mean ‘pattern_ipv4’? {pattern_eth_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_1)}, ^~~~~~~~~~~~~~~~ pattern_ipv4 ../drivers/net/ice/ice_hash.c:108:3: error: ‘pattern_eth_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_2)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:109:3: error: ‘pattern_eth_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_udp’? {pattern_eth_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_3)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:110:3: error: ‘pattern_eth_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_4)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:111:3: error: ‘pattern_eth_ipv6’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_ipv6, ICE_INSET_NONE, (uint64_t)(&hint_5)}, ^~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:112:3: error: ‘pattern_eth_ipv6_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_udp’? {pattern_eth_ipv6_udp, ICE_INSET_NONE, (uint64_t)(&hint_6)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:113:3: error: ‘pattern_eth_ipv6_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv6_tcp, ICE_INSET_NONE, (uint64_t)(&hint_7)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:114:3: error: ‘pattern_eth_ipv6_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_sctp’? {pattern_eth_ipv6_sctp, ICE_INSET_NONE, (uint64_t)(&hint_8)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_sctp ../drivers/net/ice/ice_hash.c:115:3: error: ‘pattern_empty’ undeclared here (not in a function); did you mean ‘pattern_ipv6’? {pattern_empty, ICE_INSET_NONE, (uint64_t)(&hint_0)}, ^~~~~~~~~~~~~ pattern_ipv6 ../drivers/net/ice/ice_hash.c:119:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:129:3: error: ‘pattern_eth_ipv4_gtpu_ipv4’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv4_gtpu_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:130:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_gtpu_ipv4’? {pattern_eth_ipv4_gtpu_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4 ../drivers/net/ice/ice_hash.c:131:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_gtpu_ipv4_udp’? {pattern_eth_ipv4_gtpu_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4_udp ../drivers/net/ice/ice_hash.c:132:3: error: ‘pattern_eth_pppoes_ipv4’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_pppoes_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_10)}, ^~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:133:3: error: ‘pattern_eth_pppoes_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4’? {pattern_eth_pppoes_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_11)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4 ../drivers/net/ice/ice_hash.c:134:3: error: ‘pattern_eth_pppoes_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4_udp’? {pattern_eth_pppoes_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_12)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_udp ../drivers/net/ice/ice_hash.c:135:3: error: ‘pattern_eth_pppoes_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4_tcp’? {pattern_eth_pppoes_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_13)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_tcp ../drivers/net/ice/ice_hash.c:143:18: error: ‘ETH_RSS_L3_SRC_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L2_PAYLOAD’? {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L2_PAYLOAD ../drivers/net/ice/ice_hash.c:144:18: error: ‘ETH_RSS_L3_DST_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_SRC_ONLY’? {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_DA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:146:52: error: ‘ETH_RSS_L4_SRC_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_SRC_ONLY’? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_SRC_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:147:52: error: ‘ETH_RSS_L4_DST_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_DST_ONLY’? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_DST_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_DST_ONLY ../drivers/net/ice/ice_hash.c:205:15: error: variable ‘ice_hash_engine’ has initializer but incomplete type static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:3: error: ‘struct ice_flow_engine’ has no member named ‘init’ .init = ice_hash_init, ^~~~ ../drivers/net/ice/ice_hash.c:206:10: error: excess elements in struct initializer [-Werror] .init = ice_hash_init, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:207:3: error: ‘struct ice_flow_engine’ has no member named ‘create’ .create = ice_hash_create, ^~~~~~ ../drivers/net/ice/ice_hash.c:207:12: error: excess elements in struct initializer [-Werror] .create = ice_hash_create, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:207:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:208:3: error: ‘struct ice_flow_engine’ has no member named ‘destroy’ .destroy = ice_hash_destroy, ^~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: error: excess elements in struct initializer [-Werror] .destroy = ice_hash_destroy, ^~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:209:3: error: ‘struct ice_flow_engine’ has no member named ‘uninit’ .uninit = ice_hash_uninit, ^~~~~~ ../drivers/net/ice/ice_hash.c:209:12: error: excess elements in struct initializer [-Werror] .uninit = ice_hash_uninit, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:209:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:210:3: error: ‘struct ice_flow_engine’ has no member named ‘free’ .free = ice_hash_free, ^~~~ ../drivers/net/ice/ice_hash.c:210:10: error: excess elements in struct initializer [-Werror] .free = ice_hash_free, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:210:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:211:3: error: ‘struct ice_flow_engine’ has no member named ‘type’ .type = ICE_FLOW_ENGINE_HASH, ^~~~ ../drivers/net/ice/ice_hash.c:211:10: error: ‘ICE_FLOW_ENGINE_HASH’ undeclared here (not in a function); did you mean ‘ICE_FLOW_PRIO_HIGH’? .type = ICE_FLOW_ENGINE_HASH, ^~~~~~~~~~~~~~~~~~~~ ICE_FLOW_PRIO_HIGH ../drivers/net/ice/ice_hash.c:211:10: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:211:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:215:15: error: variable ‘ice_hash_parser_os’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:216:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:216:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:216:12: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:217:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ .array = ice_hash_pattern_list_os, ^~~~~ ../drivers/net/ice/ice_hash.c:217:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_os, ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:217:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:218:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_os’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../drivers/net/ice/ice_hash.c:219:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:220:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:220:11: error: ‘ICE_FLOW_STAGE_RSS’ undeclared here (not in a function); did you mean ‘ICE_FLOW_TX_RX’? .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ICE_FLOW_TX_RX ../drivers/net/ice/ice_hash.c:220:11: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:220:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:224:15: error: variable ‘ice_hash_parser_comms’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:225:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:225:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:225:12: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:226:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ .array = ice_hash_pattern_list_comms, ^~~~~ ../drivers/net/ice/ice_hash.c:226:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_comms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:226:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:227:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_comms’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../drivers/net/ice/ice_hash.c:228:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:229:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:229:11: error: excess elements in struct initializer [-Werror] .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:229:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_engine_init’: ../drivers/net/ice/ice_hash.c:235:2: error: implicit declaration of function ‘ice_register_flow_engine’ [-Werror=implicit-function-declaration] ice_register_flow_engine(engine); ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_init’: ../drivers/net/ice/ice_hash.c:248:9: error: implicit declaration of function ‘ice_register_parser’; did you mean ‘ice_release_res’? [-Werror=implicit-function-declaration] return ice_register_parser(parser, ad); ^~~~~~~~~~~~~~~~~~~ ice_release_res ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:287:24: error: dereferencing pointer to incomplete type ‘struct ice_pattern_match_item’ (pattern_match_item->meta); ^~ ../drivers/net/ice/ice_hash.c:287:24: error: request for member ‘meta’ in something not a structure or union ../drivers/net/ice/ice_hash.c:301:27: error: request for member ‘pattern_list’ in something not a structure or union if ((pattern_match_item->pattern_list != ^~ ../drivers/net/ice/ice_hash.c:345:5: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:345:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_hash.c:344:18: error: comparison between pointer and integer [-Werror] if (rss->func == ^~ ../drivers/net/ice/ice_hash.c:346:47: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] ((struct rss_meta *)*meta)->hash_function = ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:391:1: error: conflicting types for ‘ice_hash_parse_pattern_action’ ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: note: previous declaration of ‘ice_hash_parse_pattern_action’ was here ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:412:23: error: implicit declaration of function ‘ice_search_pattern_match_item’; did you mean ‘ice_hash_parse_pattern_action’? [-Werror=implicit-function-declaration] pattern_match_item = ice_search_pattern_match_item(pattern, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_hash_parse_pattern_action ../drivers/net/ice/ice_hash.c:412:21: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pattern_match_item = ice_search_pattern_match_item(pattern, ^ ../drivers/net/ice/ice_hash.c:424:22: error: request for member ‘meta’ in something not a structure or union (pattern_match_item->meta))->hdr_mask; ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:472:30: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:472:27: error: comparison between pointer and integer [-Werror] } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:518:23: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] if (filter_ptr->symm == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_uninit’: ../drivers/net/ice/ice_hash.c:546:3: error: implicit declaration of function ‘ice_unregister_parser’ [-Werror=implicit-function-declaration] ice_unregister_parser(&ice_hash_parser_os, ad); ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:205:31: error: storage size of ‘ice_hash_engine’ isn’t known static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:215:31: error: storage size of ‘ice_hash_parser_os’ isn’t known static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:224:31: error: storage size of ‘ice_hash_parser_comms’ isn’t known static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: error: ‘ice_hash_parse_pattern_action’ used but never defined [-Werror] ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:391:1: error: ‘ice_hash_parse_pattern_action’ defined but not used [-Werror=unused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:119:38: error: ‘ice_hash_pattern_list_comms’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: ‘ice_hash_pattern_list_os’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:26:0: ../drivers/net/ice/ice_generic_flow.h:569:32: error: ‘ice_supported_patterns’ defined but not used [-Werror=unused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [851/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_generic_flow.c.o'. [852/1832] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'. [853/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ifc@sta/net_ifc_base_ifcvf.c.o'. [854/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx_vec_avx2.c.o'. [855/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_ethdev.c.o'. [856/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx_vec_sse.c.o'. [857/1832] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #2: OS: FC30-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-address-of-packed-member -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:68:11: error: ‘struct ice_pattern_match_item’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] 68 | struct ice_pattern_match_item *array, | ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ 106 | static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:107:3: error: ‘pattern_eth_ipv4’ undeclared here (not in a function); did you mean ‘pattern_ipv4’? 107 | {pattern_eth_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_1)}, | ^~~~~~~~~~~~~~~~ | pattern_ipv4 ../drivers/net/ice/ice_hash.c:108:3: error: ‘pattern_eth_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_udp’? 108 | {pattern_eth_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_2)}, | ^~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_udp ../drivers/net/ice/ice_hash.c:109:3: error: ‘pattern_eth_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_tcp’? 109 | {pattern_eth_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_3)}, | ^~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_tcp ../drivers/net/ice/ice_hash.c:110:3: error: ‘pattern_eth_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_sctp’? 110 | {pattern_eth_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_4)}, | ^~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_sctp ../drivers/net/ice/ice_hash.c:111:3: error: ‘pattern_eth_ipv6’ undeclared here (not in a function); did you mean ‘pattern_ipv6’? 111 | {pattern_eth_ipv6, ICE_INSET_NONE, (uint64_t)(&hint_5)}, | ^~~~~~~~~~~~~~~~ | pattern_ipv6 ../drivers/net/ice/ice_hash.c:112:3: error: ‘pattern_eth_ipv6_udp’ undeclared here (not in a function); did you mean ‘pattern_ipv6_udp’? 112 | {pattern_eth_ipv6_udp, ICE_INSET_NONE, (uint64_t)(&hint_6)}, | ^~~~~~~~~~~~~~~~~~~~ | pattern_ipv6_udp ../drivers/net/ice/ice_hash.c:113:3: error: ‘pattern_eth_ipv6_tcp’ undeclared here (not in a function); did you mean ‘pattern_ipv6_tcp’? 113 | {pattern_eth_ipv6_tcp, ICE_INSET_NONE, (uint64_t)(&hint_7)}, | ^~~~~~~~~~~~~~~~~~~~ | pattern_ipv6_tcp ../drivers/net/ice/ice_hash.c:114:3: error: ‘pattern_eth_ipv6_sctp’ undeclared here (not in a function); did you mean ‘pattern_ipv6_sctp’? 114 | {pattern_eth_ipv6_sctp, ICE_INSET_NONE, (uint64_t)(&hint_8)}, | ^~~~~~~~~~~~~~~~~~~~~ | pattern_ipv6_sctp ../drivers/net/ice/ice_hash.c:115:3: error: ‘pattern_empty’ undeclared here (not in a function); did you mean ‘pattern_ipv6’? 115 | {pattern_empty, ICE_INSET_NONE, (uint64_t)(&hint_0)}, | ^~~~~~~~~~~~~ | pattern_ipv6 ../drivers/net/ice/ice_hash.c:119:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ 119 | static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:129:3: error: ‘pattern_eth_ipv4_gtpu_ipv4’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4’? 129 | {pattern_eth_ipv4_gtpu_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_9)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4 ../drivers/net/ice/ice_hash.c:130:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4_udp’? 130 | {pattern_eth_ipv4_gtpu_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4_udp ../drivers/net/ice/ice_hash.c:131:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4_tcp’? 131 | {pattern_eth_ipv4_gtpu_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4_tcp ../drivers/net/ice/ice_hash.c:132:3: error: ‘pattern_eth_pppoes_ipv4’ undeclared here (not in a function) 132 | {pattern_eth_pppoes_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_10)}, | ^~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:133:3: error: ‘pattern_eth_pppoes_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4_udp’? 133 | {pattern_eth_pppoes_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_11)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4_udp ../drivers/net/ice/ice_hash.c:134:3: error: ‘pattern_eth_pppoes_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4_tcp’? 134 | {pattern_eth_pppoes_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_12)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4_tcp ../drivers/net/ice/ice_hash.c:135:3: error: ‘pattern_eth_pppoes_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_ipv4_nvgre_ipv4_sctp’? 135 | {pattern_eth_pppoes_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_13)}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | pattern_ipv4_nvgre_ipv4_sctp ../drivers/net/ice/ice_hash.c:143:18: error: ‘ETH_RSS_L3_SRC_ONLY’ undeclared here (not in a function) 143 | {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA)}, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:144:18: error: ‘ETH_RSS_L3_DST_ONLY’ undeclared here (not in a function) 144 | {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_DA)}, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:146:52: error: ‘ETH_RSS_L4_SRC_ONLY’ undeclared here (not in a function) 146 | {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_SRC_PORT)}, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:147:52: error: ‘ETH_RSS_L4_DST_ONLY’ undeclared here (not in a function) 147 | {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_DST_PORT)}, | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:205:15: error: variable ‘ice_hash_engine’ has initializer but incomplete type 205 | static struct ice_flow_engine ice_hash_engine = { | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:3: error: ‘struct ice_flow_engine’ has no member named ‘init’ 206 | .init = ice_hash_init, | ^~~~ ../drivers/net/ice/ice_hash.c:206:10: error: excess elements in struct initializer [-Werror] 206 | .init = ice_hash_init, | ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:207:3: error: ‘struct ice_flow_engine’ has no member named ‘create’ 207 | .create = ice_hash_create, | ^~~~~~ ../drivers/net/ice/ice_hash.c:207:12: error: excess elements in struct initializer [-Werror] 207 | .create = ice_hash_create, | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:207:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:208:3: error: ‘struct ice_flow_engine’ has no member named ‘destroy’ 208 | .destroy = ice_hash_destroy, | ^~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: error: excess elements in struct initializer [-Werror] 208 | .destroy = ice_hash_destroy, | ^~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:209:3: error: ‘struct ice_flow_engine’ has no member named ‘uninit’ 209 | .uninit = ice_hash_uninit, | ^~~~~~ ../drivers/net/ice/ice_hash.c:209:12: error: excess elements in struct initializer [-Werror] 209 | .uninit = ice_hash_uninit, | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:209:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:210:3: error: ‘struct ice_flow_engine’ has no member named ‘free’ 210 | .free = ice_hash_free, | ^~~~ ../drivers/net/ice/ice_hash.c:210:10: error: excess elements in struct initializer [-Werror] 210 | .free = ice_hash_free, | ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:210:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:211:3: error: ‘struct ice_flow_engine’ has no member named ‘type’ 211 | .type = ICE_FLOW_ENGINE_HASH, | ^~~~ ../drivers/net/ice/ice_hash.c:211:10: error: ‘ICE_FLOW_ENGINE_HASH’ undeclared here (not in a function); did you mean ‘ICE_FLOW_PRIO_HIGH’? 211 | .type = ICE_FLOW_ENGINE_HASH, | ^~~~~~~~~~~~~~~~~~~~ | ICE_FLOW_PRIO_HIGH ../drivers/net/ice/ice_hash.c:211:10: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:211:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:215:15: error: variable ‘ice_hash_parser_os’ has initializer but incomplete type 215 | static struct ice_flow_parser ice_hash_parser_os = { | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:216:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ 216 | .engine = &ice_hash_engine, | ^~~~~~ ../drivers/net/ice/ice_hash.c:216:12: error: excess elements in struct initializer [-Werror] 216 | .engine = &ice_hash_engine, | ^ ../drivers/net/ice/ice_hash.c:216:12: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:217:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ 217 | .array = ice_hash_pattern_list_os, | ^~~~~ ../drivers/net/ice/ice_hash.c:217:11: error: excess elements in struct initializer [-Werror] 217 | .array = ice_hash_pattern_list_os, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:217:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:218:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ 218 | .array_len = RTE_DIM(ice_hash_pattern_list_os), | ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ~~~~~~ ^ | | | struct ice_hash_match_type * ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ 218 | .array_len = RTE_DIM(ice_hash_pattern_list_os), | ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ 218 | .array_len = RTE_DIM(ice_hash_pattern_list_os), | ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_os’) 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ 218 | .array_len = RTE_DIM(ice_hash_pattern_list_os), | ^~~~~~~ ../drivers/net/ice/ice_hash.c:219:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ 219 | .parse_pattern_action = ice_hash_parse_pattern_action, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: error: excess elements in struct initializer [-Werror] 219 | .parse_pattern_action = ice_hash_parse_pattern_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:220:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ 220 | .stage = ICE_FLOW_STAGE_RSS, | ^~~~~ ../drivers/net/ice/ice_hash.c:220:11: error: ‘ICE_FLOW_STAGE_RSS’ undeclared here (not in a function); did you mean ‘ICE_FLOW_TX_RX’? 220 | .stage = ICE_FLOW_STAGE_RSS, | ^~~~~~~~~~~~~~~~~~ | ICE_FLOW_TX_RX ../drivers/net/ice/ice_hash.c:220:11: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:220:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:224:15: error: variable ‘ice_hash_parser_comms’ has initializer but incomplete type 224 | static struct ice_flow_parser ice_hash_parser_comms = { | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:225:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ 225 | .engine = &ice_hash_engine, | ^~~~~~ ../drivers/net/ice/ice_hash.c:225:12: error: excess elements in struct initializer [-Werror] 225 | .engine = &ice_hash_engine, | ^ ../drivers/net/ice/ice_hash.c:225:12: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:226:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ 226 | .array = ice_hash_pattern_list_comms, | ^~~~~ ../drivers/net/ice/ice_hash.c:226:11: error: excess elements in struct initializer [-Werror] 226 | .array = ice_hash_pattern_list_comms, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:226:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:227:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ 227 | .array_len = RTE_DIM(ice_hash_pattern_list_comms), | ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ~~~~~~ ^ | | | struct ice_hash_match_type * ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ 227 | .array_len = RTE_DIM(ice_hash_pattern_list_comms), | ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ 227 | .array_len = RTE_DIM(ice_hash_pattern_list_comms), | ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_comms’) 651 | #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) | ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ 227 | .array_len = RTE_DIM(ice_hash_pattern_list_comms), | ^~~~~~~ ../drivers/net/ice/ice_hash.c:228:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ 228 | .parse_pattern_action = ice_hash_parse_pattern_action, | ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: error: excess elements in struct initializer [-Werror] 228 | .parse_pattern_action = ice_hash_parse_pattern_action, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:229:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ 229 | .stage = ICE_FLOW_STAGE_RSS, | ^~~~~ ../drivers/net/ice/ice_hash.c:229:11: error: excess elements in struct initializer [-Werror] 229 | .stage = ICE_FLOW_STAGE_RSS, | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:229:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_engine_init’: ../drivers/net/ice/ice_hash.c:235:2: error: implicit declaration of function ‘ice_register_flow_engine’ [-Werror=implicit-function-declaration] 235 | ice_register_flow_engine(engine); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_init’: ../drivers/net/ice/ice_hash.c:248:9: error: implicit declaration of function ‘ice_register_parser’ [-Werror=implicit-function-declaration] 248 | return ice_register_parser(parser, ad); | ^~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:287:24: error: dereferencing pointer to incomplete type ‘struct ice_pattern_match_item’ 287 | (pattern_match_item->meta); | ^~ ../drivers/net/ice/ice_hash.c:287:24: error: request for member ‘meta’ in something not a structure or union ../drivers/net/ice/ice_hash.c:301:27: error: request for member ‘pattern_list’ in something not a structure or union 301 | if ((pattern_match_item->pattern_list != | ^~ ../drivers/net/ice/ice_hash.c:345:5: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? 345 | RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:345:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_hash.c:344:18: error: comparison between pointer and integer [-Werror] 344 | if (rss->func == | ^~ ../drivers/net/ice/ice_hash.c:346:47: error: assignment to ‘uint8_t’ {aka ‘unsigned char’} from ‘struct ice_hash_match_type *’ makes integer from pointer without a cast [-Werror=int-conversion] 346 | ((struct rss_meta *)*meta)->hash_function = | ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:391:1: error: conflicting types for ‘ice_hash_parse_pattern_action’ 391 | ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: note: previous declaration of ‘ice_hash_parse_pattern_action’ was here 67 | ice_hash_parse_pattern_action(struct ice_adapter *ad, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:412:23: error: implicit declaration of function ‘ice_search_pattern_match_item’ [-Werror=implicit-function-declaration] 412 | pattern_match_item = ice_search_pattern_match_item(pattern, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:412:21: error: assignment to ‘struct ice_pattern_match_item *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 412 | pattern_match_item = ice_search_pattern_match_item(pattern, | ^ ../drivers/net/ice/ice_hash.c:424:22: error: request for member ‘meta’ in something not a structure or union 424 | (pattern_match_item->meta))->hdr_mask; | ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:472:30: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? 472 | } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:472:27: error: comparison between pointer and integer [-Werror] 472 | } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { | ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:518:23: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] 518 | if (filter_ptr->symm == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { | ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_uninit’: ../drivers/net/ice/ice_hash.c:546:3: error: implicit declaration of function ‘ice_unregister_parser’ [-Werror=implicit-function-declaration] 546 | ice_unregister_parser(&ice_hash_parser_os, ad); | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:205:31: error: storage size of ‘ice_hash_engine’ isn’t known 205 | static struct ice_flow_engine ice_hash_engine = { | ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:215:31: error: storage size of ‘ice_hash_parser_os’ isn’t known 215 | static struct ice_flow_parser ice_hash_parser_os = { | ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:224:31: error: storage size of ‘ice_hash_parser_comms’ isn’t known 224 | static struct ice_flow_parser ice_hash_parser_comms = { | ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: error: ‘ice_hash_parse_pattern_action’ used but never defined [-Werror] 67 | ice_hash_parse_pattern_action(struct ice_adapter *ad, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:391:1: error: ‘ice_hash_parse_pattern_action’ defined but not used [-Werror=unused-function] 391 | ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:119:38: error: ‘ice_hash_pattern_list_comms’ defined but not used [-Werror=unused-variable] 119 | static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: ‘ice_hash_pattern_list_os’ defined but not used [-Werror=unused-variable] 106 | static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:26: ../drivers/net/ice/ice_generic_flow.h:569:32: error: ‘ice_supported_patterns’ defined but not used [-Werror=unused-variable] 569 | static struct ice_flow_pattern ice_supported_patterns[] = { | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [840/1785] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flow.c.o'. [841/1785] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_sched.c.o'. [842/1785] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_switch_filter.c.o'. [843/1785] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_ethdev.c.o'. [844/1785] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_switch.c.o'. [845/1785] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'. [846/1785] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #3: OS: UB1604-32 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -Wno-pointer-to-int-cast -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:73:11: error: ‘struct ice_pattern_match_item’ declared inside parameter list [-Werror] struct rte_flow_error *error); ^ ../drivers/net/ice/ice_hash.c:73:11: error: its scope is only this definition or declaration, which is probably not what you want [-Werror] ../drivers/net/ice/ice_hash.c:106:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^ ../drivers/net/ice/ice_hash.c:107:3: error: ‘pattern_eth_ipv4’ undeclared here (not in a function) {pattern_eth_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_1)}, ^ ../drivers/net/ice/ice_hash.c:108:3: error: ‘pattern_eth_ipv4_udp’ undeclared here (not in a function) {pattern_eth_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_2)}, ^ ../drivers/net/ice/ice_hash.c:109:3: error: ‘pattern_eth_ipv4_tcp’ undeclared here (not in a function) {pattern_eth_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_3)}, ^ ../drivers/net/ice/ice_hash.c:110:3: error: ‘pattern_eth_ipv4_sctp’ undeclared here (not in a function) {pattern_eth_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_4)}, ^ ../drivers/net/ice/ice_hash.c:111:3: error: ‘pattern_eth_ipv6’ undeclared here (not in a function) {pattern_eth_ipv6, ICE_INSET_NONE, (uint64_t)(&hint_5)}, ^ ../drivers/net/ice/ice_hash.c:112:3: error: ‘pattern_eth_ipv6_udp’ undeclared here (not in a function) {pattern_eth_ipv6_udp, ICE_INSET_NONE, (uint64_t)(&hint_6)}, ^ ../drivers/net/ice/ice_hash.c:113:3: error: ‘pattern_eth_ipv6_tcp’ undeclared here (not in a function) {pattern_eth_ipv6_tcp, ICE_INSET_NONE, (uint64_t)(&hint_7)}, ^ ../drivers/net/ice/ice_hash.c:114:3: error: ‘pattern_eth_ipv6_sctp’ undeclared here (not in a function) {pattern_eth_ipv6_sctp, ICE_INSET_NONE, (uint64_t)(&hint_8)}, ^ ../drivers/net/ice/ice_hash.c:115:3: error: ‘pattern_empty’ undeclared here (not in a function) {pattern_empty, ICE_INSET_NONE, (uint64_t)(&hint_0)}, ^ ../drivers/net/ice/ice_hash.c:119:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^ ../drivers/net/ice/ice_hash.c:129:3: error: ‘pattern_eth_ipv4_gtpu_ipv4’ undeclared here (not in a function) {pattern_eth_ipv4_gtpu_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^ ../drivers/net/ice/ice_hash.c:130:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_udp’ undeclared here (not in a function) {pattern_eth_ipv4_gtpu_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^ ../drivers/net/ice/ice_hash.c:131:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_tcp’ undeclared here (not in a function) {pattern_eth_ipv4_gtpu_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^ ../drivers/net/ice/ice_hash.c:132:3: error: ‘pattern_eth_pppoes_ipv4’ undeclared here (not in a function) {pattern_eth_pppoes_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_10)}, ^ ../drivers/net/ice/ice_hash.c:133:3: error: ‘pattern_eth_pppoes_ipv4_udp’ undeclared here (not in a function) {pattern_eth_pppoes_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_11)}, ^ ../drivers/net/ice/ice_hash.c:134:3: error: ‘pattern_eth_pppoes_ipv4_tcp’ undeclared here (not in a function) {pattern_eth_pppoes_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_12)}, ^ ../drivers/net/ice/ice_hash.c:135:3: error: ‘pattern_eth_pppoes_ipv4_sctp’ undeclared here (not in a function) {pattern_eth_pppoes_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_13)}, ^ ../drivers/net/ice/ice_hash.c:143:18: error: ‘ETH_RSS_L3_SRC_ONLY’ undeclared here (not in a function) {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA)}, ^ ../drivers/net/ice/ice_hash.c:144:18: error: ‘ETH_RSS_L3_DST_ONLY’ undeclared here (not in a function) {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_DA)}, ^ ../drivers/net/ice/ice_hash.c:146:52: error: ‘ETH_RSS_L4_SRC_ONLY’ undeclared here (not in a function) {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_SRC_PORT)}, ^ ../drivers/net/ice/ice_hash.c:147:52: error: ‘ETH_RSS_L4_DST_ONLY’ undeclared here (not in a function) {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_DST_PORT)}, ^ ../drivers/net/ice/ice_hash.c:205:15: error: variable ‘ice_hash_engine’ has initializer but incomplete type static struct ice_flow_engine ice_hash_engine = { ^ ../drivers/net/ice/ice_hash.c:206:2: error: unknown field ‘init’ specified in initializer .init = ice_hash_init, ^ ../drivers/net/ice/ice_hash.c:206:10: error: excess elements in struct initializer [-Werror] .init = ice_hash_init, ^ ../drivers/net/ice/ice_hash.c:206:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:207:2: error: unknown field ‘create’ specified in initializer .create = ice_hash_create, ^ ../drivers/net/ice/ice_hash.c:207:12: error: excess elements in struct initializer [-Werror] .create = ice_hash_create, ^ ../drivers/net/ice/ice_hash.c:207:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:208:2: error: unknown field ‘destroy’ specified in initializer .destroy = ice_hash_destroy, ^ ../drivers/net/ice/ice_hash.c:208:13: error: excess elements in struct initializer [-Werror] .destroy = ice_hash_destroy, ^ ../drivers/net/ice/ice_hash.c:208:13: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:209:2: error: unknown field ‘uninit’ specified in initializer .uninit = ice_hash_uninit, ^ ../drivers/net/ice/ice_hash.c:209:12: error: excess elements in struct initializer [-Werror] .uninit = ice_hash_uninit, ^ ../drivers/net/ice/ice_hash.c:209:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:210:2: error: unknown field ‘free’ specified in initializer .free = ice_hash_free, ^ ../drivers/net/ice/ice_hash.c:210:10: error: excess elements in struct initializer [-Werror] .free = ice_hash_free, ^ ../drivers/net/ice/ice_hash.c:210:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:211:2: error: unknown field ‘type’ specified in initializer .type = ICE_FLOW_ENGINE_HASH, ^ ../drivers/net/ice/ice_hash.c:211:10: error: ‘ICE_FLOW_ENGINE_HASH’ undeclared here (not in a function) .type = ICE_FLOW_ENGINE_HASH, ^ ../drivers/net/ice/ice_hash.c:211:10: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:211:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:215:15: error: variable ‘ice_hash_parser_os’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_os = { ^ ../drivers/net/ice/ice_hash.c:216:2: error: unknown field ‘engine’ specified in initializer .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:216:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:216:12: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:217:2: error: unknown field ‘array’ specified in initializer .array = ice_hash_pattern_list_os, ^ ../drivers/net/ice/ice_hash.c:217:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_os, ^ ../drivers/net/ice/ice_hash.c:217:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:218:2: error: unknown field ‘array_len’ specified in initializer .array_len = RTE_DIM(ice_hash_pattern_list_os), ^ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_os’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^ ../drivers/net/ice/ice_hash.c:219:2: error: unknown field ‘parse_pattern_action’ specified in initializer .parse_pattern_action = ice_hash_parse_pattern_action, ^ ../drivers/net/ice/ice_hash.c:219:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^ ../drivers/net/ice/ice_hash.c:219:26: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:220:2: error: unknown field ‘stage’ specified in initializer .stage = ICE_FLOW_STAGE_RSS, ^ ../drivers/net/ice/ice_hash.c:220:11: error: ‘ICE_FLOW_STAGE_RSS’ undeclared here (not in a function) .stage = ICE_FLOW_STAGE_RSS, ^ ../drivers/net/ice/ice_hash.c:220:11: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:220:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:224:15: error: variable ‘ice_hash_parser_comms’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_comms = { ^ ../drivers/net/ice/ice_hash.c:225:2: error: unknown field ‘engine’ specified in initializer .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:225:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:225:12: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:226:2: error: unknown field ‘array’ specified in initializer .array = ice_hash_pattern_list_comms, ^ ../drivers/net/ice/ice_hash.c:226:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_comms, ^ ../drivers/net/ice/ice_hash.c:226:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:227:2: error: unknown field ‘array_len’ specified in initializer .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_comms’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^ ../drivers/net/ice/ice_hash.c:228:2: error: unknown field ‘parse_pattern_action’ specified in initializer .parse_pattern_action = ice_hash_parse_pattern_action, ^ ../drivers/net/ice/ice_hash.c:228:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^ ../drivers/net/ice/ice_hash.c:228:26: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:229:2: error: unknown field ‘stage’ specified in initializer .stage = ICE_FLOW_STAGE_RSS, ^ ../drivers/net/ice/ice_hash.c:229:11: error: excess elements in struct initializer [-Werror] .stage = ICE_FLOW_STAGE_RSS, ^ ../drivers/net/ice/ice_hash.c:229:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_engine_init’: ../drivers/net/ice/ice_hash.c:235:2: error: implicit declaration of function ‘ice_register_flow_engine’ [-Werror=implicit-function-declaration] ice_register_flow_engine(engine); ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_init’: ../drivers/net/ice/ice_hash.c:248:9: error: implicit declaration of function ‘ice_register_parser’ [-Werror=implicit-function-declaration] return ice_register_parser(parser, ad); ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:287:24: error: dereferencing pointer to incomplete type ‘struct ice_pattern_match_item’ (pattern_match_item->meta); ^ ../drivers/net/ice/ice_hash.c:287:24: error: request for member ‘meta’ in something not a structure or union ../drivers/net/ice/ice_hash.c:301:27: error: request for member ‘pattern_list’ in something not a structure or union if ((pattern_match_item->pattern_list != ^ ../drivers/net/ice/ice_hash.c:345:5: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function) RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) ^ ../drivers/net/ice/ice_hash.c:345:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_hash.c:344:18: error: comparison between pointer and integer [-Werror] if (rss->func == ^ ../drivers/net/ice/ice_hash.c:346:47: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] ((struct rss_meta *)*meta)->hash_function = ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:391:1: error: conflicting types for ‘ice_hash_parse_pattern_action’ ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ ../drivers/net/ice/ice_hash.c:67:1: note: previous declaration of ‘ice_hash_parse_pattern_action’ was here ice_hash_parse_pattern_action(struct ice_adapter *ad, ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:412:23: error: implicit declaration of function ‘ice_search_pattern_match_item’ [-Werror=implicit-function-declaration] pattern_match_item = ice_search_pattern_match_item(pattern, ^ ../drivers/net/ice/ice_hash.c:412:21: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pattern_match_item = ice_search_pattern_match_item(pattern, ^ ../drivers/net/ice/ice_hash.c:424:22: error: request for member ‘meta’ in something not a structure or union (pattern_match_item->meta))->hdr_mask; ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:472:30: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function) } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^ ../drivers/net/ice/ice_hash.c:472:27: error: comparison between pointer and integer [-Werror] } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:518:23: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] if (filter_ptr->symm == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { ^ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_uninit’: ../drivers/net/ice/ice_hash.c:546:3: error: implicit declaration of function ‘ice_unregister_parser’ [-Werror=implicit-function-declaration] ice_unregister_parser(&ice_hash_parser_os, ad); ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:67:1: error: ‘ice_hash_parse_pattern_action’ used but never defined [-Werror] ice_hash_parse_pattern_action(struct ice_adapter *ad, ^ In file included from ../drivers/net/ice/ice_hash.c:26:0: ../drivers/net/ice/ice_generic_flow.h:569:32: error: ‘ice_supported_patterns’ defined but not used [-Werror=unused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^ ../drivers/net/ice/ice_hash.c:106:38: error: ‘ice_hash_pattern_list_os’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^ ../drivers/net/ice/ice_hash.c:119:38: error: ‘ice_hash_pattern_list_comms’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^ ../drivers/net/ice/ice_hash.c:391:1: error: ‘ice_hash_parse_pattern_action’ defined but not used [-Werror=unused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^ cc1: all warnings being treated as errors [837/1657] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_generic_flow.c.o'. [838/1657] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ifc@sta/net_ifc_ifcvf_vdpa.c.o'. [839/1657] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base@sta/ice_flex_pipe.c.o'. [840/1657] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_ethdev.c.o'. [841/1657] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #4: OS: UB1804-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o gcc -Idrivers/a715181@@tmp_rte_pmd_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -fPIC -march=native -mno-avx512f -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:68:11: error: ‘struct ice_pattern_match_item’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct ice_pattern_match_item *array, ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:107:3: error: ‘pattern_eth_ipv4’ undeclared here (not in a function); did you mean ‘pattern_ipv4’? {pattern_eth_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_1)}, ^~~~~~~~~~~~~~~~ pattern_ipv4 ../drivers/net/ice/ice_hash.c:108:3: error: ‘pattern_eth_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_2)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:109:3: error: ‘pattern_eth_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_udp’? {pattern_eth_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_3)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:110:3: error: ‘pattern_eth_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_4)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:111:3: error: ‘pattern_eth_ipv6’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_ipv6, ICE_INSET_NONE, (uint64_t)(&hint_5)}, ^~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:112:3: error: ‘pattern_eth_ipv6_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_udp’? {pattern_eth_ipv6_udp, ICE_INSET_NONE, (uint64_t)(&hint_6)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:113:3: error: ‘pattern_eth_ipv6_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv6_tcp, ICE_INSET_NONE, (uint64_t)(&hint_7)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:114:3: error: ‘pattern_eth_ipv6_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_sctp’? {pattern_eth_ipv6_sctp, ICE_INSET_NONE, (uint64_t)(&hint_8)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_sctp ../drivers/net/ice/ice_hash.c:115:3: error: ‘pattern_empty’ undeclared here (not in a function); did you mean ‘pattern_ipv6’? {pattern_empty, ICE_INSET_NONE, (uint64_t)(&hint_0)}, ^~~~~~~~~~~~~ pattern_ipv6 ../drivers/net/ice/ice_hash.c:119:38: error: array type has incomplete element type ‘struct ice_pattern_match_item’ static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:129:3: error: ‘pattern_eth_ipv4_gtpu_ipv4’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_tcp’? {pattern_eth_ipv4_gtpu_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:130:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_gtpu_ipv4’? {pattern_eth_ipv4_gtpu_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4 ../drivers/net/ice/ice_hash.c:131:3: error: ‘pattern_eth_ipv4_gtpu_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4_gtpu_ipv4_udp’? {pattern_eth_ipv4_gtpu_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4_udp ../drivers/net/ice/ice_hash.c:132:3: error: ‘pattern_eth_pppoes_ipv4’ undeclared here (not in a function); did you mean ‘pattern_eth_ipv4’? {pattern_eth_pppoes_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_10)}, ^~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:133:3: error: ‘pattern_eth_pppoes_ipv4_udp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4’? {pattern_eth_pppoes_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_11)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4 ../drivers/net/ice/ice_hash.c:134:3: error: ‘pattern_eth_pppoes_ipv4_tcp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4_udp’? {pattern_eth_pppoes_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_12)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_udp ../drivers/net/ice/ice_hash.c:135:3: error: ‘pattern_eth_pppoes_ipv4_sctp’ undeclared here (not in a function); did you mean ‘pattern_eth_pppoes_ipv4_tcp’? {pattern_eth_pppoes_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_13)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_tcp ../drivers/net/ice/ice_hash.c:143:18: error: ‘ETH_RSS_L3_SRC_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L2_PAYLOAD’? {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L2_PAYLOAD ../drivers/net/ice/ice_hash.c:144:18: error: ‘ETH_RSS_L3_DST_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_SRC_ONLY’? {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_DA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:146:52: error: ‘ETH_RSS_L4_SRC_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_SRC_ONLY’? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_SRC_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:147:52: error: ‘ETH_RSS_L4_DST_ONLY’ undeclared here (not in a function); did you mean ‘ETH_RSS_L3_DST_ONLY’? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_DST_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_DST_ONLY ../drivers/net/ice/ice_hash.c:205:15: error: variable ‘ice_hash_engine’ has initializer but incomplete type static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:3: error: ‘struct ice_flow_engine’ has no member named ‘init’ .init = ice_hash_init, ^~~~ ../drivers/net/ice/ice_hash.c:206:10: error: excess elements in struct initializer [-Werror] .init = ice_hash_init, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:207:3: error: ‘struct ice_flow_engine’ has no member named ‘create’ .create = ice_hash_create, ^~~~~~ ../drivers/net/ice/ice_hash.c:207:12: error: excess elements in struct initializer [-Werror] .create = ice_hash_create, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:207:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:208:3: error: ‘struct ice_flow_engine’ has no member named ‘destroy’ .destroy = ice_hash_destroy, ^~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: error: excess elements in struct initializer [-Werror] .destroy = ice_hash_destroy, ^~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:209:3: error: ‘struct ice_flow_engine’ has no member named ‘uninit’ .uninit = ice_hash_uninit, ^~~~~~ ../drivers/net/ice/ice_hash.c:209:12: error: excess elements in struct initializer [-Werror] .uninit = ice_hash_uninit, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:209:12: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:210:3: error: ‘struct ice_flow_engine’ has no member named ‘free’ .free = ice_hash_free, ^~~~ ../drivers/net/ice/ice_hash.c:210:10: error: excess elements in struct initializer [-Werror] .free = ice_hash_free, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:210:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:211:3: error: ‘struct ice_flow_engine’ has no member named ‘type’ .type = ICE_FLOW_ENGINE_HASH, ^~~~ ../drivers/net/ice/ice_hash.c:211:10: error: ‘ICE_FLOW_ENGINE_HASH’ undeclared here (not in a function); did you mean ‘ICE_FLOW_PRIO_HIGH’? .type = ICE_FLOW_ENGINE_HASH, ^~~~~~~~~~~~~~~~~~~~ ICE_FLOW_PRIO_HIGH ../drivers/net/ice/ice_hash.c:211:10: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:211:10: note: (near initialization for ‘ice_hash_engine’) ../drivers/net/ice/ice_hash.c:215:15: error: variable ‘ice_hash_parser_os’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:216:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:216:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:216:12: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:217:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ .array = ice_hash_pattern_list_os, ^~~~~ ../drivers/net/ice/ice_hash.c:217:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_os, ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:217:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:218:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_os’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../drivers/net/ice/ice_hash.c:219:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:220:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:220:11: error: ‘ICE_FLOW_STAGE_RSS’ undeclared here (not in a function); did you mean ‘ICE_FLOW_TX_RX’? .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ICE_FLOW_TX_RX ../drivers/net/ice/ice_hash.c:220:11: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:220:11: note: (near initialization for ‘ice_hash_parser_os’) ../drivers/net/ice/ice_hash.c:224:15: error: variable ‘ice_hash_parser_comms’ has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:225:3: error: ‘struct ice_flow_parser’ has no member named ‘engine’ .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:225:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:225:12: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:226:3: error: ‘struct ice_flow_parser’ has no member named ‘array’ .array = ice_hash_pattern_list_comms, ^~~~~ ../drivers/net/ice/ice_hash.c:226:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_comms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:226:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:227:3: error: ‘struct ice_flow_parser’ has no member named ‘array_len’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have ‘struct ice_hash_match_type *’ and ‘long unsigned int’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for ‘ice_hash_parser_comms’) #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro ‘RTE_DIM’ .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../drivers/net/ice/ice_hash.c:228:3: error: ‘struct ice_flow_parser’ has no member named ‘parse_pattern_action’ .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c:229:3: error: ‘struct ice_flow_parser’ has no member named ‘stage’ .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:229:11: error: excess elements in struct initializer [-Werror] .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:229:11: note: (near initialization for ‘ice_hash_parser_comms’) ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_engine_init’: ../drivers/net/ice/ice_hash.c:235:2: error: implicit declaration of function ‘ice_register_flow_engine’ [-Werror=implicit-function-declaration] ice_register_flow_engine(engine); ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_init’: ../drivers/net/ice/ice_hash.c:248:9: error: implicit declaration of function ‘ice_register_parser’; did you mean ‘ice_release_res’? [-Werror=implicit-function-declaration] return ice_register_parser(parser, ad); ^~~~~~~~~~~~~~~~~~~ ice_release_res ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_action’: ../drivers/net/ice/ice_hash.c:287:24: error: dereferencing pointer to incomplete type ‘struct ice_pattern_match_item’ (pattern_match_item->meta); ^~ ../drivers/net/ice/ice_hash.c:287:24: error: request for member ‘meta’ in something not a structure or union ../drivers/net/ice/ice_hash.c:301:27: error: request for member ‘pattern_list’ in something not a structure or union if ((pattern_match_item->pattern_list != ^~ ../drivers/net/ice/ice_hash.c:345:5: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:345:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_hash.c:344:18: error: comparison between pointer and integer [-Werror] if (rss->func == ^~ ../drivers/net/ice/ice_hash.c:346:47: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] ((struct rss_meta *)*meta)->hash_function = ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:391:1: error: conflicting types for ‘ice_hash_parse_pattern_action’ ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: note: previous declaration of ‘ice_hash_parse_pattern_action’ was here ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_parse_pattern_action’: ../drivers/net/ice/ice_hash.c:412:23: error: implicit declaration of function ‘ice_search_pattern_match_item’; did you mean ‘ice_hash_parse_pattern_action’? [-Werror=implicit-function-declaration] pattern_match_item = ice_search_pattern_match_item(pattern, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_hash_parse_pattern_action ../drivers/net/ice/ice_hash.c:412:21: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pattern_match_item = ice_search_pattern_match_item(pattern, ^ ../drivers/net/ice/ice_hash.c:424:22: error: request for member ‘meta’ in something not a structure or union (pattern_match_item->meta))->hdr_mask; ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_create’: ../drivers/net/ice/ice_hash.c:472:30: error: ‘RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ’ undeclared (first use in this function); did you mean ‘RTE_ETH_HASH_FUNCTION_TOEPLITZ’? } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:472:27: error: comparison between pointer and integer [-Werror] } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_destroy’: ../drivers/net/ice/ice_hash.c:518:23: error: comparison of constant ‘2’ with boolean expression is always false [-Werror=bool-compare] if (filter_ptr->symm == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { ^~ ../drivers/net/ice/ice_hash.c: In function ‘ice_hash_uninit’: ../drivers/net/ice/ice_hash.c:546:3: error: implicit declaration of function ‘ice_unregister_parser’ [-Werror=implicit-function-declaration] ice_unregister_parser(&ice_hash_parser_os, ad); ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:205:31: error: storage size of ‘ice_hash_engine’ isn’t known static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:215:31: error: storage size of ‘ice_hash_parser_os’ isn’t known static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:224:31: error: storage size of ‘ice_hash_parser_comms’ isn’t known static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: error: ‘ice_hash_parse_pattern_action’ used but never defined [-Werror] ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:391:1: error: ‘ice_hash_parse_pattern_action’ defined but not used [-Werror=unused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:119:38: error: ‘ice_hash_pattern_list_comms’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: ‘ice_hash_pattern_list_os’ defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:26:0: ../drivers/net/ice/ice_generic_flow.h:569:32: error: ‘ice_supported_patterns’ defined but not used [-Werror=unused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [856/1792] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx.c.o'. [857/1792] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ipn3ke@sta/net_ipn3ke_ipn3ke_ethdev.c.o'. [858/1792] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ifc@sta/net_ifc_ifcvf_vdpa.c.o'. [859/1792] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx_vec_avx2.c.o'. [860/1792] Compiling C object 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_rxtx_vec_sse.c.o'. ninja: build stopped: subcommand failed *Meson Build Failed #5: OS: FreeBSD12-64 Target:build-gcc-static FAILED: drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o ccache gcc -Idrivers/a715181@@tmp_rte_pmd_ice@sta -Idrivers -I../drivers -Idrivers/net/ice -I../drivers/net/ice -Idrivers/net/ice/base -I../drivers/net/ice/base -Ilib/librte_ethdev -I../lib/librte_ethdev -I. -I../ -Iconfig -I../config -Ilib/librte_eal/common/include -I../lib/librte_eal/common/include -I../lib/librte_eal/freebsd/eal/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/x86 -I../lib/librte_eal/common/include/arch/x86 -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_net -I../lib/librte_net -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_meter -I../lib/librte_meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/librte_hash -I../lib/librte_hash -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wunused-parameter -Wsign-compare -Wcast-qual -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -Wno-format-truncation -DALLOW_EXPERIMENTAL_API -MD -MQ 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -MF 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_pmd_ice@sta/net_ice_ice_hash.c.o' -c ../drivers/net/ice/ice_hash.c ../drivers/net/ice/ice_hash.c:68:11: error: 'struct ice_pattern_match_item' declared inside parameter list will not be visible outside of this definition or declaration [-Werror] struct ice_pattern_match_item *array, ^~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: array type has incomplete element type 'struct ice_pattern_match_item' static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:107:3: error: 'pattern_eth_ipv4' undeclared here (not in a function); did you mean 'pattern_ipv4'? {pattern_eth_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_1)}, ^~~~~~~~~~~~~~~~ pattern_ipv4 ../drivers/net/ice/ice_hash.c:108:3: error: 'pattern_eth_ipv4_udp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4'? {pattern_eth_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_2)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:109:3: error: 'pattern_eth_ipv4_tcp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_udp'? {pattern_eth_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_3)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:110:3: error: 'pattern_eth_ipv4_sctp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_tcp'? {pattern_eth_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_4)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:111:3: error: 'pattern_eth_ipv6' undeclared here (not in a function); did you mean 'pattern_eth_ipv4'? {pattern_eth_ipv6, ICE_INSET_NONE, (uint64_t)(&hint_5)}, ^~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:112:3: error: 'pattern_eth_ipv6_udp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_udp'? {pattern_eth_ipv6_udp, ICE_INSET_NONE, (uint64_t)(&hint_6)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_udp ../drivers/net/ice/ice_hash.c:113:3: error: 'pattern_eth_ipv6_tcp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_tcp'? {pattern_eth_ipv6_tcp, ICE_INSET_NONE, (uint64_t)(&hint_7)}, ^~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:114:3: error: 'pattern_eth_ipv6_sctp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_sctp'? {pattern_eth_ipv6_sctp, ICE_INSET_NONE, (uint64_t)(&hint_8)}, ^~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_sctp ../drivers/net/ice/ice_hash.c:115:3: error: 'pattern_empty' undeclared here (not in a function); did you mean 'pattern_ipv6'? {pattern_empty, ICE_INSET_NONE, (uint64_t)(&hint_0)}, ^~~~~~~~~~~~~ pattern_ipv6 ../drivers/net/ice/ice_hash.c:119:38: error: array type has incomplete element type 'struct ice_pattern_match_item' static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:129:3: error: 'pattern_eth_ipv4_gtpu_ipv4' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_tcp'? {pattern_eth_ipv4_gtpu_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_tcp ../drivers/net/ice/ice_hash.c:130:3: error: 'pattern_eth_ipv4_gtpu_ipv4_udp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_gtpu_ipv4'? {pattern_eth_ipv4_gtpu_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4 ../drivers/net/ice/ice_hash.c:131:3: error: 'pattern_eth_ipv4_gtpu_ipv4_tcp' undeclared here (not in a function); did you mean 'pattern_eth_ipv4_gtpu_ipv4_udp'? {pattern_eth_ipv4_gtpu_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_9)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4_gtpu_ipv4_udp ../drivers/net/ice/ice_hash.c:132:3: error: 'pattern_eth_pppoes_ipv4' undeclared here (not in a function); did you mean 'pattern_eth_ipv4'? {pattern_eth_pppoes_ipv4, ICE_INSET_NONE, (uint64_t)(&hint_10)}, ^~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_ipv4 ../drivers/net/ice/ice_hash.c:133:3: error: 'pattern_eth_pppoes_ipv4_udp' undeclared here (not in a function); did you mean 'pattern_eth_pppoes_ipv4'? {pattern_eth_pppoes_ipv4_udp, ICE_INSET_NONE, (uint64_t)(&hint_11)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4 ../drivers/net/ice/ice_hash.c:134:3: error: 'pattern_eth_pppoes_ipv4_tcp' undeclared here (not in a function); did you mean 'pattern_eth_pppoes_ipv4_udp'? {pattern_eth_pppoes_ipv4_tcp, ICE_INSET_NONE, (uint64_t)(&hint_12)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_udp ../drivers/net/ice/ice_hash.c:135:3: error: 'pattern_eth_pppoes_ipv4_sctp' undeclared here (not in a function); did you mean 'pattern_eth_pppoes_ipv4_tcp'? {pattern_eth_pppoes_ipv4_sctp, ICE_INSET_NONE, (uint64_t)(&hint_13)}, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pattern_eth_pppoes_ipv4_tcp ../drivers/net/ice/ice_hash.c:143:18: error: 'ETH_RSS_L3_SRC_ONLY' undeclared here (not in a function); did you mean 'ETH_RSS_L2_PAYLOAD'? {ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L2_PAYLOAD ../drivers/net/ice/ice_hash.c:144:18: error: 'ETH_RSS_L3_DST_ONLY' undeclared here (not in a function); did you mean 'ETH_RSS_L3_SRC_ONLY'? {ETH_RSS_IPV4 | ETH_RSS_L3_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_DA)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:146:52: error: 'ETH_RSS_L4_SRC_ONLY' undeclared here (not in a function); did you mean 'ETH_RSS_L3_SRC_ONLY'? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_SRC_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_SRC_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_SRC_ONLY ../drivers/net/ice/ice_hash.c:147:52: error: 'ETH_RSS_L4_DST_ONLY' undeclared here (not in a function); did you mean 'ETH_RSS_L3_DST_ONLY'? {ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_L3_SRC_ONLY | ETH_RSS_L4_DST_ONLY, BIT_ULL(ICE_FLOW_FIELD_IDX_IPV4_SA) | BIT_ULL(ICE_FLOW_FIELD_IDX_UDP_DST_PORT)}, ^~~~~~~~~~~~~~~~~~~ ETH_RSS_L3_DST_ONLY ../drivers/net/ice/ice_hash.c:205:15: error: variable 'ice_hash_engine' has initializer but incomplete type static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:3: error: 'struct ice_flow_engine' has no member named 'init' .init = ice_hash_init, ^~~~ ../drivers/net/ice/ice_hash.c:206:10: error: excess elements in struct initializer [-Werror] .init = ice_hash_init, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:206:10: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:207:3: error: 'struct ice_flow_engine' has no member named 'create' .create = ice_hash_create, ^~~~~~ ../drivers/net/ice/ice_hash.c:207:12: error: excess elements in struct initializer [-Werror] .create = ice_hash_create, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:207:12: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:208:3: error: 'struct ice_flow_engine' has no member named 'destroy' .destroy = ice_hash_destroy, ^~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: error: excess elements in struct initializer [-Werror] .destroy = ice_hash_destroy, ^~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:208:13: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:209:3: error: 'struct ice_flow_engine' has no member named 'uninit' .uninit = ice_hash_uninit, ^~~~~~ ../drivers/net/ice/ice_hash.c:209:12: error: excess elements in struct initializer [-Werror] .uninit = ice_hash_uninit, ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:209:12: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:210:3: error: 'struct ice_flow_engine' has no member named 'free' .free = ice_hash_free, ^~~~ ../drivers/net/ice/ice_hash.c:210:10: error: excess elements in struct initializer [-Werror] .free = ice_hash_free, ^~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:210:10: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:211:3: error: 'struct ice_flow_engine' has no member named 'type' .type = ICE_FLOW_ENGINE_HASH, ^~~~ ../drivers/net/ice/ice_hash.c:211:10: error: 'ICE_FLOW_ENGINE_HASH' undeclared here (not in a function); did you mean 'ICE_FLOW_PRIO_HIGH'? .type = ICE_FLOW_ENGINE_HASH, ^~~~~~~~~~~~~~~~~~~~ ICE_FLOW_PRIO_HIGH ../drivers/net/ice/ice_hash.c:211:10: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:211:10: note: (near initialization for 'ice_hash_engine') ../drivers/net/ice/ice_hash.c:215:15: error: variable 'ice_hash_parser_os' has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:216:3: error: 'struct ice_flow_parser' has no member named 'engine' .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:216:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:216:12: note: (near initialization for 'ice_hash_parser_os') ../drivers/net/ice/ice_hash.c:217:3: error: 'struct ice_flow_parser' has no member named 'array' .array = ice_hash_pattern_list_os, ^~~~~ ../drivers/net/ice/ice_hash.c:217:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_os, ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:217:11: note: (near initialization for 'ice_hash_parser_os') ../drivers/net/ice/ice_hash.c:218:3: error: 'struct ice_flow_parser' has no member named 'array_len' .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have 'struct ice_hash_match_type *' and 'long unsigned int') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for 'ice_hash_parser_os') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:218:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_os), ^~~~~~~ ../drivers/net/ice/ice_hash.c:219:3: error: 'struct ice_flow_parser' has no member named 'parse_pattern_action' .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:219:26: note: (near initialization for 'ice_hash_parser_os') ../drivers/net/ice/ice_hash.c:220:3: error: 'struct ice_flow_parser' has no member named 'stage' .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:220:11: error: 'ICE_FLOW_STAGE_RSS' undeclared here (not in a function); did you mean 'ICE_FLOW_TX_RX'? .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ICE_FLOW_TX_RX ../drivers/net/ice/ice_hash.c:220:11: error: excess elements in struct initializer [-Werror] ../drivers/net/ice/ice_hash.c:220:11: note: (near initialization for 'ice_hash_parser_os') ../drivers/net/ice/ice_hash.c:224:15: error: variable 'ice_hash_parser_comms' has initializer but incomplete type static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:225:3: error: 'struct ice_flow_parser' has no member named 'engine' .engine = &ice_hash_engine, ^~~~~~ ../drivers/net/ice/ice_hash.c:225:12: error: excess elements in struct initializer [-Werror] .engine = &ice_hash_engine, ^ ../drivers/net/ice/ice_hash.c:225:12: note: (near initialization for 'ice_hash_parser_comms') ../drivers/net/ice/ice_hash.c:226:3: error: 'struct ice_flow_parser' has no member named 'array' .array = ice_hash_pattern_list_comms, ^~~~~ ../drivers/net/ice/ice_hash.c:226:11: error: excess elements in struct initializer [-Werror] .array = ice_hash_pattern_list_comms, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:226:11: note: (near initialization for 'ice_hash_parser_comms') ../drivers/net/ice/ice_hash.c:227:3: error: 'struct ice_flow_parser' has no member named 'array_len' .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~~~ In file included from ../lib/librte_eal/common/include/rte_log.h:25:0, from ../lib/librte_eal/common/include/rte_debug.h:17, from ../drivers/net/ice/ice_hash.c:13: ../lib/librte_eal/common/include/rte_common.h:651:32: error: invalid operands to binary / (have 'struct ice_hash_match_type *' and 'long unsigned int') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ~ ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: error: excess elements in struct initializer [-Werror] #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../lib/librte_eal/common/include/rte_common.h:651:20: note: (near initialization for 'ice_hash_parser_comms') #define RTE_DIM(a) (sizeof (a) / sizeof ((a)[0])) ^ ../drivers/net/ice/ice_hash.c:227:15: note: in expansion of macro 'RTE_DIM' .array_len = RTE_DIM(ice_hash_pattern_list_comms), ^~~~~~~ ../drivers/net/ice/ice_hash.c:228:3: error: 'struct ice_flow_parser' has no member named 'parse_pattern_action' .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: error: excess elements in struct initializer [-Werror] .parse_pattern_action = ice_hash_parse_pattern_action, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:228:26: note: (near initialization for 'ice_hash_parser_comms') ../drivers/net/ice/ice_hash.c:229:3: error: 'struct ice_flow_parser' has no member named 'stage' .stage = ICE_FLOW_STAGE_RSS, ^~~~~ ../drivers/net/ice/ice_hash.c:229:11: error: excess elements in struct initializer [-Werror] .stage = ICE_FLOW_STAGE_RSS, ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:229:11: note: (near initialization for 'ice_hash_parser_comms') ../drivers/net/ice/ice_hash.c: In function 'ice_hash_engine_init': ../drivers/net/ice/ice_hash.c:235:2: error: implicit declaration of function 'ice_register_flow_engine' [-Werror=implicit-function-declaration] ice_register_flow_engine(engine); ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_init': ../drivers/net/ice/ice_hash.c:248:9: error: implicit declaration of function 'ice_register_parser'; did you mean 'ice_release_res'? [-Werror=implicit-function-declaration] return ice_register_parser(parser, ad); ^~~~~~~~~~~~~~~~~~~ ice_release_res ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_action': ../drivers/net/ice/ice_hash.c:287:24: error: dereferencing pointer to incomplete type 'struct ice_pattern_match_item' (pattern_match_item->meta); ^~ ../drivers/net/ice/ice_hash.c:287:24: error: request for member 'meta' in something not a structure or union ../drivers/net/ice/ice_hash.c:301:27: error: request for member 'pattern_list' in something not a structure or union if ((pattern_match_item->pattern_list != ^~ ../drivers/net/ice/ice_hash.c:345:5: error: 'RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ' undeclared (first use in this function); did you mean 'RTE_ETH_HASH_FUNCTION_TOEPLITZ'? RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:345:5: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ice/ice_hash.c:344:18: error: comparison between pointer and integer [-Werror] if (rss->func == ^~ ../drivers/net/ice/ice_hash.c:346:47: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] ((struct rss_meta *)*meta)->hash_function = ^ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:391:1: error: conflicting types for 'ice_hash_parse_pattern_action' ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: note: previous declaration of 'ice_hash_parse_pattern_action' was here ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_parse_pattern_action': ../drivers/net/ice/ice_hash.c:412:23: error: implicit declaration of function 'ice_search_pattern_match_item'; did you mean 'ice_hash_parse_pattern_action'? [-Werror=implicit-function-declaration] pattern_match_item = ice_search_pattern_match_item(pattern, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ice_hash_parse_pattern_action ../drivers/net/ice/ice_hash.c:412:21: error: assignment makes pointer from integer without a cast [-Werror=int-conversion] pattern_match_item = ice_search_pattern_match_item(pattern, ^ ../drivers/net/ice/ice_hash.c:424:22: error: request for member 'meta' in something not a structure or union (pattern_match_item->meta))->hdr_mask; ^~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_create': ../drivers/net/ice/ice_hash.c:472:30: error: 'RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ' undeclared (first use in this function); did you mean 'RTE_ETH_HASH_FUNCTION_TOEPLITZ'? } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTE_ETH_HASH_FUNCTION_TOEPLITZ ../drivers/net/ice/ice_hash.c:472:27: error: comparison between pointer and integer [-Werror] } else if (hash_function == RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ) { ^~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_destroy': ../drivers/net/ice/ice_hash.c:518:23: error: comparison of constant '2' with boolean expression is always false [-Werror=bool-compare] if (filter_ptr->symm == RTE_ETH_HASH_FUNCTION_SIMPLE_XOR) { ^~ ../drivers/net/ice/ice_hash.c: In function 'ice_hash_uninit': ../drivers/net/ice/ice_hash.c:546:3: error: implicit declaration of function 'ice_unregister_parser' [-Werror=implicit-function-declaration] ice_unregister_parser(&ice_hash_parser_os, ad); ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c: At top level: ../drivers/net/ice/ice_hash.c:205:31: error: storage size of 'ice_hash_engine' isn't known static struct ice_flow_engine ice_hash_engine = { ^~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:215:31: error: storage size of 'ice_hash_parser_os' isn't known static struct ice_flow_parser ice_hash_parser_os = { ^~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:224:31: error: storage size of 'ice_hash_parser_comms' isn't known static struct ice_flow_parser ice_hash_parser_comms = { ^~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:67:1: error: 'ice_hash_parse_pattern_action' used but never defined [-Werror] ice_hash_parse_pattern_action(struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:391:1: error: 'ice_hash_parse_pattern_action' defined but not used [-Werror=unused-function] ice_hash_parse_pattern_action(__rte_unused struct ice_adapter *ad, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:119:38: error: 'ice_hash_pattern_list_comms' defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_comms[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ice/ice_hash.c:106:38: error: 'ice_hash_pattern_list_os' defined but not used [-Werror=unused-variable] static struct ice_pattern_match_item ice_hash_pattern_list_os[] = { ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../drivers/net/ice/ice_hash.c:26:0: ../drivers/net/ice/ice_generic_flow.h:569:32: error: 'ice_supported_patterns' defined but not used [-Werror=unused-variable] static struct ice_flow_pattern ice_supported_patterns[] = { ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors [949/1414] Linking target drivers/librte_pmd_virtio_crypto.so.1.1. [950/1414] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zlib@sta/compress_zlib_zlib_pmd_ops.c.o'. [951/1414] Compiling C object 'drivers/a715181@@tmp_rte_pmd_zlib@sta/compress_zlib_zlib_pmd.c.o'. [952/1414] Generating rte_pmd_qat.pmd.c with a custom command. [953/1414] Linking target drivers/librte_pmd_octeontx_compress.so.1.1. ninja: build stopped: subcommand failed DPDK STV team