* |FAILURE| pw117466-117481 [PATCH] [v2, 19/19] net/mlx5/hws: Enable HWS
@ 2022-10-06 15:31 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2022-10-06 15:31 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 41748 bytes --]
Test-Label: iol-testing
Test-Status: FAILURE
http://dpdk.org/patch/117466
_build patch failure_
Submitter: Alex Vesker <valex@nvidia.com>
Date: Thursday, October 06 2022 15:03:25
Applied on: CommitID:4ed890495594a71e618d62fd975c5868915eb4a1
Apply patch set 117466-117481 failed:
[1/1624] Compiling C object drivers/librte_net_mlx4.a.p/meson-generated_.._rte_net_mlx4.pmd.c.o
[2/1624] Compiling C object drivers/librte_net_mlx4.so.23.0.p/meson-generated_.._rte_net_mlx4.pmd.c.o
[3/1624] Compiling C object drivers/librte_net_ixgbe.a.p/meson-generated_.._rte_net_ixgbe.pmd.c.o
[4/1624] Compiling C object drivers/librte_net_ixgbe.so.23.0.p/meson-generated_.._rte_net_ixgbe.pmd.c.o
[5/1624] Linking target drivers/librte_net_memif.so.23.0
[6/1624] Generating rte_net_mlx5_def with a custom command
[7/1624] Linking static target drivers/librte_net_mlx4.a
[8/1624] Linking static target drivers/librte_net_ixgbe.a
[9/1624] Generating rte_net_mlx5_mingw with a custom command
[10/1624] Generating rte_net_netvsc_def with a custom command
[11/1624] Generating rte_net_netvsc_mingw with a custom command
[12/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_rule.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_rule.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_rule.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_rule.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_rule.c.o -c ../drivers/net/mlx5/hws/mlx5dr_rule.c
../drivers/net/mlx5/hws/mlx5dr_rule.c: In function ‘mlx5dr_rule_create_root’:
../drivers/net/mlx5/hws/mlx5dr_rule.c:389:43: error: dereferencing pointer to incomplete type ‘struct mlx5dv_flow_action_attr’
attr = simple_calloc(num_actions, sizeof(*attr));
^~~~~
In file included from /usr/include/unistd.h:229:0,
from ../drivers/common/mlx5/mlx5_prm.h:9,
from ../drivers/net/mlx5/hws/mlx5dr_internal.h:22,
from ../drivers/net/mlx5/hws/mlx5dr_rule.c:5:
../drivers/net/mlx5/hws/mlx5dr_rule.c:396:10: error: invalid use of undefined type ‘struct mlx5dv_flow_match_parameters’
offsetof(struct mlx5dv_flow_match_parameters, match_buf));
^
../drivers/net/mlx5/hws/mlx5dr_rule.c:404:60: error: dereferencing pointer to incomplete type ‘struct mlx5dv_flow_match_parameters’
ret = flow_dv_translate_items_hws(items, &flow_attr, value->match_buf,
^~
[13/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_context.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_context.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_context.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_context.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_context.c.o -c ../drivers/net/mlx5/hws/mlx5dr_context.c
../drivers/net/mlx5/hws/mlx5dr_context.c: In function ‘mlx5dr_context_init_pd’:
../drivers/net/mlx5/hws/mlx5dr_context.c:58:9: error: variable ‘mlx5_pd’ has initializer but incomplete type
struct mlx5dv_pd mlx5_pd = {0};
^~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_context.c:58:30: warning: excess elements in struct initializer
struct mlx5dv_pd mlx5_pd = {0};
^
../drivers/net/mlx5/hws/mlx5dr_context.c:58:30: note: (near initialization for ‘mlx5_pd’)
../drivers/net/mlx5/hws/mlx5dr_context.c:58:19: error: storage size of ‘mlx5_pd’ isn’t known
struct mlx5dv_pd mlx5_pd = {0};
^~~~~~~
../drivers/net/mlx5/hws/mlx5dr_context.c:74:5: error: ‘struct mlx5dv_obj’ has no member named ‘pd’
obj.pd.in = ctx->pd;
^
../drivers/net/mlx5/hws/mlx5dr_context.c:75:5: error: ‘struct mlx5dv_obj’ has no member named ‘pd’
obj.pd.out = &mlx5_pd;
^
../drivers/net/mlx5/hws/mlx5dr_context.c:77:37: error: ‘MLX5DV_OBJ_PD’ undeclared (first use in this function); did you mean ‘MLX5DV_OBJ_CQ’?
ret = mlx5_glue->dv_init_obj(&obj, MLX5DV_OBJ_PD);
^~~~~~~~~~~~~
MLX5DV_OBJ_CQ
../drivers/net/mlx5/hws/mlx5dr_context.c:77:37: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/hws/mlx5dr_context.c:58:19: warning: unused variable ‘mlx5_pd’ [-Wunused-variable]
struct mlx5dv_pd mlx5_pd = {0};
^~~~~~~
[14/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_table.c.o
[15/1624] Compiling C object drivers/libtmp_rte_net_netvsc.a.p/net_netvsc_hn_nvs.c.o
[16/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_matcher.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_matcher.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_matcher.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_matcher.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_matcher.c.o -c ../drivers/net/mlx5/hws/mlx5dr_matcher.c
../drivers/net/mlx5/hws/mlx5dr_matcher.c: In function ‘mlx5dr_matcher_init_root’:
../drivers/net/mlx5/hws/mlx5dr_matcher.c:675:9: error: variable ‘attr’ has initializer but incomplete type
struct mlx5dv_flow_matcher_attr attr = {0};
^~~~~~~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_matcher.c:675:42: warning: excess elements in struct initializer
struct mlx5dv_flow_matcher_attr attr = {0};
^
../drivers/net/mlx5/hws/mlx5dr_matcher.c:675:42: note: (near initialization for ‘attr’)
../drivers/net/mlx5/hws/mlx5dr_matcher.c:675:34: error: storage size of ‘attr’ isn’t known
struct mlx5dv_flow_matcher_attr attr = {0};
^~~~
../drivers/net/mlx5/hws/mlx5dr_matcher.c:685:13: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX’ undeclared (first use in this function); did you mean ‘MLX5DR_TABLE_TYPE_NIC_RX’?
ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DR_TABLE_TYPE_NIC_RX
../drivers/net/mlx5/hws/mlx5dr_matcher.c:685:13: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/hws/mlx5dr_matcher.c:688:13: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX’ undeclared (first use in this function); did you mean ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX’?
ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX
../drivers/net/mlx5/hws/mlx5dr_matcher.c:691:13: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_FDB’ undeclared (first use in this function); did you mean ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX’?
ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_FDB;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX
In file included from /usr/include/unistd.h:229:0,
from ../drivers/common/mlx5/mlx5_prm.h:9,
from ../drivers/net/mlx5/hws/mlx5dr_internal.h:22,
from ../drivers/net/mlx5/hws/mlx5dr_matcher.c:5:
../drivers/net/mlx5/hws/mlx5dr_matcher.c:705:9: error: invalid use of undefined type ‘struct mlx5dv_flow_match_parameters’
offsetof(struct mlx5dv_flow_match_parameters, match_buf));
^
../drivers/net/mlx5/hws/mlx5dr_matcher.c:715:24: error: dereferencing pointer to incomplete type ‘struct mlx5dv_flow_match_parameters’
&flow_attr, mask->match_buf,
^~
../drivers/net/mlx5/hws/mlx5dr_matcher.c:730:19: error: ‘MLX5DV_FLOW_MATCHER_MASK_FT_TYPE’ undeclared (first use in this function); did you mean ‘MLX5DR_MATCHER_MAX_MT_ROOT’?
attr.comp_mask = MLX5DV_FLOW_MATCHER_MASK_FT_TYPE;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DR_MATCHER_MAX_MT_ROOT
../drivers/net/mlx5/hws/mlx5dr_matcher.c:675:34: warning: unused variable ‘attr’ [-Wunused-variable]
struct mlx5dv_flow_matcher_attr attr = {0};
^~~~
[17/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_buddy.c.o
[18/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_pat_arg.c.o
[19/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_debug.c.o
[20/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_send.c.o
[21/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_cmd.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_cmd.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_cmd.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_cmd.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_cmd.c.o -c ../drivers/net/mlx5/hws/mlx5dr_cmd.c
../drivers/net/mlx5/hws/mlx5dr_cmd.c: In function ‘mlx5dr_cmd_sq_create’:
../drivers/net/mlx5/hws/mlx5dr_cmd.c:661:15: warning: implicit declaration of function ‘DEVX_ST_SZ_DW’; did you mean ‘MLX5_ST_SZ_DW’? [-Wimplicit-function-declaration]
uint32_t out[DEVX_ST_SZ_DW(create_sq_out)] = {0};
^~~~~~~~~~~~~
MLX5_ST_SZ_DW
../drivers/net/mlx5/hws/mlx5dr_cmd.c:661:15: warning: nested extern declaration of ‘DEVX_ST_SZ_DW’ [-Wnested-externs]
../drivers/net/mlx5/hws/mlx5dr_cmd.c:661:29: error: ‘create_sq_out’ undeclared (first use in this function)
uint32_t out[DEVX_ST_SZ_DW(create_sq_out)] = {0};
^~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:661:29: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/hws/mlx5dr_cmd.c:662:28: error: ‘create_sq_in’ undeclared (first use in this function); did you mean ‘create_sq_out’?
uint32_t in[DEVX_ST_SZ_DW(create_sq_in)] = {0};
^~~~~~~~~~~~
create_sq_out
../drivers/net/mlx5/hws/mlx5dr_cmd.c:663:14: warning: implicit declaration of function ‘DEVX_ADDR_OF’; did you mean ‘MLX5_ADDR_OF’? [-Wimplicit-function-declaration]
void *sqc = DEVX_ADDR_OF(create_sq_in, in, ctx);
^~~~~~~~~~~~
MLX5_ADDR_OF
../drivers/net/mlx5/hws/mlx5dr_cmd.c:663:14: warning: nested extern declaration of ‘DEVX_ADDR_OF’ [-Wnested-externs]
../drivers/net/mlx5/hws/mlx5dr_cmd.c:664:37: error: ‘wq’ undeclared (first use in this function); did you mean ‘wqc’?
void *wqc = DEVX_ADDR_OF(sqc, sqc, wq);
^~
wqc
../drivers/net/mlx5/hws/mlx5dr_cmd.c:662:11: warning: unused variable ‘in’ [-Wunused-variable]
uint32_t in[DEVX_ST_SZ_DW(create_sq_in)] = {0};
^~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:661:11: warning: unused variable ‘out’ [-Wunused-variable]
uint32_t out[DEVX_ST_SZ_DW(create_sq_out)] = {0};
^~~
../drivers/net/mlx5/hws/mlx5dr_cmd.c: In function ‘mlx5dr_cmd_sq_modify_rdy’:
../drivers/net/mlx5/hws/mlx5dr_cmd.c:700:29: error: ‘modify_sq_out’ undeclared (first use in this function); did you mean ‘modify_reg’?
uint32_t out[DEVX_ST_SZ_DW(modify_sq_out)] = {0};
^~~~~~~~~~~~~
modify_reg
../drivers/net/mlx5/hws/mlx5dr_cmd.c:701:28: error: ‘modify_sq_in’ undeclared (first use in this function); did you mean ‘modify_sq_out’?
uint32_t in[DEVX_ST_SZ_DW(modify_sq_in)] = {0};
^~~~~~~~~~~~
modify_sq_out
../drivers/net/mlx5/hws/mlx5dr_cmd.c:702:45: error: ‘ctx’ undeclared (first use in this function)
void *sqc = DEVX_ADDR_OF(modify_sq_in, in, ctx);
^~~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:701:11: warning: unused variable ‘in’ [-Wunused-variable]
uint32_t in[DEVX_ST_SZ_DW(modify_sq_in)] = {0};
^~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:700:11: warning: unused variable ‘out’ [-Wunused-variable]
uint32_t out[DEVX_ST_SZ_DW(modify_sq_out)] = {0};
^~~
../drivers/net/mlx5/hws/mlx5dr_cmd.c: In function ‘mlx5dr_cmd_query_caps’:
../drivers/net/mlx5/hws/mlx5dr_cmd.c:722:29: error: ‘query_hca_cap_out’ undeclared (first use in this function)
uint32_t out[DEVX_ST_SZ_DW(query_hca_cap_out)] = {0};
^~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:723:28: error: ‘query_hca_cap_in’ undeclared (first use in this function); did you mean ‘query_hca_cap_out’?
uint32_t in[DEVX_ST_SZ_DW(query_hca_cap_in)] = {0};
^~~~~~~~~~~~~~~~
query_hca_cap_out
../drivers/net/mlx5/hws/mlx5dr_cmd.c:723:11: warning: unused variable ‘in’ [-Wunused-variable]
uint32_t in[DEVX_ST_SZ_DW(query_hca_cap_in)] = {0};
^~
../drivers/net/mlx5/hws/mlx5dr_cmd.c:722:11: warning: unused variable ‘out’ [-Wunused-variable]
uint32_t out[DEVX_ST_SZ_DW(query_hca_cap_out)] = {0};
^~~
[22/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_definer.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_definer.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_definer.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_definer.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_definer.c.o -c ../drivers/net/mlx5/hws/mlx5dr_definer.c
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_gtp_ext_hdr_pdu_set’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘pdu_type’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘pdu_type’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘pdu_type’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:152:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_pdu, v->pdu_type, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_gtp_ext_hdr_qfi_set’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘qfi’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘qfi’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:28: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘qfi’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:153:2: note: in expansion of macro ‘X’
X(SET, gtp_ext_hdr_qfi, v->qfi, rte_flow_item_gtp_psc) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_source_qp_set’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:156:23: error: dereferencing pointer to incomplete type ‘const struct mlx5_rte_flow_item_sq’
X(SET, source_qp, v->queue, mlx5_rte_flow_item_sq) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:156:2: note: in expansion of macro ‘X’
X(SET, source_qp, v->queue, mlx5_rte_flow_item_sq) \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_meter_color_set’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:24: warning: implicit declaration of function ‘rte_col_2_mlx5_col’; did you mean ‘rte_intr_rx_ctl’? [-Wimplicit-function-declaration]
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:2: note: in expansion of macro ‘X’
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:24: warning: nested extern declaration of ‘rte_col_2_mlx5_col’ [-Wnested-externs]
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:2: note: in expansion of macro ‘X’
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:44: error: dereferencing pointer to incomplete type ‘const struct rte_flow_item_meter_color’
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:25:12: note: in definition of macro ‘_DR_SET_32’
u32 _v = v; \
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:175:2: note: in expansion of macro ‘DR_SET’
DR_##set_type(tag, value, fc->byte_off, fc->bit_off, fc->bit_mask); \
^~~
../drivers/net/mlx5/hws/mlx5dr_definer.c:165:2: note: in expansion of macro ‘X’
X(SET, meter_color, rte_col_2_mlx5_col(v->color), rte_flow_item_meter_color)
^
../drivers/net/mlx5/hws/mlx5dr_definer.c:177:1: note: in expansion of macro ‘LIST_OF_FIELDS_INFO’
LIST_OF_FIELDS_INFO
^~~~~~~~~~~~~~~~~~~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_conv_item_gtp_psc’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:920:7: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘pdu_type’
if (m->pdu_type) {
^~
../drivers/net/mlx5/hws/mlx5dr_definer.c:933:7: error: ‘const struct rte_flow_item_gtp_psc’ has no member named ‘qfi’
if (m->qfi) {
^~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_conv_item_sq’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:1178:7: error: dereferencing pointer to incomplete type ‘const struct mlx5_rte_flow_item_sq’
if (m->queue) {
^~
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_conv_item_meter_color’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:1458:27: error: ‘RTE_FLOW_ITEM_TYPE_METER_COLOR’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’?
reg = flow_hw_get_reg_id(RTE_FLOW_ITEM_TYPE_METER_COLOR, 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_FLOW_ACTION_TYPE_METER_COLOR
../drivers/net/mlx5/hws/mlx5dr_definer.c:1458:27: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/hws/mlx5dr_definer.c: In function ‘mlx5dr_definer_conv_items_to_hl’:
../drivers/net/mlx5/hws/mlx5dr_definer.c:1541:8: error: ‘MLX5_RTE_FLOW_ITEM_TYPE_SQ’ undeclared (first use in this function); did you mean ‘MLX5_RTE_FLOW_ITEM_TYPE_TAG’?
case MLX5_RTE_FLOW_ITEM_TYPE_SQ:
^~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_RTE_FLOW_ITEM_TYPE_TAG
../drivers/net/mlx5/hws/mlx5dr_definer.c:1543:18: error: ‘MLX5_FLOW_ITEM_SQ’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ITEM_ESP’?
item_flags |= MLX5_FLOW_ITEM_SQ;
^~~~~~~~~~~~~~~~~
MLX5_FLOW_ITEM_ESP
../drivers/net/mlx5/hws/mlx5dr_definer.c:1582:8: error: ‘RTE_FLOW_ITEM_TYPE_METER_COLOR’ undeclared (first use in this function); did you mean ‘RTE_FLOW_ACTION_TYPE_METER_COLOR’?
case RTE_FLOW_ITEM_TYPE_METER_COLOR:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RTE_FLOW_ACTION_TYPE_METER_COLOR
../drivers/net/mlx5/hws/mlx5dr_definer.c:1584:18: error: ‘MLX5_FLOW_ITEM_METER_COLOR’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ITEM_OUTER_FLEX’?
item_flags |= MLX5_FLOW_ITEM_METER_COLOR;
^~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_FLOW_ITEM_OUTER_FLEX
[23/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_action.c.o
FAILED: drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_action.c.o
cc -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 -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-missing-field-initializers -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_hws_mlx5dr_action.c.o -MF drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_action.c.o.d -o drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_action.c.o -c ../drivers/net/mlx5/hws/mlx5dr_action.c
../drivers/net/mlx5/hws/mlx5dr_action.c: In function ‘mlx5dr_action_root_build_attr’:
../drivers/net/mlx5/hws/mlx5dr_action.c:279:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].type = MLX5DV_FLOW_ACTION_DEST_DEVX;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:279:8: error: dereferencing pointer to incomplete type ‘struct mlx5dv_flow_action_attr’
../drivers/net/mlx5/hws/mlx5dr_action.c:279:19: error: ‘MLX5DV_FLOW_ACTION_DEST_DEVX’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ACTION_SET_META’?
attr[i].type = MLX5DV_FLOW_ACTION_DEST_DEVX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_FLOW_ACTION_SET_META
../drivers/net/mlx5/hws/mlx5dr_action.c:279:19: note: each undeclared identifier is reported only once for each function it appears in
../drivers/net/mlx5/hws/mlx5dr_action.c:280:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].obj = action->devx_obj;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:283:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].type = MLX5DV_FLOW_ACTION_TAG;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:283:19: error: ‘MLX5DV_FLOW_ACTION_TAG’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ACTION_AGE’?
attr[i].type = MLX5DV_FLOW_ACTION_TAG;
^~~~~~~~~~~~~~~~~~~~~~
MLX5_FLOW_ACTION_AGE
../drivers/net/mlx5/hws/mlx5dr_action.c:284:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].tag_value = rule_actions[i].tag.value;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:292:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].type = MLX5DV_FLOW_ACTION_DROP;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:292:19: error: ‘MLX5DV_FLOW_ACTION_DROP’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ACTION_DROP’?
attr[i].type = MLX5DV_FLOW_ACTION_DROP;
^~~~~~~~~~~~~~~~~~~~~~~
MLX5_FLOW_ACTION_DROP
../drivers/net/mlx5/hws/mlx5dr_action.c:299:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].type = MLX5DV_FLOW_ACTION_IBV_FLOW_ACTION;
^
../drivers/net/mlx5/hws/mlx5dr_action.c:299:19: error: ‘MLX5DV_FLOW_ACTION_IBV_FLOW_ACTION’ undeclared (first use in this function); did you mean ‘MLX5_FLOW_ACTION_INC_TCP_ACK’?
attr[i].type = MLX5DV_FLOW_ACTION_IBV_FLOW_ACTION;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_FLOW_ACTION_INC_TCP_ACK
../drivers/net/mlx5/hws/mlx5dr_action.c:300:8: error: invalid use of undefined type ‘struct mlx5dv_flow_action_attr’
attr[i].action = action->flow_action;
^
../drivers/net/mlx5/hws/mlx5dr_action.c: In function ‘mlx5dr_action_conv_reformat_to_verbs’:
../drivers/net/mlx5/hws/mlx5dr_action.c:1102:4: error: ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2’ undeclared (first use in this function); did you mean ‘MLX5DR_ACTION_REFORMAT_TYPE_TNL_L3_TO_L2’?
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DR_ACTION_REFORMAT_TYPE_TNL_L3_TO_L2
../drivers/net/mlx5/hws/mlx5dr_action.c:1106:4: error: ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL’ undeclared (first use in this function); did you mean ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2’?
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2
../drivers/net/mlx5/hws/mlx5dr_action.c:1110:4: error: ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L3_TUNNEL_TO_L2’ undeclared (first use in this function); did you mean ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2’?
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L3_TUNNEL_TO_L2;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TUNNEL_TO_L2
../drivers/net/mlx5/hws/mlx5dr_action.c:1114:4: error: ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L3_TUNNEL’ undeclared (first use in this function); did you mean ‘MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL’?
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L3_TUNNEL;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DV_FLOW_ACTION_PACKET_REFORMAT_TYPE_L2_TO_L2_TUNNEL
../drivers/net/mlx5/hws/mlx5dr_action.c: In function ‘mlx5dr_action_conv_flags_to_ft_type’:
../drivers/net/mlx5/hws/mlx5dr_action.c:1123:14: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX’ undeclared (first use in this function); did you mean ‘MLX5DR_TABLE_TYPE_NIC_RX’?
*ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5DR_TABLE_TYPE_NIC_RX
../drivers/net/mlx5/hws/mlx5dr_action.c:1125:14: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX’ undeclared (first use in this function); did you mean ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX’?
*ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_RX
../drivers/net/mlx5/hws/mlx5dr_action.c:1127:14: error: ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_FDB’ undeclared (first use in this function); did you mean ‘MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX’?
*ft_type = MLX5_IB_UAPI_FLOW_TABLE_TYPE_FDB;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MLX5_IB_UAPI_FLOW_TABLE_TYPE_NIC_TX
../drivers/net/mlx5/hws/mlx5dr_action.c: In function ‘mlx5dr_action_destroy_root’:
../drivers/net/mlx5/hws/mlx5dr_action.c:1608:3: warning: implicit declaration of function ‘ibv_destroy_flow_action’; did you mean ‘ibv_destroy_flow’? [-Wimplicit-function-declaration]
ibv_destroy_flow_action(action->flow_action);
^~~~~~~~~~~~~~~~~~~~~~~
ibv_destroy_flow
../drivers/net/mlx5/hws/mlx5dr_action.c:1608:3: warning: nested extern declaration of ‘ibv_destroy_flow_action’ [-Wnested-externs]
[24/1624] Compiling C object drivers/libtmp_rte_net_mlx5.a.p/net_mlx5_hws_mlx5dr_pool.c.o
[25/1624] Generating rte_net_mlx4.sym_chk with a custom command (wrapped by meson to capture output)
[26/1624] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_nfpcore_nfp_nsp.c.o
[27/1624] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_nfpcore_nfp_cppcore.c.o
[28/1624] Compiling C object drivers/libtmp_rte_net_nfp.a.p/net_nfp_nfpcore_nfp_cpp_pcie_ops.c.o
[29/1624] Generating rte_net_ixgbe.sym_chk with a custom command (wrapped by meson to capture output)
ninja: build stopped: subcommand failed.
https://lab.dpdk.org/results/dashboard/patchsets/23806/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-06 15:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06 15:31 |FAILURE| pw117466-117481 [PATCH] [v2, 19/19] net/mlx5/hws: Enable HWS dpdklab
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).