automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw(127821) sid(28293) job(PER_PATCH_BUILD7679)[2/2] net/mlx5/hws: add support for infiniband BTH match
@ 2023-06-01  8:24 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2023-06-01  8:24 UTC (permalink / raw)
  To: test-report, dongzhou

[-- Attachment #1: Type: text/plain, Size: 37065 bytes --]


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

_Compilation issues_

Submitter: Dong Zhou <dongzhou@nvidia.com>
Date: 2023-06-01 08:00:00
Reply_mail: <20230601080001.3310444-3-dongzhou@nvidia.com>

DPDK git baseline: Repo:dpdk-next-net-mlx, CommitID: bc88032363d6b849c361ba47d8f7e49bc858841c


Meson Build Summary: 25 Builds Done, 22 Successful, 3 Failures, 0 Blocked

+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os                | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64  | pass       |              |            |            |           |          |            |
| FreeBSD13-64      | pass       | pass         |            | pass       | pass      |          |            |
| RHEL92-64         | pass       | pass         |            | pass       | pass      |          |            |
| SUSE15-64         | pass       | pass         |            |            |           |          |            |
| CBL-Mariner2.0-64 | pass       |              |            |            |           |          |            |
| UB2004-64         | pass       |              |            |            |           |          |            |
| UB2204-32         | pass       |              |            |            |           |          |            |
| RHEL87-64         | pass       |              |            |            |           |          |            |
| UB2204-64         | pass       | pass         |            |            |           | fail     | pass       |
| CentOS79-64       | pass       |              |            |            |           |          |            |
| RHEL92-64Rt       | pass       |              |            |            |           |          |            |
| UB2304-64         | pass       |              |            |            |           |          |            |
| FC38-64           | fail       | fail         |            |            |           |          |            |
| UB2204-64Rt       | pass       |              |            |            |           |          |            |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+

Comments: 
Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928),
All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. 
 
Test environment and configuration as below:


OS: OpenAnolis8.8-64
	Kernel Version: 5.10.134-13.an8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3)
	Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068)
	x86_64-native-linuxapp-gcc

OS: FreeBSD13-64
	Kernel Version: 13.2-RELEASE
	GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
	Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
	x86_64-native-bsdapp-gcc
	x86_64-native-bsdapp-clang
	x86_64-native-bsdapp-gcc+shared
	x86_64-native-bsdapp-gcc+debug

OS: RHEL92-64
	Kernel Version: 5.14.0-284.11.1.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc+shared
	x86_64-native-linuxapp-gcc+debug

OS: SUSE15-64
	Kernel Version: 5.14.21-150400.22-default
	GCC Version: gcc (SUSE Linux) 7.5.0
	Clang Version: 11.0.1
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-gcc

OS: CBL-Mariner2.0-64
	Kernel Version: 5.15.55.1_2e9a4f9+
	GCC Version: gcc (GCC) 11.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2004-64
	Kernel Version: 5.8.0-48-generic
	GCC Version: gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
	Clang Version: 10.0.0-4ubuntu1
	x86_64-native-linuxapp-gcc

OS: UB2204-32
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: NA
	i686-native-linuxapp-gcc

OS: RHEL87-64
	Kernel Version: 4.18.0-425.3.1.el8.x86_64
	GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-15)
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: UB2204-64
	Kernel Version: 5.15.0-58-generic
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc+16byte
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang
	x86_64-native-linuxapp-doc

OS: CentOS79-64
	Kernel Version: 3.10.0-1160.81.1.el7.x86_64
	GCC Version: gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
	Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final)
	x86_64-native-linuxapp-gcc

OS: RHEL92-64Rt
	Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64
	GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4)
	Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9)
	x86_64-native-linuxapp-gcc

OS: UB2304-64
	Kernel Version: 6.2.0-20-generic
	GCC Version: gcc (Ubuntu 12.2.0-17ubuntu1) 12.2.0
	Clang Version: NA
	x86_64-native-linuxapp-gcc

OS: FC38-64
	Kernel Version: 6.2.9-300.fc38.x86_64
	GCC Version: gcc (GCC) 13.0.1 20230401 (Red Hat 13.0.1-0)
	Clang Version: 16.0.0 (Fedora 16.0.0-2.fc38)
	x86_64-native-linuxapp-gcc
	x86_64-native-linuxapp-clang

OS: UB2204-64Rt
	Kernel Version: 5.15.111-rt63
	GCC Version: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
	Clang Version: 14.0.0-1ubuntu1
	x86_64-native-linuxapp-gcc



