[dpdk-test-report] |FAILURE| pw(98406) sid(18783) job(PER_PATCH_BUILD7691)[2/2] net/iavf: support IPv4/L4 checksum RSS offload

sys_stv at intel.com sys_stv at intel.com
Thu Sep 9 09:21:38 CEST 2021


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

_Compilation issues_

Submitter: Alvin Zhang <alvinx.zhang at intel.com>
Date: 2021-09-09 06:53:56
Reply_mail: 20210909065356.22388-2-alvinx.zhang at intel.com

DPDK git baseline: Repo:dpdk-next-net-intel, CommitID: 878adc10c70758c48443ea3e18cc5b7531416910


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

+----------------+------------+--------------+------------+------------+-----------+----------+
| os             | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document |
+----------------+------------+--------------+------------+------------+-----------+----------+
| UB2004-64      | fail       | fail         | fail       |            |           | fail     |
| RHEL83-64      | fail       | fail         | fail       | fail       | fail      |          |
| FC34-64        | fail       | fail         |            |            |           |          |
| UB2104-64      | fail       |              |            |            |           |          |
| WIN10-64       |            | pass         |            |            |           |          |
| UB2004-32      | fail       |              |            |            |           |          |
| CENTOS83-64    | fail       | fail         |            |            |           |          |
| FreeBSD1201-64 | fail       | fail         |            | fail       | fail      |          |
| SUSE15-64      | fail       | fail         |            |            |           |          |
+----------------+------------+--------------+------------+------------+-----------+----------+
Test environment and configuration as below:


OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-icc
	x86_64-native-linuxapp-doc

OS: RHEL83-64
	Kernel Version: 4.18.0-305.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1)
	Clang Version: 11.0.0 (Red Hat 11.0.0-1.module_el8.4.0+587+5187cac0)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug
	x86_64-native-linuxapp-icc

OS: FC34-64
	Kernel Version: 5.11.15-300.fc34.x86_64
	GCC Version: gcc (GCC) 11.0.1 20210324 (Red Hat 11.0.1-0)
	Clang Version: 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2104-64
	Kernel Version: 5.11.0-16-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1) 10.3.0
	Clang Version: 12.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc

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

OS: UB2004-32
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0
	Clang Version: 10.0.0-4ubuntu1
	i686-native-linuxapp-gcc

OS: CENTOS83-64
	Kernel Version: 4.18.0-240.1.1.el8_3.x86_64
	GCC Version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
	Clang Version: 10.0.1 (Red Hat 10.0.1-1.module_el8.3.0+467+cb298d5b)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: FreeBSD1201-64
	Kernel Version: 12.1-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 9.2.0
	Clang Version: 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.3.18-lp152.57-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 9.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV6_PRE32’?
       ETH_RSS_IPV4_CHKSUM)
       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
       ETH_RSS_L4_CHKSUM)
       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1467/3035] Generating rte_net_iavf_mingw with a custom command
[1468/3035] Linking target drivers/librte_net_hns3.so.22.0
[1469/3035] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o
[1470/3035] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1471/3035] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1472/3035] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1473/3035] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1474/3035] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1475/3035] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1476/3035] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
[1477/3035] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #2:
OS: CENTOS83-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1476/3038] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1477/3038] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1478/3038] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1479/3038] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1480/3038] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1481/3038] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1482/3038] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1483/3038] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1484/3038] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #3:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: 'ETH_RSS_IPV4_CHKSUM' undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4'
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: 'ETH_RSS_L4_CHKSUM' undeclared here (not in a function); did you mean 'ETH_RSS_L4_SRC_ONLY'?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function 'iavf_refine_proto_hdrs_l234':
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_UDP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_TCP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_SCTP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1078/2131] Generating rte_net_i40e.pmd.c with a custom command
[1079/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1080/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1081/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1082/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
ninja: build stopped




*Build Failed #4:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1079/2097] Generating rte_net_i40e.pmd.c with a custom command
[1080/2097] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1081/2097] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1082/2097] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1083/2097] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1084/2097] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1085/2097] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1086/2097] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1087/2097] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #5:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+shared
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: 'ETH_RSS_IPV4_CHKSUM' undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4'
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: 'ETH_RSS_L4_CHKSUM' undeclared here (not in a function); did you mean 'ETH_RSS_L4_SRC_ONLY'?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function 'iavf_refine_proto_hdrs_l234':
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_UDP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_TCP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_SCTP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1096/2012] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1097/2012] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1098/2012] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1099/2012] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1100/2012] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1101/2012] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1102/2012] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1103/2012] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1104/2012] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
ninja: build stopped




