========== 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/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/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/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/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/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/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/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_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/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 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/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/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/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/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_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_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/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 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:11: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' 272 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:278:4: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' 278 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT); | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:20: note: expanded from macro 'MLX5_SET' 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:45: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:52: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:83: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:10: note: expanded from macro 'MLX5_SET' 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^ ~~~ ../include/linux/mlx5/device.h:59:60: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:65: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:34: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 437 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:11: note: expanded from macro 'MLX5_SET' 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_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:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ 10 errors generated. 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/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/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.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_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/bridge_debugfs.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec_fs.c:4: 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/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/macsec_fs.c:9: 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/macsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_domain.c:410:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:419:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 419 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, tx)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:431:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 431 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, fdb)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ 4 errors generated. 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/en_accel/ipsec_fs.c:9: 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_accel/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_mcast.c:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge_mcast.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.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_accel/fs_tcp.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/ipsec_fs_roce.c:4: 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/ipsec_fs_roce.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_offload.c:9: 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_accel/ipsec_offload.o] Error 1 make[7]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:440: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:440: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:440: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:440: drivers] Error 2 make[2]: *** [/home/nipa/net-next/wt-0/Makefile:1989: .] Error 2 make[1]: *** [/home/nipa/net-next/wt-0/Makefile:251: __sub-make] Error 2 make: *** [Makefile:251: __sub-make] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/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 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_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/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/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/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/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/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/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/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/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/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/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/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/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/esw/ipsec_fs.c:4: 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/ipsec_fs.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/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/steering/sws/dr_rule.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_rule.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/context.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9: 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/steering/hws/context.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_buddy.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_buddy.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/steering/sws/dr_definer.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_definer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v3.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ste_v3.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c:9: 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_accel/ipsec_fs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_matcher.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_matcher.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_accel/fs_tcp.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_accel/fs_tcp.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_arg.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_arg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_table.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_table.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_send.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ste_v0.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ste_v2.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_icm_pool.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_domain.c:410:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:419:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 419 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, tx)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:431:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 431 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, fdb)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) | ^ 4 errors generated. 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.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/steering/sws/fs_dr.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 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: 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/lib/smfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_fw.o] Error 1 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:11: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' 279 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:285:4: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' 285 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT); | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:20: note: expanded from macro 'MLX5_SET' 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:45: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:52: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:83: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:10: note: expanded from macro 'MLX5_SET' 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^ ~~~ ../include/linux/mlx5/device.h:59:60: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:65: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:34: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:448:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:11: note: expanded from macro 'MLX5_SET' 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_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:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:77:20: note: expanded from macro 'MLX5_SET' 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:78:45: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ^ ~~~ ../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) | ^ ~~~ ../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:52: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:59:83: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:10: note: expanded from macro 'MLX5_SET' 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ^ ~~~ ../include/linux/mlx5/device.h:59:60: note: expanded from macro '__mlx5_dw_mask' 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) | ^ ~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:79:65: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) | ^ ../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:34: note: expanded from macro 'MLX5_SET' 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) | ^ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ~~~~~~~~~~^~~ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); | ^ ~~~~~~~~~~~~~ ../include/linux/mlx5/device.h:80:11: note: expanded from macro 'MLX5_SET' 80 | << __mlx5_dw_bit_off(typ, fld))); \ | ^ ~~~ ../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_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:52:35: note: expanded from macro '__mlx5_bit_off' 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) | ^ ~~~ ../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) | ^ ~~~~~~ ../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) | ^ ../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) | ^ ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:594:8: error: use of undeclared identifier 'TSAR_ELEMENT_TSAR_TYPE_TC_ARB'; did you mean 'TSAR_ELEMENT_TSAR_TYPE_DWRR'? 594 | TSAR_ELEMENT_TSAR_TYPE_TC_ARB, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | TSAR_ELEMENT_TSAR_TYPE_DWRR ../include/linux/mlx5/mlx5_ifc.h:4117:2: note: 'TSAR_ELEMENT_TSAR_TYPE_DWRR' declared here 4117 | TSAR_ELEMENT_TSAR_TYPE_DWRR = 0x0, | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. 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/en_accel/ipsec_offload.c:9: 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_accel/ipsec_offload.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/cmd.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9: 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/steering/hws/cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_debugfs.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge_debugfs.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_dbg.c:8: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_dbg.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_action.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_action.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ptrn.c:4: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ptrn.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ste_v1.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/steering/sws/dr_ste.c:6: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: 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/steering/sws/dr_ste.c:1461:22: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) | ^ 2 errors generated. 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/lib/macsec_fs.c:9: 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/macsec_fs.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/lib/ipsec_fs_roce.c:4: 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/ipsec_fs_roce.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/esw/bridge_mcast.c:7: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge_mcast.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:12: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h: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/bridge.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 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.pE3lVDxP9z 2024-12-10 01:12:20.199911966 -0800 +++ /tmp/tmp.8X0FdCVaj9 2024-12-10 01:13:09.684450352 -0800 @@ -0,0 +1,18 @@ +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 +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 @@ -10 +28,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 @@ -19 +44 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_counters.c:36: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/indir_table.c:14: @@ -26 +51,25 @@ -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/esw/indir_table.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/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/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 @@ -35,0 +85,33 @@ +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/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/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 @@ -50 +132 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c:37: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/rdma.c:10: @@ -57,2 +139,2 @@ -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/devlink.c:8: +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/en/rep/neigh.c:16: @@ -65,2 +147,2 @@ -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/en/fs_tt_redirect.c:5: +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/esw/ipsec_fs.c:4: @@ -73,4 +155,3 @@ -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/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: +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/en/tc/act/police.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_core.h:40: @@ -82,2 +163,10 @@ -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_ct.c:30: +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/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/steering/sws/dr_rule.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -90,2 +179,3 @@ -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/sample.c:13: +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/hws/context.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9: @@ -98,2 +188,3 @@ -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/en/tc/act/police.c:6: +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/dr_buddy.c:8: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -106,3 +197,2 @@ -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/lib/fs_chains.c:9: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/fs_ft_pool.h:8: +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/eswitch.c:47: @@ -115,2 +205,3 @@ -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/tc/post_act.c:8: +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/dr_definer.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -123,2 +214,4 @@ -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: +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/dr_ste_v3.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -131,2 +224,2 @@ -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/esw/indir_table.c:14: +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/en_accel/ipsec_fs.c:9: @@ -139,2 +232,3 @@ -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/esw/legacy.c:13: +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/dr_matcher.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -147,3 +241,4 @@ -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_fs_smfs.c:11: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.h:7: +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/en_accel/fs_tcp.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: @@ -154,2 +249,3 @@ -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_rep.c:53: +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/dr_arg.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -162,2 +258,3 @@ -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/eswitch_offloads_termtbl.c:7: +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/dr_table.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -170,3 +267,109 @@ -make[8]: *** [../scripts/Makefile.build:194: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.o] Error 1 -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:272:11: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' - 272 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, +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/dr_send.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_send.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_cmd.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_cmd.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v0.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_ste_v0.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v2.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_ste_v2.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_icm_pool.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_icm_pool.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_domain.c:410:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' + 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:419:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 419 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, tx)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' + 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:431:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 431 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, fdb)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' + 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) + | ^ +4 errors generated. +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.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/steering/sws/fs_dr.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 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/lib/smfs.c:7: +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/lib/smfs.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_fw.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/steering/sws/dr_fw.o] Error 1 +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:279:11: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' + 279 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT, @@ -174,2 +377,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:278:4: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' - 278 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT); +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:285:4: error: use of undeclared identifier 'SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT' + 285 | SCHEDULING_CONTEXT_ELEMENT_TYPE_RATE_LIMIT); @@ -177,2 +380,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' - 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:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -192,2 +395,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' - 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:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -214,2 +417,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' - 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:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -239,2 +442,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' - 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:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -264,2 +467,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' - 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:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -286,2 +489,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' - 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:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -308,2 +511,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' - 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:42: error: no member named 'max_bw_obj_id' in 'struct mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -330,2 +533,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:437:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' - 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:2: error: no member named 'max_bw_obj_id' in 'mlx5_ifc_scheduling_context_bits' + 448 | MLX5_SET(scheduling_context, sched_ctx, max_bw_obj_id, rate_limit_elem_ix); @@ -351 +554,183 @@ -10 errors generated. +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^ ~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:77:20: note: expanded from macro 'MLX5_SET' + 77 | *((__be32 *)(p) + __mlx5_dw_off(typ, fld)) = \ + | ^ ~~~ +../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^ ~~~ +../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^ ~~~ +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~~~ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^ ~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:78:45: note: expanded from macro 'MLX5_SET' + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ^ ~~~ +../include/linux/mlx5/device.h:54:34: note: expanded from macro '__mlx5_dw_off' + 54 | #define __mlx5_dw_off(typ, fld) (__mlx5_bit_off(typ, fld) / 32) + | ^ ~~~ +../include/linux/mlx5/device.h:52:35: note: expanded from macro '__mlx5_bit_off' + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^ ~~~ +note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ^ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:52: note: expanded from macro '__mlx5_dw_mask' + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^ +../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^ +../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ~~~~~~~~~~^~~ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:30: note: expanded from macro 'MLX5_SET' + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:59:83: note: expanded from macro '__mlx5_dw_mask' + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^ +../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ~~~~~~~~~~^~~ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^ ~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:10: note: expanded from macro 'MLX5_SET' + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ^ ~~~ +../include/linux/mlx5/device.h:59:60: note: expanded from macro '__mlx5_dw_mask' + 59 | #define __mlx5_dw_mask(typ, fld) (__mlx5_mask(typ, fld) << __mlx5_dw_bit_off(typ, fld)) + | ^ ~~~ +../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_bit_off' + 57 | #define __mlx5_dw_bit_off(typ, fld) (32 - __mlx5_bit_sz(typ, fld) - (__mlx5_bit_off(typ, fld) & 0x1f)) + | ^ ~~~ +note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~~~ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ^ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:79:65: note: expanded from macro 'MLX5_SET' + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:58:66: note: expanded from macro '__mlx5_mask' + 58 | #define __mlx5_mask(typ, fld) ((u32)((1ull << __mlx5_bit_sz(typ, fld)) - 1)) + | ^ +../include/linux/mlx5/device.h:51:59: note: expanded from macro '__mlx5_bit_sz' + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ~~~~~~~~~~^~~ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:31: error: no member named 'traffic_class' in 'struct mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:34: note: expanded from macro 'MLX5_SET' + 78 | cpu_to_be32((be32_to_cpu(*((__be32 *)(p) + __mlx5_dw_off(typ, fld))) & \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 79 | (~__mlx5_dw_mask(typ, fld))) | (((_v) & __mlx5_mask(typ, fld)) \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +../include/linux/mlx5/device.h:57:62: note: expanded from macro '__mlx5_dw_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:51:59: note: expanded from macro '__mlx5_bit_sz' + 51 | #define __mlx5_bit_sz(typ, fld) sizeof(__mlx5_nullp(typ)->fld) + | ^ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ~~~~~~~~~~^~~ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:517:2: error: no member named 'traffic_class' in 'mlx5_ifc_tsar_element_bits' + 517 | MLX5_SET(tsar_element, attr, traffic_class, tc); + | ^ ~~~~~~~~~~~~~ +../include/linux/mlx5/device.h:80:11: note: expanded from macro 'MLX5_SET' + 80 | << __mlx5_dw_bit_off(typ, fld))); \ + | ^ ~~~ +../include/linux/mlx5/device.h:57:70: note: expanded from macro '__mlx5_dw_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:52:35: note: expanded from macro '__mlx5_bit_off' + 52 | #define __mlx5_bit_off(typ, fld) (offsetof(struct mlx5_ifc_##typ##_bits, fld)) + | ^ ~~~ +../include/linux/stddef.h:16:32: note: expanded from macro 'offsetof' + 16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) + | ^ ~~~~~~ +../include/uapi/linux/byteorder/little_endian.h:40:53: note: expanded from macro '__cpu_to_be32' + 40 | #define __cpu_to_be32(x) ((__force __be32)__swab32((x))) + | ^ +../include/uapi/linux/swab.h:115:54: note: expanded from macro '__swab32' + 115 | #define __swab32(x) (__u32)__builtin_bswap32((__u32)(x)) + | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:594:8: error: use of undeclared identifier 'TSAR_ELEMENT_TSAR_TYPE_TC_ARB'; did you mean 'TSAR_ELEMENT_TSAR_TYPE_DWRR'? + 594 | TSAR_ELEMENT_TSAR_TYPE_TC_ARB, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + | TSAR_ELEMENT_TSAR_TYPE_DWRR +../include/linux/mlx5/mlx5_ifc.h:4117:2: note: 'TSAR_ELEMENT_TSAR_TYPE_DWRR' declared here + 4117 | TSAR_ELEMENT_TSAR_TYPE_DWRR = 0x0, + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. @@ -353 +738 @@ -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/en_accel/ipsec_offload.c:9: @@ -360,2 +745,3 @@ -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/rdma.c:10: +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/hws/cmd.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/hws/internal.h:9: @@ -368,2 +754,3 @@ -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: +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/esw/bridge_debugfs.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: @@ -376,2 +763,3 @@ -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.c:56: +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/dr_dbg.c:8: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -384,2 +772,3 @@ -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_tun_encap.c:8: +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/dr_action.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -392,3 +781,3 @@ -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/bridge_debugfs.c:6: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: +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/dr_ptrn.c:4: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -401,2 +790,4 @@ -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/esw/ipsec_fs.c:4: +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/dr_ste_v1.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste_v1.h:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -409,3 +800,2 @@ -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/esw/bridge.c:12: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: +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/eswitch_offloads_termtbl.c:7: @@ -418,2 +808,4 @@ -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/lib/macsec_fs.c:9: +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/dr_ste.c:6: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.h:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: @@ -425,4 +817,6 @@ -1 error generated. -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/dr_domain.c:6: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c:1461:22: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' + 1461 | else if (version == MLX5_STEERING_FORMAT_CONNECTX_8) + | ^ +2 errors generated. +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/lib/macsec_fs.c:9: @@ -434,21 +828,3 @@ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:410:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' - 410 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, rx)) - | ^ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' - 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) - | ^ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:419:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' - 419 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, tx)) - | ^ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' - 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) - | ^ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:431:8: error: use of undeclared identifier 'MLX5_STEERING_FORMAT_CONNECTX_8' - 431 | if (!DR_DOMAIN_SW_STEERING_SUPPORTED(dmn, fdb)) - | ^ -../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_domain.c:11:38: note: expanded from macro 'DR_DOMAIN_SW_STEERING_SUPPORTED' - 11 | (dmn)->info.caps.sw_format_ver <= MLX5_STEERING_FORMAT_CONNECTX_8)) - | ^ -4 errors generated. -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/en_accel/ipsec_fs.c:9: +1 error generated. +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/esw/legacy.c:13: @@ -461,3 +837,2 @@ -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/esw/bridge_mcast.c:7: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: +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/lib/ipsec_fs_roce.c:4: @@ -470,3 +845,2 @@ -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/dr_table.c:4: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_types.h:9: +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/en/tc_ct.c:30: @@ -479,2 +853,3 @@ -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/en_accel/fs_tcp.c:6: +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/esw/bridge_mcast.c:7: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: @@ -487,2 +862,3 @@ -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/ipsec_fs_roce.c:4: +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/esw/bridge.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge_priv.h:13: @@ -495,2 +871,2 @@ -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/en_accel/ipsec_offload.c:9: +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/eswitch_offloads.c:45: @@ -503 +879 @@ -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/eswitch_offloads.o] Error 1 @@ -508 +883,0 @@ -make[4]: *** Waiting for unfinished jobs.... Per-file breakdown --- /tmp/tmp.TYMkA6piKl 2024-12-10 01:13:09.697450231 -0800 +++ /tmp/tmp.EoOl2MOdAD 2024-12-10 01:13:09.701450194 -0800 @@ -1 +1 @@ - 10 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c + 19 ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c @@ -4 +4,2 @@ - 36 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h + 1 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_ste.c + 57 ../drivers/net/ethernet/mellanox/mlx5/core/steering/sws/mlx5dr.h