* compilation|FAILURE| pw(140835) sid(32108) job(PER_PATCH_BUILD12178)[v5, 11/11] net/mlx5: initial design changes
@ 2024-06-06 13:05 sys_stv
0 siblings, 0 replies; only message in thread
From: sys_stv @ 2024-06-06 13:05 UTC (permalink / raw)
To: test-report, mkashani
[-- Attachment #1: Type: text/plain, Size: 54294 bytes --]
Test-Label: Intel-compilation
Test-Status: FAILURE
http://dpdk.org/patch/140835
_Compilation issues_
Submitter: Maayan Kashani <mkashani@nvidia.com>
Date: 2024-06-06 12:32:56
Reply_mail: <20240606123256.177947-11-mkashani@nvidia.com>
DPDK git baseline: Repo:dpdk-next-net-mlx, CommitID: 2bf363ff7e924a1fb6054eee693fde66097273f7
Meson Build Summary: 23 Builds Done, 16 Successful, 7 Failures, 0 Blocked
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
| OpenAnolis8.8-64 | pass | | | | | | |
| FreeBSD14-64 | pass | pass | | pass | pass | | |
| RHEL94-64 | pass | pass | | pass | pass | | |
| SUSE15-64 | pass | pass | | | | | |
| CBL-Mariner2.0-64 | pass | | | | | | |
| UB2404-32 | pass | | | | | | |
| RHEL93-64 | pass | | | | | | |
| UB2404-64 | fail | fail | | | | fail | fail |
| RHEL94-64Rt | pass | | | | | | |
| UB2204-64 | pass | | | | | | |
| FC40-64 | fail | fail | | | | | |
| UB2404-64Rt | fail | | | | | | |
+-------------------+------------+--------------+------------+------------+-----------+----------+------------+
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: FreeBSD14-64
Kernel Version: 14.0-RELEASE
GCC Version: gcc (FreeBSD Ports Collection) 12.2.0
Clang Version: 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
x86_64-native-bsdapp-gcc
x86_64-native-bsdapp-clang
x86_64-native-bsdapp-gcc+shared
x86_64-native-bsdapp-gcc+debug
OS: RHEL94-64
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.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-150500.53-default
GCC Version: gcc (SUSE Linux) 7.5.0
Clang Version: 15.0.7
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: UB2404-32
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: NA
i686-native-linuxapp-gcc
OS: RHEL93-64
Kernel Version: 5.14.0-362.8.1.el9_3.x86_64
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2404-64
Kernel Version: 6.8.0-31-generic
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc+16byte
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
x86_64-native-linuxapp-doc
OS: RHEL94-64Rt
Kernel Version: 5.14.0-427.13.1.el9_4.x86_64+rt
GCC Version: gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
Clang Version: 17.0.6 (Red Hat, Inc. 17.0.6-5.el9)
x86_64-native-linuxapp-gcc
OS: UB2204-64
Kernel Version: 5.15.0-94-generic
GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang Version: 14.0.0-1ubuntu1.1
x86_64-native-linuxapp-gcc
OS: FC40-64
Kernel Version: 6.8.5-301.fc40.x86_64
GCC Version: gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)
Clang Version: 18.1.1 (Fedora 18.1.1-1.fc40)
x86_64-native-linuxapp-gcc
x86_64-native-linuxapp-clang
OS: UB2404-64Rt
Kernel Version: 6.8.0-rt8
GCC Version: gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Clang Version: 18.1.3 (1)
x86_64-native-linuxapp-gcc
*Build Failed #1:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc+16byte
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.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/log -I../lib/log -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 -std=c11 -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -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_hw.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -c ../drivers/net/mlx5/mlx5_flow_hw.c
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘__flow_hw_configure’:
../drivers/net/mlx5/mlx5_flow_hw.c:11439:20: error: ‘struct mlx5dr_context_attr’ has no member named ‘bwc’
11439 | dr_ctx_attr.bwc = true;
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_apply’:
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: implicit declaration of function ‘mlx5dr_bwc_rule_create’; did you mean ‘mlx5dr_rule_create’? [-Werror=implicit-function-declaration]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_create
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: nested extern declaration of ‘mlx5dr_bwc_rule_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_hw.c:13190:14: error: assignment to ‘struct mlx5dr_bwc_rule *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_destroy’:
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: implicit declaration of function ‘mlx5dr_bwc_rule_destroy’; did you mean ‘mlx5dr_rule_destroy’? [-Werror=implicit-function-declaration]
13352 | ret = mlx5dr_bwc_rule_destroy(flow->nt2hws->nt_rule);
| ^~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_destroy
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: nested extern declaration of ‘mlx5dr_bwc_rule_destroy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1784/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_geneve.c.o
[1785/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o
[1786/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_utils.c.o
[1787/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_hws_cnt.c.o
[1788/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_quota.c.o
[1789/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o
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/log -I../lib/log -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 -std=c11 -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 -DRTE_LIBRTE_I40E_16BYTE_RX_DESC -DRTE_LIBRTE_ICE_16BYTE_RX_DESC -fPIC -march=native -mrtm -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 ‘flow_matcher_create_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: implicit declaration of function ‘mlx5dr_bwc_matcher_create’; did you mean ‘mlx5dr_matcher_create’? [-Werror=implicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_matcher_create
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: nested extern declaration of ‘mlx5dr_bwc_matcher_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_dv.c:11997:42: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
from ../drivers/net/mlx5/mlx5.h:33,
from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Werror=implicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1790/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
[1791/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o
[1792/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o
ninja: build stopped
*Build Failed #2:
OS: UB2404-64
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.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/log -I../lib/log -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 -std=c11 -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 -mrtm -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_hw.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -c ../drivers/net/mlx5/mlx5_flow_hw.c
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘__flow_hw_configure’:
../drivers/net/mlx5/mlx5_flow_hw.c:11439:20: error: ‘struct mlx5dr_context_attr’ has no member named ‘bwc’
11439 | dr_ctx_attr.bwc = true;
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_apply’:
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: implicit declaration of function ‘mlx5dr_bwc_rule_create’; did you mean ‘mlx5dr_rule_create’? [-Werror=implicit-function-declaration]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_create
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: nested extern declaration of ‘mlx5dr_bwc_rule_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_hw.c:13190:14: error: assignment to ‘struct mlx5dr_bwc_rule *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_destroy’:
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: implicit declaration of function ‘mlx5dr_bwc_rule_destroy’; did you mean ‘mlx5dr_rule_destroy’? [-Werror=implicit-function-declaration]
13352 | ret = mlx5dr_bwc_rule_destroy(flow->nt2hws->nt_rule);
| ^~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_destroy
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: nested extern declaration of ‘mlx5dr_bwc_rule_destroy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1783/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_quota.c.o
[1784/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_hws_cnt.c.o
[1785/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o
[1786/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o
[1787/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o
[1788/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o
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/log -I../lib/log -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 -std=c11 -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 -mrtm -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 ‘flow_matcher_create_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: implicit declaration of function ‘mlx5dr_bwc_matcher_create’; did you mean ‘mlx5dr_matcher_create’? [-Werror=implicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_matcher_create
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: nested extern declaration of ‘mlx5dr_bwc_matcher_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_dv.c:11997:42: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
from ../drivers/net/mlx5/mlx5.h:33,
from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Werror=implicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1789/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
[1790/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o
[1791/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o
ninja: build stopped
*Build Failed #3:
OS: UB2404-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/log -I../lib/log -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 -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -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 -mrtm -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:11997:30: error: call to undeclared function 'mlx5dr_bwc_matcher_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
../drivers/net/mlx5/mlx5_flow_dv.c:11997:28: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
11998 | (resource->group->tbl, resource->priority, items);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:14: error: call to undeclared function 'mlx5dr_bwc_matcher_destroy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^
3 errors generated.
[1762/3118] Linking target drivers/librte_net_mlx4.so.24.2
[1763/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_mac.c.o
[1764/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rss.c.o
[1765/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_flex.c.o
[1766/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o
[1767/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxmode.c.o
[1768/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o
[1769/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1770/3118] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
ninja: build stopped
*Build Failed #4:
OS: UB2404-64
Target: x86_64-native-linuxapp-doc
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.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/log -I../lib/log -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 -std=c11 -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 -mrtm -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_hw.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -c ../drivers/net/mlx5/mlx5_flow_hw.c
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘__flow_hw_configure’:
../drivers/net/mlx5/mlx5_flow_hw.c:11439:20: error: ‘struct mlx5dr_context_attr’ has no member named ‘bwc’
11439 | dr_ctx_attr.bwc = true;
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_apply’:
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: implicit declaration of function ‘mlx5dr_bwc_rule_create’; did you mean ‘mlx5dr_rule_create’? [-Werror=implicit-function-declaration]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_create
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: nested extern declaration of ‘mlx5dr_bwc_rule_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_hw.c:13190:14: error: assignment to ‘struct mlx5dr_bwc_rule *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_destroy’:
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: implicit declaration of function ‘mlx5dr_bwc_rule_destroy’; did you mean ‘mlx5dr_rule_destroy’? [-Werror=implicit-function-declaration]
13352 | ret = mlx5dr_bwc_rule_destroy(flow->nt2hws->nt_rule);
| ^~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_destroy
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: nested extern declaration of ‘mlx5dr_bwc_rule_destroy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1783/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o
[1784/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_linux_mlx5_socket.c.o
[1785/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o
[1786/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_hws_cnt.c.o
[1787/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o
[1788/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o
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/log -I../lib/log -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 -std=c11 -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 -mrtm -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 ‘flow_matcher_create_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: implicit declaration of function ‘mlx5dr_bwc_matcher_create’; did you mean ‘mlx5dr_matcher_create’? [-Werror=implicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_matcher_create
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: nested extern declaration of ‘mlx5dr_bwc_matcher_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_dv.c:11997:42: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
from ../drivers/net/mlx5/mlx5.h:33,
from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Werror=implicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1789/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o
[1790/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
[1791/2945] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o
ninja: build stopped
*Build Failed #5:
OS: FC40-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/log -I../lib/log -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 -std=c11 -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 -mrtm -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 ‘flow_matcher_create_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: implicit declaration of function ‘mlx5dr_bwc_matcher_create’; did you mean ‘mlx5dr_matcher_create’? [-Wimplicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_matcher_create
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: nested extern declaration of ‘mlx5dr_bwc_matcher_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_dv.c:11997:42: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
from ../drivers/net/mlx5/mlx5.h:33,
from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Wimplicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1774/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx.c.o
[1775/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o
[1776/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trace.c.o
[1777/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx.c.o
[1778/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o
[1779/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o
[1780/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
[1781/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1782/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
ninja: build stopped
*Build Failed #6:
OS: FC40-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/log -I../lib/log -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 -std=c11 -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 -mrtm -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:11997:30: error: call to undeclared function 'mlx5dr_bwc_matcher_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
../drivers/net/mlx5/mlx5_flow_dv.c:11997:28: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
11998 | (resource->group->tbl, resource->priority, items);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:14: error: call to undeclared function 'mlx5dr_bwc_matcher_destroy'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^
3 errors generated.
[1771/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_aso.c.o
[1772/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_meter.c.o
[1773/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxmode.c.o
[1774/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rx.c.o
[1775/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_stats.c.o
[1776/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx.c.o
[1777/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow.c.o
[1778/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_trigger.c.o
[1779/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxq.c.o
ninja: build stopped
*Build Failed #7:
OS: UB2404-64Rt
Target: x86_64-native-linuxapp-gcc
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.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/log -I../lib/log -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 -std=c11 -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 -mrtm -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_hw.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_hw.c.o -c ../drivers/net/mlx5/mlx5_flow_hw.c
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘__flow_hw_configure’:
../drivers/net/mlx5/mlx5_flow_hw.c:11439:20: error: ‘struct mlx5dr_context_attr’ has no member named ‘bwc’
11439 | dr_ctx_attr.bwc = true;
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_apply’:
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: implicit declaration of function ‘mlx5dr_bwc_rule_create’; did you mean ‘mlx5dr_rule_create’? [-Werror=implicit-function-declaration]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_create
../drivers/net/mlx5/mlx5_flow_hw.c:13190:16: error: nested extern declaration of ‘mlx5dr_bwc_rule_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_hw.c:13190:14: error: assignment to ‘struct mlx5dr_bwc_rule *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
13190 | rule = mlx5dr_bwc_rule_create((struct mlx5dr_bwc_matcher *)
| ^
../drivers/net/mlx5/mlx5_flow_hw.c: In function ‘flow_hw_destroy’:
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: implicit declaration of function ‘mlx5dr_bwc_rule_destroy’; did you mean ‘mlx5dr_rule_destroy’? [-Werror=implicit-function-declaration]
13352 | ret = mlx5dr_bwc_rule_destroy(flow->nt2hws->nt_rule);
| ^~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_rule_destroy
../drivers/net/mlx5/mlx5_flow_hw.c:13352:23: error: nested extern declaration of ‘mlx5dr_bwc_rule_destroy’ [-Werror=nested-externs]
cc1: all warnings being treated as errors
[1785/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_quota.c.o
[1786/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_verbs.c.o
[1787/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_mpw.c.o
[1788/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_hws_cnt.c.o
[1789/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_rxtx_vec.c.o
[1790/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_flow_dv.c.o
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/log -I../lib/log -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 -std=c11 -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 -mrtm -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 ‘flow_matcher_create_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: implicit declaration of function ‘mlx5dr_bwc_matcher_create’; did you mean ‘mlx5dr_matcher_create’? [-Werror=implicit-function-declaration]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| mlx5dr_matcher_create
../drivers/net/mlx5/mlx5_flow_dv.c:11997:44: error: nested extern declaration of ‘mlx5dr_bwc_matcher_create’ [-Werror=nested-externs]
../drivers/net/mlx5/mlx5_flow_dv.c:11997:42: error: assignment to ‘void *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
11997 | resource->matcher_object = mlx5dr_bwc_matcher_create
| ^
In file included from ../drivers/net/mlx5/mlx5_utils.h:20,
from ../drivers/net/mlx5/mlx5.h:33,
from ../drivers/net/mlx5/mlx5_flow_dv.c:35:
../drivers/net/mlx5/mlx5_flow_dv.c: In function ‘flow_matcher_remove_cb’:
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: implicit declaration of function ‘mlx5dr_bwc_matcher_destroy’; did you mean ‘mlx5dr_matcher_destroy’? [-Werror=implicit-function-declaration]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
../drivers/net/mlx5/mlx5_flow_dv.c:15987:28: error: nested extern declaration of ‘mlx5dr_bwc_matcher_destroy’ [-Werror=nested-externs]
15987 | claim_zero(mlx5dr_bwc_matcher_destroy((struct mlx5dr_bwc_matcher *)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../drivers/common/mlx5/mlx5_common.h:107:26: note: in definition of macro ‘claim_zero’
107 | #define claim_zero(...) (__VA_ARGS__)
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
[1791/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_nompw.c.o
[1792/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_empw.c.o
[1793/3122] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_mlx5_tx_txpp.c.o
ninja: build stopped
DPDK STV team
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-06 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-06 13:05 compilation|FAILURE| pw(140835) sid(32108) job(PER_PATCH_BUILD12178)[v5, 11/11] net/mlx5: initial design changes 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).