*Build Failed #6:
OS: FreeBSD1201-64
Target: x86_64-native-bsdapp-gcc+debug
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/freebsd/include -I../lib/eal/freebsd/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/bsd -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D__BSD_VISIBLE -fPIC -march=native -mno-avx512f -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: 'ETH_RSS_IPV4_CHKSUM' undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4'
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: 'ETH_RSS_L4_CHKSUM' undeclared here (not in a function); did you mean 'ETH_RSS_L4_SRC_ONLY'?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function 'iavf_refine_proto_hdrs_l234':
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_UDP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_TCP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have 'uint64_t' {aka 'long unsigned int'} and 'struct iavf_pattern_match_item *')
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: 'VIRTCHNL_PROTO_HDR_SCTP_CHKSUM' undeclared (first use in this function); did you mean 'VIRTCHNL_PROTO_HDR_IPV4_CHKSUM'?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have 'struct iavf_pattern_match_item *' and 'long unsigned int')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro 'BIT'
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have 'long unsigned int' and 'struct iavf_pattern_match_item *')
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro 'BIT'
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have 'u32' {aka 'unsigned int'} and 'struct iavf_pattern_match_item *')
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro 'VIRTCHNL_ADD_PROTO_HDR_FIELD'
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro 'REFINE_PROTO_FLD'
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1070/2131] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o
[1071/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1072/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1073/2131] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o
[1074/2131] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1075/2131] Generating rte_common_sfc_efx.sym_chk with a meson_exe.py custom command
[1076/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1077/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1078/2131] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
ninja: build stopped




*Build Failed #7:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV6_PRE32’?
       ETH_RSS_IPV4_CHKSUM)
       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
       ETH_RSS_L4_CHKSUM)
       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1364/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_generic_flow.c.o'.
[1365/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_fdir.c.o'.
[1366/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_rte_pmd_i40e.c.o'.
[1367/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_rxtx_vec_sse.c.o'.
[1368/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o'.
[1369/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_rxtx_vec_avx2.c.o'.
[1370/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_rxtx.c.o'.
[1371/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_ethdev.c.o'.
[1372/2821] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o'.
ninja: build stopped




*Build Failed #8:
OS: SUSE15-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1477/3039] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1478/3039] Generating rte_net_i40e.pmd.c with a custom command
[1479/3039] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1480/3039] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1481/3039] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1482/3039] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1483/3039] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1484/3039] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1485/3039] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #9:
OS: SUSE15-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV6_PRE32’?
       ETH_RSS_IPV4_CHKSUM)
       ^
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV4_CHKSUM’?
       ETH_RSS_L4_CHKSUM)
       ^
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t {aka long unsigned int}’ and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t {aka long unsigned int}’ and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t {aka long unsigned int}’ and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32 {aka unsigned int}’ and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t {aka long unsigned int}’ and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32 {aka unsigned int}’ and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t {aka long unsigned int}’ and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/common/iavf/iavf_prototype.h:8:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10:0,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32 {aka unsigned int}’ and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1469/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1470/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1471/3037] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1472/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1473/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1474/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1475/3037] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #10:
OS: UB2004-32
Target: i686-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -Wno-pointer-to-int-cast -D_GNU_SOURCE -m32 -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1205/2438] Generating rte_net_iavf_mingw with a custom command
[1206/2438] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1207/2438] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o
[1208/2438] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1209/2438] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1210/2438] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1211/2438] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1212/2438] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1213/2438] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #11:
OS: UB2004-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1468/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1469/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1470/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1471/3058] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1472/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1473/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1474/3058] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1475/3058] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1476/3058] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #12:
OS: UB2004-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1467/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1468/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1469/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1470/3058] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1471/3058] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1472/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1473/3058] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1474/3058] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
[1475/3058] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #13:
OS: UB2004-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
icc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c(437): error: identifier "ETH_RSS_IPV4_CHKSUM" is undefined
  	{iavf_pattern_eth_ipv4,				IAVF_RSS_TYPE_OUTER_IPV4,	&outer_ipv4_tmplt},
  	                       				^

../drivers/net/iavf/iavf_hash.c(438): error: identifier "ETH_RSS_L4_CHKSUM" is undefined
  	{iavf_pattern_eth_ipv4_udp,			IAVF_RSS_TYPE_OUTER_IPV4_UDP,	&outer_ipv4_udp_tmplt},
  	                           			^

