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 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_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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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_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_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/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/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_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/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/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_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/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/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/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/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 ../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/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/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/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/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/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.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_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/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_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_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/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/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/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/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/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/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/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/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/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/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/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/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_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/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_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 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[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/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/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.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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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_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/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/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.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_complex.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/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/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/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/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/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_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/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/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/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_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/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/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_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/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/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/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/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/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/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/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/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_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/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_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/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/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_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/hws/internal.h:9, from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.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/vport.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 ../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/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/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/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_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/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/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_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/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/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 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[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.oKLZd7mVQ4 2024-12-10 01:55:24.818702137 -0800 +++ /tmp/tmp.yOLZdypyto 2024-12-10 01:56:14.513187661 -0800 @@ -3 +3,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c: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: @@ -10 +11 @@ -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/fs_ft_pool.o] Error 1 @@ -13,0 +15,11 @@ + 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, @@ -24,2 +36 @@ - 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/fs_core.c:40: @@ -32 +43 @@ -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/fs_core.o] Error 1 @@ -34,3 +45,2 @@ - 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.c:37: @@ -43 +53 @@ -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/fs_cmd.o] Error 1 @@ -74,0 +85,11 @@ + 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, @@ -76 +97 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: @@ -83 +104 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.o] Error 1 @@ -87 +108 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: @@ -94 +115 @@ -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/lib/fs_chains.o] Error 1 @@ -97 +118 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: @@ -104,3 +125,4 @@ -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/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/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/en/tc/act/police.c:6: @@ -113 +135 @@ -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/en/tc/act/police.o] Error 1 @@ -116 +138 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c:7: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.c:13: @@ -123 +145 @@ -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/tc/sample.o] Error 1 @@ -126 +148 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: @@ -133 +155,31 @@ -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/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/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/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/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 @@ -146 +198,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: @@ -153 +206 @@ -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/esw/bridge_debugfs.o] Error 1 @@ -156 +209 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: @@ -163 +216 @@ -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/en_tc.o] Error 1 @@ -166 +219 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/esw/legacy.c:13: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c:8: @@ -173 +226 @@ -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/en/tc_tun_encap.o] Error 1 @@ -176 +229 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c:30: @@ -183 +236 @@ -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/en/tc_ct.o] Error 1 @@ -186 +239 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: + from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: @@ -193 +246 @@ -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/rdma.o] Error 1 @@ -196 +249,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: @@ -203 +257 @@ -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/esw/bridge.o] Error 1 @@ -206 +260,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:56: + 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: @@ -213 +268 @@ -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/steering/sws/dr_matcher.o] Error 1 @@ -216 +271,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c:45: + 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: @@ -223 +279,8 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.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 @@ -227 +290 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.c:4: @@ -234 +297,10 @@ -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/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 @@ -238 +310 @@ - 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: @@ -245 +317 @@ -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 @@ -248 +320,2 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c:4: @@ -255 +328 @@ -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/hws/bwc_complex.o] Error 1 @@ -269,2 +342,2 @@ - 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/steering/sws/dr_types.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: @@ -277 +350 @@ -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/steering/sws/dr_icm_pool.o] Error 1 @@ -280,2 +353 @@ - 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/sws/fs_dr.c:6: @@ -288 +360,5 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.o] Error 1 +../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 @@ -291 +367,3 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.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_v1.c:6: @@ -298 +376 @@ -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/steering/sws/dr_ste_v1.o] Error 1 @@ -301,2 +379 @@ - 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: + from ../drivers/net/ethernet/mellanox/mlx5/core/eswitch.c:47: @@ -309 +386 @@ -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/eswitch.o] Error 1 @@ -312 +389,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_cmd.c:4: @@ -319 +397 @@ -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_cmd.o] Error 1 @@ -333,3 +411,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/bwc.c:4: @@ -342 +419,23 @@ -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/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/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/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 @@ -357 +456,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.h:7, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: @@ -364 +464,6 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_rule.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 @@ -367,2 +472,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/pat_arg.c:4: @@ -375 +480,23 @@ -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/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_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/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 @@ -379 +506 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/buddy.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/action.c:4: @@ -386 +513,34 @@ -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/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/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/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/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 @@ -401 +561 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_definer.c:4: @@ -408 +568,98 @@ -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/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/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_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/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_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/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/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_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/hws/internal.h:9, + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.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/vport.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 @@ -410,2 +667,2 @@ -../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, +../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, @@ -414 +671 @@ -../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 +../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 @@ -441,2 +698,2 @@ -../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); +../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); @@ -476,2 +733,2 @@ -../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); +../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); @@ -497,2 +754,2 @@ -../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); +../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); @@ -518,2 +775,2 @@ -../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); +../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); @@ -542,2 +799,2 @@ -../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); +../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); @@ -560,2 +817,2 @@ -../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); +../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); @@ -578,2 +835,2 @@ -../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); +../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); @@ -599,2 +856,111 @@ -../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); +../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); @@ -601,0 +968,62 @@ +../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 @@ -605,11 +1032,0 @@ - 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, @@ -617 +1034 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: @@ -624 +1041 @@ -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_action.o] Error 1 @@ -627,2 +1044 @@ - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: @@ -635 +1051 @@ -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/lib/ipsec_fs_roce.o] Error 1 @@ -639,22 +1055 @@ - 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/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.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/debug.c:8: @@ -667 +1062 @@ -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/steering/hws/debug.o] Error 1 @@ -670,3 +1065,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_v2.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13, + from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: @@ -679 +1073 @@ -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/esw/bridge_mcast.o] Error 1 @@ -693,45 +1086,0 @@ - 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_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/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/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, @@ -739,34 +1088 @@ - 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/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/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/steering/hws/internal.h:9, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.c:4: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.c:4: @@ -779 +1095 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/matcher.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/definer.o] Error 1 @@ -792,11 +1108 @@ - 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/en_accel/ipsec_offload.c:9: + from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:53: @@ -809 +1115 @@ -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/en_rep.o] Error 1 @@ -813,87 +1119 @@ - 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/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/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/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_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/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_ste.h:7, - from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:6: + from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/rule.c:4: @@ -906,6 +1126 @@ -../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/steering/hws/rule.o] Error 1 Per-file breakdown --- /tmp/tmp.oWVzgwb41c 2024-12-10 01:56:14.550187278 -0800 +++ /tmp/tmp.qyaIDRsvl2 2024-12-10 01:56:14.562187153 -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 @@ - 67 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h - 4 ../include/linux/mlx5/device.h - 4 ../include/linux/stddef.h + 71 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h + 8 ../include/linux/mlx5/device.h + 8 ../include/linux/stddef.h