*Build Failed #1:
OS: UB2204-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o 
gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -I/usr/include/libnl3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -c ../drivers/net/mlx5/mlx5_flow_dv.c
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘mlx5_flow_validate_item_ib_bth’:
../drivers/net/mlx5/mlx5_flow_dv.c:7234:23: error: ‘rte_flow_item_ib_bth_mask’ undeclared (first use in this function); did you mean ‘rte_flow_item_eth_mask’?
 7234 |         valid_mask = &rte_flow_item_ib_bth_mask;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                       rte_flow_item_eth_mask
../drivers/net/mlx5/mlx5_flow_dv.c:7234:23: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/mlx5_flow_dv.c:7240:26: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                          ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7240:42: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                                          ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7240:57: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:39: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                       ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:57: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:72: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:40: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:55: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                                                       ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:41: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:61: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                                                             ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7257:48: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_item_ib_bth’
 7257 |                                         sizeof(struct rte_flow_item_ib_bth),
      |                                                ^~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_validate’:
../drivers/net/mlx5/mlx5_flow_dv.c:7779:22: error: ‘RTE_FLOW_ITEM_TYPE_IB_BTH’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ITEM_TYPE_ETH’?
 7779 |                 case RTE_FLOW_ITEM_TYPE_IB_BTH:
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                      RTE_FLOW_ITEM_TYPE_ETH
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_translate_item_ib_bth’:
../drivers/net/mlx5/mlx5_flow_dv.c:11064:57: error: ‘rte_flow_item_ib_bth_mask’ undeclared (first use in this function); did you mean ‘rte_flow_item_eth_mask’?
11064 |         MLX5_ITEM_UPDATE(item, key_type, bth_v, bth_m, &rte_flow_item_ib_bth_mask);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:75:60: note: in definition of macro ‘MLX5_ITEM_UPDATE’
   75 |                         m = (item)->mask ? (item)->mask : (gm); \
      |                                                            ^~
In file included from ../drivers/common/mlx5/mlx5_devx_cmds.h:12,
                 from ../drivers/net/mlx5/mlx5_flow_dv.c:30:
../drivers/net/mlx5/mlx5_flow_dv.c:11067:23: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11067 |                  bth_v->hdr.opcode & bth_m->hdr.opcode);
      |                       ^~
../drivers/common/mlx5/mlx5_prm.h:867:26: note: in definition of macro ‘MLX5_SET’
  867 |                 u32 _v = v; \
      |                          ^
../drivers/net/mlx5/mlx5_flow_dv.c:11067:43: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11067 |                  bth_v->hdr.opcode & bth_m->hdr.opcode);
      |                                           ^~
../drivers/common/mlx5/mlx5_prm.h:867:26: note: in definition of macro ‘MLX5_SET’
  867 |                 u32 _v = v; \
      |                          ^
../drivers/net/mlx5/mlx5_flow_dv.c:11069:28: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11069 |         size = sizeof(bth_m->hdr.dst_qp);
      |                            ^~
../drivers/net/mlx5/mlx5_flow_dv.c:11071:33: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11071 |                 qpn_v[i] = bth_m->hdr.dst_qp[i] & bth_v->hdr.dst_qp[i];
      |                                 ^~
../drivers/net/mlx5/mlx5_flow_dv.c:11071:56: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11071 |                 qpn_v[i] = bth_m->hdr.dst_qp[i] & bth_v->hdr.dst_qp[i];
      |                                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_translate_items’:
../drivers/net/mlx5/mlx5_flow_dv.c:13875:14: error: ‘RTE_FLOW_ITEM_TYPE_IB_BTH’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ITEM_TYPE_ETH’?
13875 |         case RTE_FLOW_ITEM_TYPE_IB_BTH:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_FLOW_ITEM_TYPE_ETH
[1759/3288] Generating drivers/rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output)
[1760/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o
[1761/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxmode.c.o
[1762/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx.c.o
[1763/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o
[1764/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o
[1765/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1766/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o
[1767/3288] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
ninja: build stopped




*Build Failed #2:
OS: FC38-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o 
gcc -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -c ../drivers/net/mlx5/mlx5_flow_dv.c
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘mlx5_flow_validate_item_ib_bth’:
../drivers/net/mlx5/mlx5_flow_dv.c:7234:23: error: ‘rte_flow_item_ib_bth_mask’ undeclared (first use in this function); did you mean ‘rte_flow_item_eth_mask’?
 7234 |         valid_mask = &rte_flow_item_ib_bth_mask;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                       rte_flow_item_eth_mask
../drivers/net/mlx5/mlx5_flow_dv.c:7234:23: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/mlx5_flow_dv.c:7240:26: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                          ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7240:42: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                                          ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7240:57: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7240 |         if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
      |                                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:39: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                       ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:57: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7241:72: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7241 |                 mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
      |                                                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:40: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7242:55: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7242 |                 mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
      |                                                       ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:21: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                     ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:41: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                                         ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7243:61: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
 7243 |                 mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
      |                                                             ^~
../drivers/net/mlx5/mlx5_flow_dv.c:7257:48: error: invalid application of ‘sizeof’ to incomplete type ‘struct rte_flow_item_ib_bth’
 7257 |                                         sizeof(struct rte_flow_item_ib_bth),
      |                                                ^~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_validate’:
../drivers/net/mlx5/mlx5_flow_dv.c:7779:22: error: ‘RTE_FLOW_ITEM_TYPE_IB_BTH’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ITEM_TYPE_ETH’?
 7779 |                 case RTE_FLOW_ITEM_TYPE_IB_BTH:
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                      RTE_FLOW_ITEM_TYPE_ETH
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_translate_item_ib_bth’:
../drivers/net/mlx5/mlx5_flow_dv.c:11064:57: error: ‘rte_flow_item_ib_bth_mask’ undeclared (first use in this function); did you mean ‘rte_flow_item_eth_mask’?
11064 |         MLX5_ITEM_UPDATE(item, key_type, bth_v, bth_m, &rte_flow_item_ib_bth_mask);
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:75:60: note: in definition of macro ‘MLX5_ITEM_UPDATE’
   75 |                         m = (item)->mask ? (item)->mask : (gm); \
      |                                                            ^~
In file included from ../drivers/common/mlx5/mlx5_devx_cmds.h:12,
                 from ../drivers/net/mlx5/mlx5_flow_dv.c:30:
../drivers/net/mlx5/mlx5_flow_dv.c:11067:23: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11067 |                  bth_v->hdr.opcode & bth_m->hdr.opcode);
      |                       ^~
../drivers/common/mlx5/mlx5_prm.h:867:26: note: in definition of macro ‘MLX5_SET’
  867 |                 u32 _v = v; \
      |                          ^
../drivers/net/mlx5/mlx5_flow_dv.c:11067:43: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11067 |                  bth_v->hdr.opcode & bth_m->hdr.opcode);
      |                                           ^~
../drivers/common/mlx5/mlx5_prm.h:867:26: note: in definition of macro ‘MLX5_SET’
  867 |                 u32 _v = v; \
      |                          ^
../drivers/net/mlx5/mlx5_flow_dv.c:11069:28: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11069 |         size = sizeof(bth_m->hdr.dst_qp);
      |                            ^~
../drivers/net/mlx5/mlx5_flow_dv.c:11071:33: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11071 |                 qpn_v[i] = bth_m->hdr.dst_qp[i] & bth_v->hdr.dst_qp[i];
      |                                 ^~
../drivers/net/mlx5/mlx5_flow_dv.c:11071:56: error: invalid use of undefined type ‘const struct rte_flow_item_ib_bth’
11071 |                 qpn_v[i] = bth_m->hdr.dst_qp[i] & bth_v->hdr.dst_qp[i];
      |                                                        ^~
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_dv_translate_items’:
../drivers/net/mlx5/mlx5_flow_dv.c:13875:14: error: ‘RTE_FLOW_ITEM_TYPE_IB_BTH’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ITEM_TYPE_ETH’?
13875 |         case RTE_FLOW_ITEM_TYPE_IB_BTH:
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
      |              RTE_FLOW_ITEM_TYPE_ETH
[1763/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxmode.c.o
[1764/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx.c.o
[1765/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o
[1766/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o
[1767/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o
[1768/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o
[1769/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
[1770/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1771/3484] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
ninja: build stopped




*Build Failed #3:
OS: FC38-64
Target: x86_64-native-linuxapp-clang
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o 
clang -Idrivers/libtmp_rte_net_mlx5.a.p -Idrivers -I../drivers -Idrivers/net/mlx5 -I../drivers/net/mlx5 -Idrivers/net/mlx5/linux -I../drivers/net/mlx5/linux -Idrivers/net/mlx5/hws -I../drivers/net/mlx5/hws -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 -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Idrivers/common/mlx5 -I../drivers/common/mlx5 -Idrivers/common/mlx5/linux -I../drivers/common/mlx5/linux -Idrivers/bus/auxiliary -I../drivers/bus/auxiliary -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -O3 -include rte_config.h -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 -std=c11 -Wno-strict-prototypes -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -UPEDANTIC -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.mlx5 -MD -MQ drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o -c ../drivers/net/mlx5/mlx5_flow_dv.c
../drivers/net/mlx5/mlx5_flow_dv.c:7234:16: error: use of undeclared identifier 'rte_flow_item_ib_bth_mask'; did you mean 'rte_flow_item_eth_mask'?
        valid_mask = &rte_flow_item_ib_bth_mask;
                      ^~~~~~~~~~~~~~~~~~~~~~~~~
                      rte_flow_item_eth_mask
../lib/ethdev/rte_flow.h:881:39: note: 'rte_flow_item_eth_mask' declared here
static const struct rte_flow_item_eth rte_flow_item_eth_mask = {
                                      ^
../drivers/net/mlx5/mlx5_flow_dv.c:7240:19: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
        if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
                     ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7240:35: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
        if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
                                     ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7240:50: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
        if (mask && (mask->hdr.se || mask->hdr.m || mask->hdr.padcnt ||
                                                    ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7241:7: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
                ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7241:25: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
                                  ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7241:43: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
                                                    ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7241:58: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.tver || mask->hdr.pkey || mask->hdr.f || mask->hdr.b ||
                                                                   ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7242:7: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
                ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7242:26: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
                                   ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7242:41: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.rsvd0 || mask->hdr.a || mask->hdr.rsvd1 ||
                                                  ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7243:7: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
                ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7243:27: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
                                    ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7243:47: error: incomplete definition of type 'struct rte_flow_item_ib_bth'
                mask->hdr.psn[0] || mask->hdr.psn[1] || mask->hdr.psn[2]))
                                                        ~~~~^
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7254:11: error: use of undeclared identifier 'rte_flow_item_ib_bth_mask'; did you mean 'rte_flow_item_eth_mask'?
                mask = &rte_flow_item_ib_bth_mask;
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
                        rte_flow_item_eth_mask
../lib/ethdev/rte_flow.h:881:39: note: 'rte_flow_item_eth_mask' declared here
static const struct rte_flow_item_eth rte_flow_item_eth_mask = {
                                      ^
../drivers/net/mlx5/mlx5_flow_dv.c:7257:6: error: invalid application of 'sizeof' to an incomplete type 'struct rte_flow_item_ib_bth'
                                        sizeof(struct rte_flow_item_ib_bth),
                                        ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:7229:15: note: forward declaration of 'struct rte_flow_item_ib_bth'
        const struct rte_flow_item_ib_bth *mask = item->mask;
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7779:8: error: use of undeclared identifier 'RTE_FLOW_ITEM_TYPE_IB_BTH'; did you mean 'RTE_FLOW_ITEM_TYPE_ETH'?
                case RTE_FLOW_ITEM_TYPE_IB_BTH:
                     ^~~~~~~~~~~~~~~~~~~~~~~~~
                     RTE_FLOW_ITEM_TYPE_ETH
../lib/ethdev/rte_flow.h:212:2: note: 'RTE_FLOW_ITEM_TYPE_ETH' declared here
        RTE_FLOW_ITEM_TYPE_ETH,
        ^
../drivers/net/mlx5/mlx5_flow_dv.c:7779:8: error: duplicate case value 'RTE_FLOW_ITEM_TYPE_ETH'
                case RTE_FLOW_ITEM_TYPE_IB_BTH:
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:7431:8: note: previous case defined here
                case RTE_FLOW_ITEM_TYPE_ETH:
                     ^
../drivers/net/mlx5/mlx5_flow_dv.c:11064:50: error: use of undeclared identifier 'rte_flow_item_ib_bth_mask'; did you mean 'rte_flow_item_eth_mask'?
        MLX5_ITEM_UPDATE(item, key_type, bth_v, bth_m, &rte_flow_item_ib_bth_mask);
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~
                                                        rte_flow_item_eth_mask
../drivers/net/mlx5/mlx5_flow_dv.c:75:39: note: expanded from macro 'MLX5_ITEM_UPDATE'
                        m = (item)->mask ? (item)->mask : (gm); \
                                                           ^
../lib/ethdev/rte_flow.h:881:39: note: 'rte_flow_item_eth_mask' declared here
static const struct rte_flow_item_eth rte_flow_item_eth_mask = {
                                      ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[1757/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_flex.c.o
[1758/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o
[1759/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxmode.c.o
[1760/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o
[1761/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o
[1762/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx.c.o
[1763/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1764/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o
[1765/3480] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
ninja: build stopped


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-01  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-01  8:24 [dpdk-test-report] |FAILURE| pw(127821) sid(28293) job(PER_PATCH_BUILD7679)[2/2] net/mlx5/hws: add support for infiniband BTH match sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).