../drivers/net/iavf/iavf_hash.c(570): error: expression must have a constant value
  	.array = iavf_hash_pattern_list,
  	         ^

../drivers/net/iavf/iavf_hash.c(893): error: identifier "VIRTCHNL_PROTO_HDR_UDP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
  				^

../drivers/net/iavf/iavf_hash.c(912): error: identifier "VIRTCHNL_PROTO_HDR_TCP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
  				^

../drivers/net/iavf/iavf_hash.c(931): error: identifier "VIRTCHNL_PROTO_HDR_SCTP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
  				^

compilation aborted for ../drivers/net/iavf/iavf_hash.c (code 2)
[1445/3009] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_vchnl.c.o
[1446/3009] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_ethdev.c.o
[1447/3009] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_generic_flow.c.o
[1448/3009] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1449/3009] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o
[1450/3009] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o
[1451/3009] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1452/3009] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1453/3009] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o
[1454/3009] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1455/3009] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #14:
OS: UB2104-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1469/3072] Generating rte_net_iavf_mingw with a custom command
[1470/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_fdir.c.o
[1471/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1472/3072] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1473/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1474/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1475/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1476/3072] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1477/3072] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #15:
OS: UB2004-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function)
  346 |       ETH_RSS_IPV4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  437 |  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
  349 |       ETH_RSS_L4_CHKSUM)
      |       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  438 |  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  821 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  837 |    if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  892 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  911 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  930 |    if (rss_type & ETH_RSS_L4_CHKSUM)
      |                 ^
      |                 |
      |                 struct iavf_pattern_match_item *
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ~       ^
      |                                |
      |                                struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
 1496 |  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1368/2650] Generating rte_net_iavf_mingw with a custom command.
