========== build_32bit - FAILED In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c:36: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_counters.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_core.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/devlink.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/devlink.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c:11: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c:13: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/rdma.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c: In function ‘dr_domain_caps_init’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:45: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:410:22: note: in expansion of macro ‘DR_DOMAIN_SW_STEERING_SUPPORTED’ 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c: In function ‘mlx5dr_ste_get_ctx’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:1461:29: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:164:1: error: control reaches end of non-void function [-Werror=return-type] 164 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_tc.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:45: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_rate_limit_element’: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:46: error: ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT’ undeclared (first use in this function); did you mean ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP’? 272 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:46: note: each undeclared identifier is reported only once for each function it appears in In file included from ../include/uapi/linux/posix_types.h:5, from ../include/uapi/linux/types.h:14, from ../include/linux/types.h:6, from ../include/linux/kasan-checks.h:5, from ../include/asm-generic/rwonce.h:26, from ./arch/x86/include/generated/asm/rwonce.h:1, from ../include/linux/compiler.h:324, from ../include/linux/array_size.h:5, from ../include/linux/kernel.h:16, from ../include/linux/skbuff.h:13, from ../include/linux/if_ether.h:19, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:36, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_create_sched_element’: ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ In file included from ../include/linux/swab.h:5, from ../include/uapi/linux/byteorder/little_endian.h:14, from ../include/linux/byteorder/little_endian.h:5, from ../arch/x86/include/uapi/asm/byteorder.h:5, from ../include/asm-generic/bitops/le.h:6, from ../arch/x86/include/asm/bitops.h:436, from ../include/linux/bitops.h:68, from ../include/linux/kernel.h:23: ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ ../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c:36: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_counters.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_rate_limit_element’: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:46: error: ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT’ undeclared (first use in this function); did you mean ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP’? 279 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:46: note: each undeclared identifier is reported only once for each function it appears in In file included from ../include/uapi/linux/posix_types.h:5, from ../include/uapi/linux/types.h:14, from ../include/linux/types.h:6, from ../include/linux/kasan-checks.h:5, from ../include/asm-generic/rwonce.h:26, from ./arch/x86/include/generated/asm/rwonce.h:1, from ../include/linux/compiler.h:324, from ../include/linux/array_size.h:5, from ../include/linux/kernel.h:16, from ../include/linux/skbuff.h:13, from ../include/linux/if_ether.h:19, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:36, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_create_sched_element’: ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ In file included from ../include/linux/swab.h:5, from ../include/uapi/linux/byteorder/little_endian.h:14, from ../include/linux/byteorder/little_endian.h:5, from ../arch/x86/include/uapi/asm/byteorder.h:5, from ../include/asm-generic/bitops/le.h:6, from ../arch/x86/include/asm/bitops.h:436, from ../include/linux/bitops.h:68, from ../include/linux/kernel.h:23: ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ ../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_vports_tc_node’: ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) | ^~~~~~~~ ../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ 95 | #define be32_to_cpu __be32_to_cpu | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^~~~~~~~~~~~~~~~~~ ../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ 94 | #define cpu_to_be32 __cpu_to_be32 | ^~~~~~~~~~~~~ ../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^~~~~~~~ ../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_tc_arbiter_sched_elem’: ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:594:43: error: ‘TSAR_ELEMENT_TSAR_TYPE_TC_ARB’ undeclared (first use in this function); did you mean ‘TSAR_ELEMENT_TSAR_TYPE_DWRR’? 594 | TSAR_ELEMENT_TSAR_TYPE_TC_ARB, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TSAR_ELEMENT_TSAR_TYPE_DWRR make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/devlink.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/devlink.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c: In function ‘dr_domain_caps_init’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:45: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:410:22: note: in expansion of macro ‘DR_DOMAIN_SW_STEERING_SUPPORTED’ 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_core.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38, from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:45: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/rdma.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c:13: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:164:1: error: control reaches end of non-void function [-Werror=return-type] 164 | } | ^ cc1: some warnings being treated as errors make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c:9: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c: In function ‘mlx5dr_ste_get_ctx’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:1461:29: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/debug.c:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/debug.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c:11: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_tc.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c:4: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MLX5_STEERING_FORMAT_CONNECTX_7 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 New errors added --- /tmp/tmp.v36sOvCXZR 2024-12-10 00:41:19.647414231 -0800 +++ /tmp/tmp.OVoTTHThoO 2024-12-10 00:41:51.026135880 -0800 @@ -3 +3,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: @@ -10 +11 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.o] Error 1 @@ -13,0 +15,10 @@ + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c:4: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, @@ -24 +35 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: @@ -31 +42,366 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_core.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_rate_limit_element’: +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:46: error: ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT’ undeclared (first use in this function); did you mean ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP’? + 279 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:46: note: each undeclared identifier is reported only once for each function it appears in +In file included from ../include/uapi/linux/posix_types.h:5, + from ../include/uapi/linux/types.h:14, + from ../include/linux/types.h:6, + from ../include/linux/kasan-checks.h:5, + from ../include/asm-generic/rwonce.h:26, + from ./arch/x86/include/generated/asm/rwonce.h:1, + from ../include/linux/compiler.h:324, + from ../include/linux/array_size.h:5, + from ../include/linux/kernel.h:16, + from ../include/linux/skbuff.h:13, + from ../include/linux/if_ether.h:19, + from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:36, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_create_sched_element’: +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ + 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +In file included from ../include/linux/swab.h:5, + from ../include/uapi/linux/byteorder/little_endian.h:14, + from ../include/linux/byteorder/little_endian.h:5, + from ../arch/x86/include/uapi/asm/byteorder.h:5, + from ../include/asm-generic/bitops/le.h:6, + from ../arch/x86/include/asm/bitops.h:436, + from ../include/linux/bitops.h:68, + from ../include/linux/kernel.h:23: +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ + 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) + | ^~~~~~~~ +../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ + 95 | #define be32_to_cpu __be32_to_cpu + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:9: note: in expansion of macro ‘MLX5_SET’ + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); + | ^~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_vports_tc_node’: +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ + 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ + 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) + | ^~~~~~~~ +../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ + 95 | #define be32_to_cpu __be32_to_cpu + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ^~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_tsar_element_bits’ has no member named ‘traffic_class’ + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^~~~~~~~~~~~~~~~~~ +../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ + 94 | #define cpu_to_be32 __cpu_to_be32 + | ^~~~~~~~~~~~~ +../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^~~~~~~~ +../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ^~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:9: note: in expansion of macro ‘MLX5_SET’ + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_tc_arbiter_sched_elem’: +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:594:43: error: ‘TSAR_ELEMENT_TSAR_TYPE_TC_ARB’ undeclared (first use in this function); did you mean ‘TSAR_ELEMENT_TSAR_TYPE_DWRR’? + 594 | TSAR_ELEMENT_TSAR_TYPE_TC_ARB, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | TSAR_ELEMENT_TSAR_TYPE_DWRR +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 @@ -34,2 +410 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36, - from ../drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c:7: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: @@ -42 +417 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.o] Error 1 @@ -45 +420,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: @@ -52 +428 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.o] Error 1 @@ -55,2 +431 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/devlink.c:8: @@ -63 +438,11 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/devlink.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 @@ -67 +452 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: @@ -74 +459 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.o] Error 1 @@ -77 +462,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.c:4: @@ -84 +470 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.o] Error 1 @@ -87,2 +473 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, - from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c:6: @@ -95 +480 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.o] Error 1 @@ -98,2 +483,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c:4: @@ -106 +491 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.o] Error 1 @@ -109 +494,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c:4: @@ -116 +502 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.o] Error 1 @@ -119 +505,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/devlink.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.c:8: @@ -126 +513 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/devlink.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.o] Error 1 @@ -129,2 +516 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.c:8: @@ -137 +523 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/post_act.o] Error 1 @@ -139,3 +525,3 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40, - from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38, - from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36, + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c:7: @@ -148 +534 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.o] Error 1 @@ -151 +537,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c:4: @@ -158 +545 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.o] Error 1 @@ -161 +548,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: @@ -168 +556 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.o] Error 1 @@ -171 +559,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: @@ -178 +567,8 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.o] Error 1 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c: In function ‘dr_domain_caps_init’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:45: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:410:22: note: in expansion of macro ‘DR_DOMAIN_SW_STEERING_SUPPORTED’ + 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.o] Error 1 @@ -182 +578 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.c:8: @@ -189 +585 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.o] Error 1 @@ -192 +588 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c:9: + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: @@ -199 +595 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_core.o] Error 1 @@ -203 +599 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.c:4: @@ -210 +606 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.o] Error 1 @@ -213 +609,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:4: @@ -220 +617 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.o] Error 1 @@ -223,2 +620 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: @@ -231,3 +627,6 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: @@ -240 +639 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.o] Error 1 @@ -244 +643,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c:4: @@ -251,3 +651,5 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.o] Error 1 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c:11: +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: @@ -260 +662 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.o] Error 1 @@ -263 +665,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c:5: @@ -270 +673 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.o] Error 1 @@ -273 +676 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c:13: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: @@ -280 +683,11 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.o] Error 1 @@ -293 +706,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: @@ -300 +714 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/rdma.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.o] Error 1 @@ -303,3 +717 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: @@ -312 +724,21 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38, + from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.o] Error 1 @@ -315 +747,3 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: @@ -322 +756 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.o] Error 1 @@ -325,2 +759 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:45: @@ -333 +766 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.o] Error 1 @@ -336 +769 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c:9: + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: @@ -343 +776 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.o] Error 1 @@ -346 +779,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: @@ -353 +787 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.o] Error 1 @@ -357 +791 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: @@ -364 +798 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.o] Error 1 @@ -368 +802 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: @@ -375 +809 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.o] Error 1 @@ -378 +812,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.c:4: @@ -385 +820 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/table.o] Error 1 @@ -388,3 +823,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.c:4: @@ -397 +831 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pool.o] Error 1 @@ -400,2 +834 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: @@ -408 +841 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/pat_arg.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch.o] Error 1 @@ -411,2 +844,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c:4: @@ -419 +852 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.o] Error 1 @@ -423 +856 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.c:4: @@ -430 +863 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc.o] Error 1 @@ -433,2 +866,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:4: @@ -441 +874 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.o] Error 1 @@ -444,2 +877 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: @@ -452 +884 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.o] Error 1 @@ -456 +888,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.c:6: @@ -463,8 +896 @@ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c: In function ‘dr_domain_caps_init’: -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:45: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? - 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:410:22: note: in expansion of macro ‘DR_DOMAIN_SW_STEERING_SUPPORTED’ - 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.o] Error 1 @@ -473,2 +899,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c:5: + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: @@ -481 +907 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.o] Error 1 @@ -484,3 +910 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: @@ -493 +917 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/rdma.o] Error 1 @@ -496,3 +920 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c:13: @@ -505,6 +927 @@ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c: In function ‘mlx5dr_ste_get_ctx’: -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:1461:29: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? - 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | MLX5_STEERING_FORMAT_CONNECTX_7 -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.o] Error 1 @@ -513,2 +930 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c:9: @@ -521 +937 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.o] Error 1 @@ -537,0 +954,22 @@ + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.c:4: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8, + from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40, @@ -539 +977 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c:4: @@ -546 +984 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.o] Error 1 @@ -549 +987 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:7: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c:9: @@ -556 +994 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.o] Error 1 @@ -560 +998,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: @@ -567 +1006,6 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.o] Error 1 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c: In function ‘mlx5dr_ste_get_ctx’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:1461:29: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.o] Error 1 @@ -570 +1014,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/debug.c:8: @@ -577 +1022 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/debug.o] Error 1 @@ -580,2 +1025,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: @@ -588 +1033 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 @@ -591 +1036 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: + from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:7: @@ -598 +1043 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_tc.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 @@ -601 +1046 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: @@ -608 +1053 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.o] Error 1 @@ -611 +1056 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:45: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: @@ -618 +1063,10 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.c:11: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h: In function ‘mlx5dr_is_supported’: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: error: ‘MLX5_STEERING_FORMAT_CONNECTX_8’ undeclared (first use in this function); did you mean ‘MLX5_STEERING_FORMAT_CONNECTX_7’? + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | MLX5_STEERING_FORMAT_CONNECTX_7 +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:19: note: each undeclared identifier is reported only once for each function it appears in +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/ct_fs_smfs.o] Error 1 @@ -621 +1075 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: @@ -628 +1082 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_tc.o] Error 1 @@ -631,2 +1085,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c:4: @@ -639,195 +1093 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_create_rate_limit_element’: -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:46: error: ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT’ undeclared (first use in this function); did you mean ‘SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP’? - 272 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - | SCHEDULING_CONTEXT_ELEMENT_TYPE_QUEUE_GROUP -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:46: note: each undeclared identifier is reported only once for each function it appears in -In file included from ../include/uapi/linux/posix_types.h:5, - from ../include/uapi/linux/types.h:14, - from ../include/linux/types.h:6, - from ../include/linux/kasan-checks.h:5, - from ../include/asm-generic/rwonce.h:26, - from ./arch/x86/include/generated/asm/rwonce.h:1, - from ../include/linux/compiler.h:324, - from ../include/linux/array_size.h:5, - from ../include/linux/kernel.h:16, - from ../include/linux/skbuff.h:13, - from ../include/linux/if_ether.h:19, - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.h:36, - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:4: -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c: In function ‘esw_qos_vport_tc_create_sched_element’: -../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) - | ^~~~~~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ - 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) - | ^~~~~~~~ -../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ - 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) - | ^~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:77:27: note: in expansion of macro ‘__mlx5_dw_off’ - 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ - | ^~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -In file included from ../include/linux/swab.h:5, - from ../include/uapi/linux/byteorder/little_endian.h:14, - from ../include/linux/byteorder/little_endian.h:5, - from ../arch/x86/include/uapi/asm/byteorder.h:5, - from ../include/asm-generic/bitops/le.h:6, - from ../arch/x86/include/asm/bitops.h:436, - from ../include/linux/bitops.h:68, - from ../include/linux/kernel.h:23: -../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) - | ^~~~~~~~~~~~~~~~~~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/uapi/linux/byteorder/little_endian.h:41:26: note: in expansion of macro ‘__swab32’ - 41 | #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x)) - | ^~~~~~~~ -../include/linux/byteorder/generic.h:95:21: note: in expansion of macro ‘__be32_to_cpu’ - 95 | #define be32_to_cpu __be32_to_cpu - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ - 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) - | ^~~~~~~~ -../include/linux/mlx5/device.h:54:34: note: in expansion of macro ‘__mlx5_bit_off’ - 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) - | ^~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:78:52: note: in expansion of macro ‘__mlx5_dw_off’ - 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ - | ^~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) - | ^~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ - 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:59:35: note: in expansion of macro ‘__mlx5_mask’ - 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) - | ^~~~~~~~~~~ -../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ - 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ - | ^~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) - | ^~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ - 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ - 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) - | ^~~~~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ - 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ - | ^~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) - | ^~~~~~~~~~~~~~~~~~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ - 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) - | ^~~~~~~~ -../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ - 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) - | ^~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:59:60: note: in expansion of macro ‘__mlx5_dw_bit_off’ - 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) - | ^~~~~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:79:24: note: in expansion of macro ‘__mlx5_dw_mask’ - 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ - | ^~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) - | ^~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:58:47: note: in expansion of macro ‘__mlx5_bit_sz’ - 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:79:62: note: in expansion of macro ‘__mlx5_mask’ - 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ - | ^~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/mlx5/device.h:51:57: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) - | ^~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:57:43: note: in expansion of macro ‘__mlx5_bit_sz’ - 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ - 80 | << __mlx5_dw_bit_off(typ, fld))); \ - | ^~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -../include/linux/stddef.h:16:33: error: ‘struct mlx5_ifc_scheduling_context_bits’ has no member named ‘max_bw_obj_id’ - 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) - | ^~~~~~~~~~~~~~~~~~ -../include/uapi/linux/swab.h:115:54: note: in definition of macro ‘__swab32’ - 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) - | ^ -../include/linux/byteorder/generic.h:94:21: note: in expansion of macro ‘__cpu_to_be32’ - 94 | #define cpu_to_be32 __cpu_to_be32 - | ^~~~~~~~~~~~~ -../include/linux/mlx5/device.h:52:35: note: in expansion of macro ‘offsetof’ - 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) - | ^~~~~~~~ -../include/linux/mlx5/device.h:57:70: note: in expansion of macro ‘__mlx5_bit_off’ - 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) - | ^~~~~~~~~~~~~~ -../include/linux/mlx5/device.h:80:25: note: in expansion of macro ‘__mlx5_dw_bit_off’ - 80 | << __mlx5_dw_bit_off(typ, fld))); \ - | ^~~~~~~~~~~~~~~~~ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:9: note: in expansion of macro ‘MLX5_SET’ - 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); - | ^~~~~~~~ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.o] Error 1 @@ -836,3 +1096,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: @@ -845 +1104 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.o] Error 1 Per-file breakdown --- /tmp/tmp.RaBEonnsHt 2024-12-10 00:41:51.081135392 -0800 +++ /tmp/tmp.iHFIThIbSW 2024-12-10 00:41:51.096135259 -0800 @@ -1 +1 @@ - 1 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c + 2 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c @@ -4,3 +4,3 @@ - 61 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h - 4 ../include/linux/mlx5/device.h - 4 ../include/linux/stddef.h + 69 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h + 8 ../include/linux/mlx5/device.h + 8 ../include/linux/stddef.h