========== build_clang - FAILED In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_core.c:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_counters.c:36: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_cmd.c:37: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/main.c:53: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ ../drivers/net/ethernet/mellanox/mlx5/core/main.c:249:46: warning: shift count >= width of type [-Wshift-count-overflow] 249 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. 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/en/fs_tt_redirect.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/devlink.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/lib/sd.c:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.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/main.c:53: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ ../drivers/net/ethernet/mellanox/mlx5/core/main.c:249:46: warning: shift count >= width of type [-Wshift-count-overflow] 249 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 1 warning and 1 error generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_ft_pool.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_counters.c:36: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:38: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/../fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc/act/police.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en_rep.c:53: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/esw/indir_table.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/eswitch_offloads_termtbl.c:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_cmd.c:37: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/fs_core.c:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/lib/sd.c:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/devlink.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/lib/fs_chains.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/rep/neigh.c:16: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en_tc.c:56: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc/post_act.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/eswitch_offloads.c:45: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/rdma.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/eswitch.c:47: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc_tun_encap.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/esw/legacy.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc_ct.c:30: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc/ct_fs_smfs.c:11: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. 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/en/tc/sample.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); | ^ 1 error generated. make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.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.HR0LkVQZlm 2024-12-10 01:08:05.507287855 -0800 +++ /tmp/tmp.nGrIEQE4h8 2024-12-10 01:08:50.122871660 -0800 @@ -0,0 +1,23 @@ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/main.c:249:46: warning: shift count >= width of type [-Wshift-count-overflow] + 249 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' + 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +1 warning and 1 error generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/main.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 @@ -10 +33,8 @@ -make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c:36: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_counters.o] Error 1 @@ -20 +50 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/police.c:6: @@ -27,2 +57,2 @@ -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/fs_counters.c:36: +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/en_rep.c:53: @@ -35 +65,17 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/fs_counters.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/eswitch_offloads_termtbl.c:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 @@ -44 +90 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/main.c:53: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.c:40: @@ -50,9 +96,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/main.c:249:46: warning: shift count >= width of type [-Wshift-count-overflow] - 249 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); - | ^~~~~~~~~~~~~~~~ -../include/linux/dma-mapping.h:73:54: note: expanded from macro 'DMA_BIT_MASK' - 73 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) - | ^ ~~~ -1 warning and 1 error generated. -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/en/fs_tt_redirect.c:5: +1 error generated. +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/lib/sd.c:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36: @@ -65 +106 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/fs_tt_redirect.o] Error 1 +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/lib/sd.o] Error 1 @@ -74,2 +115,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c:7: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h:36: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c:9: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8: @@ -82 +123,88 @@ -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/lib/fs_chains.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en/rep/neigh.c:16: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en_tc.c:56: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en/tc/post_act.c:8: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/eswitch_offloads.c:45: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/rdma.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/eswitch.c:47: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en/tc_tun_encap.c:8: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/esw/legacy.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en/tc_ct.c:30: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en/tc/ct_fs_smfs.c:11: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +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/en/tc/sample.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/fs_dr.h:8: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h:163:5: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 163 | MLX5_STEERING_FORMAT_CONNECTX_8))); + | ^ +1 error generated. +make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/en/tc/sample.o] Error 1 Per-file breakdown --- /tmp/tmp.v0acFTiIlK 2024-12-10 01:08:50.156871343 -0800 +++ /tmp/tmp.kyTwVWFqHj 2024-12-10 01:08:50.172871194 -0800 @@ -2 +2 @@ - 9 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h + 25 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h