[1369/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_tm.c.o'.
[1370/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_ethdev.c.o'.
[1371/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_rxtx.c.o'.
[1372/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_ethdev.c.o'.
[1373/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_sse.c.o'.
[1374/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_avx2.c.o'.
[1375/2650] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o'.
[1376/2650] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o'.
ninja: build stopped




*Build Failed #16:
OS: FC34-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
gcc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:42: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function)
  346 |                                          ETH_RSS_IPV4_CHKSUM)
      |                                          ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:57: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  437 |         {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:42: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
  349 |                                          ETH_RSS_L4_CHKSUM)
      |                                          ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:57: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  438 |         {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:38: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  821 |                         if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                                      ^
      |                                      |
      |                                      struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:837:38: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  837 |                         if (rss_type & ETH_RSS_IPV4_CHKSUM)
      |                                      ^
      |                                      |
      |                                      struct iavf_pattern_match_item *
../drivers/net/iavf/iavf_hash.c:892:38: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  892 |                         if (rss_type & ETH_RSS_L4_CHKSUM)
      |                                      ^
      |                                      |
      |                                      struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:46: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                              ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:46: note: each undeclared identifier is reported only once for each function it appears in
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                              ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:47: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                       ~       ^
      |                                       |
      |                                       struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:35: note: in expansion of macro ‘BIT’
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                   ^~~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:32: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ^~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:9: error: statement with no effect [-Werror=unused-value]
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  893 |                                 REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:38: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  911 |                         if (rss_type & ETH_RSS_L4_CHKSUM)
      |                                      ^
      |                                      |
      |                                      struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:46: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                              ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |                                 REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:47: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                       ~       ^
      |                                       |
      |                                       struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |                                 REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:35: note: in expansion of macro ‘BIT’
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                   ^~~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |                                 REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:32: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ^~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |                                 REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:9: error: statement with no effect [-Werror=unused-value]
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  912 |                                 REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:38: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
  930 |                         if (rss_type & ETH_RSS_L4_CHKSUM)
      |                                      ^
      |                                      |
      |                                      struct iavf_pattern_match_item *
In file included from ../drivers/common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:46: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |                                              ^~~~~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |                                 REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:47: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                       ~       ^
      |                                       |
      |                                       struct iavf_pattern_match_item *
../drivers/common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
   23 | #define BIT(a) (1UL << (a))
      |                         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |                                 REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
   23 | #define BIT(a) (1UL << (a))
      |                     ^~
      |                     |
      |                     struct iavf_pattern_match_item *
../drivers/common/iavf/virtchnl.h:1496:35: note: in expansion of macro ‘BIT’
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                   ^~~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |                                 REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
In file included from ../drivers/common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/common/iavf/virtchnl.h:1496:32: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |                                ^~
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |                                 REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
../drivers/common/iavf/virtchnl.h:1496:9: error: statement with no effect [-Werror=unused-value]
 1496 |         ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
      |         ^
../drivers/net/iavf/iavf_hash.c:750:9: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  750 |         VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
      |         ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:33: note: in expansion of macro ‘REFINE_PROTO_FLD’
  931 |                                 REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
      |                                 ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1474/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1475/3037] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1476/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1477/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1478/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1479/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1480/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1481/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1482/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_flex_pipe.c.o
[1483/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
[1484/3037] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
ninja: build stopped




*Build Failed #17:
OS: FC34-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
clang -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1475/3037] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1476/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1477/3037] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_avx2.c.o
[1478/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_nvm.c.o
[1479/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_controlq.c.o
[1480/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_sched.c.o
[1481/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_common.c.o
[1482/3037] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
[1483/3037] Compiling C object drivers/net/ice/base/libice_base.a.p/ice_switch.c.o
ninja: build stopped




*Build Failed #18:
OS: RHEL83-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o 
clang -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:437:29: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4,                         IAVF_RSS_TYPE_OUTER_IPV4,       &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_udp,                     IAVF_RSS_TYPE_OUTER_IPV4_UDP,   &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:438:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_tcp,                     IAVF_RSS_TYPE_OUTER_IPV4_TCP,   &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:439:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_ipv4_sctp,                    IAVF_RSS_TYPE_OUTER_IPV4_SCTP,  &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:440:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:441:33: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4,                    IAVF_RSS_TYPE_VLAN_IPV4,        &outer_ipv4_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:370:35: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4'
#define IAVF_RSS_TYPE_VLAN_IPV4         (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_udp,                IAVF_RSS_TYPE_VLAN_IPV4_UDP,    &outer_ipv4_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:347:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
#define IAVF_RSS_TYPE_OUTER_IPV4_UDP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:442:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:372:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV4_UDP     (IAVF_RSS_TYPE_OUTER_IPV4_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:349:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_tcp,                IAVF_RSS_TYPE_VLAN_IPV4_TCP,    &outer_ipv4_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:350:39: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
#define IAVF_RSS_TYPE_OUTER_IPV4_TCP    (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:443:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:374:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV4_TCP     (IAVF_RSS_TYPE_OUTER_IPV4_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:352:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_IPV4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv4_sctp,               IAVF_RSS_TYPE_VLAN_IPV4_SCTP,   &outer_ipv4_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:353:40: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
#define IAVF_RSS_TYPE_OUTER_IPV4_SCTP   (IAVF_RSS_TYPE_OUTER_IPV4 | \
                                         ^
../drivers/net/iavf/iavf_hash.c:346:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4'
                                         ETH_RSS_IPV4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:444:37: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
../drivers/net/iavf/iavf_hash.c:376:39: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV4_SCTP'
#define IAVF_RSS_TYPE_VLAN_IPV4_SCTP    (IAVF_RSS_TYPE_OUTER_IPV4_SCTP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:355:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV4_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:499:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_udp,                     IAVF_RSS_TYPE_OUTER_IPV6_UDP,   &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:500:32: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_tcp,                     IAVF_RSS_TYPE_OUTER_IPV6_TCP,   &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:501:33: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_ipv6_sctp,                    IAVF_RSS_TYPE_OUTER_IPV6_SCTP,  &outer_ipv6_sctp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:368:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_SCTP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:504:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_udp,                IAVF_RSS_TYPE_VLAN_IPV6_UDP,    &outer_ipv6_udp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:383:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_UDP'
#define IAVF_RSS_TYPE_VLAN_IPV6_UDP     (IAVF_RSS_TYPE_OUTER_IPV6_UDP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:362:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_UDP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
../drivers/net/iavf/iavf_hash.c:505:36: error: use of undeclared identifier 'ETH_RSS_L4_CHKSUM'
        {iavf_pattern_eth_vlan_ipv6_tcp,                IAVF_RSS_TYPE_VLAN_IPV6_TCP,    &outer_ipv6_tcp_tmplt},
                                                        ^
../drivers/net/iavf/iavf_hash.c:385:38: note: expanded from macro 'IAVF_RSS_TYPE_VLAN_IPV6_TCP'
#define IAVF_RSS_TYPE_VLAN_IPV6_TCP     (IAVF_RSS_TYPE_OUTER_IPV6_TCP | \
                                         ^
../drivers/net/iavf/iavf_hash.c:365:7: note: expanded from macro 'IAVF_RSS_TYPE_OUTER_IPV6_TCP'
                                         ETH_RSS_L4_CHKSUM)
                                         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1374/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_tm.c.o'.
[1375/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_ethdev.c.o'.
[1376/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o'.
[1377/2821] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_nvm.c.o'.
[1378/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_avx2.c.o'.
[1379/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_sse.c.o'.
[1380/2821] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o'.
[1381/2821] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_flex_pipe.c.o'.
[1382/2821] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_switch.c.o'.
ninja: build stopped




*Build Failed #19:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc+shared
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV6_PRE32’?
       ETH_RSS_IPV4_CHKSUM)
       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
       ETH_RSS_L4_CHKSUM)
       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1391/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_tm.c.o'.
[1392/2654] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_nvm.c.o'.
[1393/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_i40e at sta/net_i40e_i40e_ethdev.c.o'.
[1394/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o'.
[1395/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_sse.c.o'.
[1396/2654] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_avx2.c.o'.
[1397/2654] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_sched.c.o'.
[1398/2654] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_flex_pipe.c.o'.
[1399/2654] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_common.c.o'.
[1400/2654] Compiling C object 'drivers/net/ice/base/39545a2@@ice_base at sta/ice_switch.c.o'.
[1401/2654] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o'.
ninja: build stopped




*Build Failed #20:
OS: RHEL83-64
Target: x86_64-native-linuxapp-gcc+debug
FAILED: drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o 
gcc -Idrivers/a715181@@tmp_rte_net_iavf at sta -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/net/iavf/../../common/iavf -I../drivers/net/iavf/../../common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I../ -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/common/iavf -I../drivers/common/iavf -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -MF 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o.d' -o 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_hash.c.o' -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c:346:7: error: ‘ETH_RSS_IPV4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_IPV6_PRE32’?
       ETH_RSS_IPV4_CHKSUM)
       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:437:29: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4’
  {iavf_pattern_eth_ipv4,    IAVF_RSS_TYPE_OUTER_IPV4, &outer_ipv4_tmplt},
                             ^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:349:7: error: ‘ETH_RSS_L4_CHKSUM’ undeclared here (not in a function); did you mean ‘ETH_RSS_L4_SRC_ONLY’?
       ETH_RSS_L4_CHKSUM)
       ^~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:438:32: note: in expansion of macro ‘IAVF_RSS_TYPE_OUTER_IPV4_UDP’
  {iavf_pattern_eth_ipv4_udp,   IAVF_RSS_TYPE_OUTER_IPV4_UDP, &outer_ipv4_udp_tmplt},
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c: In function ‘iavf_refine_proto_hdrs_l234’:
../drivers/net/iavf/iavf_hash.c:821:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:837:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_IPV4_CHKSUM)
                 ^
../drivers/net/iavf/iavf_hash.c:892:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_UDP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:750:39: note: each undeclared identifier is reported only once for each function it appears in
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:893:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:911:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_TCP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:912:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/iavf_hash.c:930:17: error: invalid operands to binary & (have ‘uint64_t’ {aka ‘long unsigned int’} and ‘struct iavf_pattern_match_item *’)
    if (rss_type & ETH_RSS_L4_CHKSUM)
                 ^
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:8,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/iavf_hash.c:750:39: error: ‘VIRTCHNL_PROTO_HDR_SCTP_CHKSUM’ undeclared (first use in this function); did you mean ‘VIRTCHNL_PROTO_HDR_IPV4_CHKSUM’?
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
                                       ^~~~~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:40: error: invalid operands to binary & (have ‘struct iavf_pattern_match_item *’ and ‘long unsigned int’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                                ~       ^
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:25: note: in definition of macro ‘BIT’
 #define BIT(a) (1UL << (a))
                         ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/iavf_type.h:23:21: error: invalid operands to binary << (have ‘long unsigned int’ and ‘struct iavf_pattern_match_item *’)
 #define BIT(a) (1UL << (a))
                     ^~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:28: note: in expansion of macro ‘BIT’
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                            ^~~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
In file included from ../drivers/net/iavf/../../common/iavf/iavf_prototype.h:10,
                 from ../drivers/net/iavf/iavf.h:11,
                 from ../drivers/net/iavf/iavf_hash.c:23:
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:25: error: invalid operands to binary | (have ‘u32’ {aka ‘unsigned int’} and ‘struct iavf_pattern_match_item *’)
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
                         ^~
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
../drivers/net/iavf/../../common/iavf/virtchnl.h:1496:2: error: statement with no effect [-Werror=unused-value]
  ((hdr)->field_selector |= BIT((field) & PROTO_HDR_FIELD_MASK))
  ^
../drivers/net/iavf/iavf_hash.c:750:2: note: in expansion of macro ‘VIRTCHNL_ADD_PROTO_HDR_FIELD’
  VIRTCHNL_##op##_PROTO_HDR_FIELD(hdr, VIRTCHNL_PROTO_HDR_##fld)
  ^~~~~~~~~
../drivers/net/iavf/iavf_hash.c:931:5: note: in expansion of macro ‘REFINE_PROTO_FLD’
     REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
     ^~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
[1377/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_tm.c.o'.
[1378/2821] Linking target drivers/librte_net_i40e.so.22.0.
[1379/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx.c.o'.
[1380/2821] Compiling C object 'drivers/a715181@@tmp_rte_net_iavf at sta/net_iavf_iavf_rxtx_vec_sse.c.o'.
[1381/2821] Compiling C object 'drivers/net/iavf/cd88e11@@iavf_avx512_lib at sta/iavf_rxtx_vec_avx512.c.o'.
ninja: build stopped




*Build Failed #21:
OS: RHEL83-64
Target: x86_64-native-linuxapp-icc
FAILED: drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o 
icc -Idrivers/libtmp_rte_net_iavf.a.p -Idrivers -I../drivers -Idrivers/net/iavf -I../drivers/net/iavf -Idrivers/common/iavf -I../drivers/common/iavf -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -D_FILE_OFFSET_BITS=64 -Wall -w3 -diag-disable:remark -Werror -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -diag-disable=181 -diag-disable=188 -diag-disable=2203 -diag-disable=2279 -diag-disable=2557 -diag-disable=3179 -diag-disable=3656 -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-strict-aliasing -DCC_AVX2_SUPPORT -DCC_AVX512_SUPPORT -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.iavf -MD -MQ drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -MF drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o.d -o drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_hash.c.o -c ../drivers/net/iavf/iavf_hash.c
../drivers/net/iavf/iavf_hash.c(437): error: identifier "ETH_RSS_IPV4_CHKSUM" is undefined
  	{iavf_pattern_eth_ipv4,				IAVF_RSS_TYPE_OUTER_IPV4,	&outer_ipv4_tmplt},
  	                       				^

../drivers/net/iavf/iavf_hash.c(438): error: identifier "ETH_RSS_L4_CHKSUM" is undefined
  	{iavf_pattern_eth_ipv4_udp,			IAVF_RSS_TYPE_OUTER_IPV4_UDP,	&outer_ipv4_udp_tmplt},
  	                           			^

../drivers/net/iavf/iavf_hash.c(570): error: expression must have a constant value
  	.array = iavf_hash_pattern_list,
  	         ^

../drivers/net/iavf/iavf_hash.c(893): error: identifier "VIRTCHNL_PROTO_HDR_UDP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, UDP_CHKSUM);
  				^

../drivers/net/iavf/iavf_hash.c(912): error: identifier "VIRTCHNL_PROTO_HDR_TCP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, TCP_CHKSUM);
  				^

../drivers/net/iavf/iavf_hash.c(931): error: identifier "VIRTCHNL_PROTO_HDR_SCTP_CHKSUM" is undefined
  				REFINE_PROTO_FLD(ADD, SCTP_CHKSUM);
  				^

compilation aborted for ../drivers/net/iavf/iavf_hash.c (code 2)
[1456/3072] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_avx2.c.o
[1457/3072] Compiling C object drivers/libtmp_rte_net_hns3.a.p/net_hns3_hns3_rxtx.c.o
[1458/3072] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx_vec_sse.c.o
[1459/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_tm.c.o
[1460/3072] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_rxtx.c.o
[1461/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx.c.o
[1462/3072] Compiling C object drivers/libtmp_rte_net_i40e.a.p/net_i40e_i40e_ethdev.c.o
[1463/3072] Compiling C object drivers/libtmp_rte_net_iavf.a.p/net_iavf_iavf_rxtx_vec_sse.c.o
[1464/3072] Compiling C object drivers/net/iavf/libiavf_avx512_lib.a.p/iavf_rxtx_vec_avx512.c.o
icc: command line warning #10121: overriding '-march=native' with '-march=skylake-avx512'
ninja: build stopped


DPDK STV team


More information about the test-report mailing list